Skip to content

Commit

Permalink
UPSTREAM: <carry>: e2e protected annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezl committed Jul 29, 2024
1 parent 721b466 commit 0b5a41b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions openshift-hack/e2e/include.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import (
_ "k8s.io/kubernetes/test/e2e/storage/csi_mock"
_ "k8s.io/kubernetes/test/e2e/storage/external"
_ "k8s.io/kubernetes/test/e2e/windows"
_ "k8s.io/kubernetes/test/extended/admission"

// reconfigure framework
_ "k8s.io/kubernetes/test/e2e/framework/debug/init"
Expand Down
14 changes: 14 additions & 0 deletions test/extended/admission/protected_annotations.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package admission

import (
g "github.com/onsi/ginkgo/v2"
o "github.com/onsi/gomega"
)

var _ = g.Describe("[sig-luis] protected metadata", func() {
g.When("update by a service account", func() {
g.It("fails", func() {
o.Expect(true).To(o.BeTrue())
})
})
})

0 comments on commit 0b5a41b

Please sign in to comment.