Create secrets along with SAs

Starting with Kubernetes 1.24, secrets are no longer automatically
created for SAs. This adds secrets to the relevant templates; creating
secrets in this way is supported in all Kubernetes versions.

This also enables testing with 1.24 in CI, to make sure that the fix
actually works.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
This commit is contained in:
Stephen Kitt authored and Thomas Pantelis committed 2022-07-07 11:54:23 -04:00
1 parent d3a4507650
commit c605528741
5 files changed
+61 -4

No files matched your search

+1
View File
@@ -21,6 +21,7 @@ jobs:
include:
- k8s_version: '1.21'
- k8s_version: '1.22'
- k8s_version: '1.24'
steps:
- name: Check out the repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b