diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-08 19:38:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 19:38:56 +0200 |
commit | 6d8bafe57a65970ead17a83cb1983629b3a2aedb (patch) | |
tree | 435ee20371ce34db117386cff0b7622d71be4f02 /test/e2e | |
parent | 7e2f002b0751c2c24e9c243495cbc313d0c3c103 (diff) | |
parent | 71978b0a0c7f6a8e1a6a482b7f8dd105b371d3de (diff) | |
download | podman-6d8bafe57a65970ead17a83cb1983629b3a2aedb.tar.gz podman-6d8bafe57a65970ead17a83cb1983629b3a2aedb.tar.bz2 podman-6d8bafe57a65970ead17a83cb1983629b3a2aedb.zip |
Merge pull request #15607 from fpoirotte/main
Fix #15243 Set AutomountServiceAccountToken to false
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/generate_kube_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/e2e/generate_kube_test.go b/test/e2e/generate_kube_test.go index a4cbf64e0..39acff6dc 100644 --- a/test/e2e/generate_kube_test.go +++ b/test/e2e/generate_kube_test.go @@ -73,6 +73,8 @@ var _ = Describe("Podman generate kube", func() { Expect(pod).To(HaveField("Name", "top-pod")) enableServiceLinks := false Expect(pod.Spec).To(HaveField("EnableServiceLinks", &enableServiceLinks)) + automountServiceAccountToken := false + Expect(pod.Spec).To(HaveField("AutomountServiceAccountToken", &automountServiceAccountToken)) numContainers := 0 for range pod.Spec.Containers { @@ -169,6 +171,8 @@ var _ = Describe("Podman generate kube", func() { Expect(pod.Spec).To(HaveField("HostNetwork", false)) enableServiceLinks := false Expect(pod.Spec).To(HaveField("EnableServiceLinks", &enableServiceLinks)) + automountServiceAccountToken := false + Expect(pod.Spec).To(HaveField("AutomountServiceAccountToken", &automountServiceAccountToken)) numContainers := 0 for range pod.Spec.Containers { |