Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix e2e-test for Kubernetes 1.24+ #281

Merged
merged 1 commit into from
Jun 12, 2022
Merged

Fix e2e-test for Kubernetes 1.24+ #281

merged 1 commit into from
Jun 12, 2022

Conversation

int128
Copy link
Owner

@int128 int128 commented Jun 12, 2022

Since Kubernetes 1.24, a token of service account is not automatically created.
https://stackoverflow.com/questions/72256006/service-account-secret-is-not-listed-how-to-fix-it

@github-actions
Copy link
Contributor

diff

  • e2e_test/default_v1_secret_tester-token.yaml (New)

e2e_test/default_v1_secret_tester-token.yaml

--- /dev/null
+++ b/tmp/kustomize-action-kYxngd/e2e_test/default_v1_secret_tester-token.yaml
@@ -0,0 +1,7 @@
+apiVersion: v1
+kind: Secret
+metadata:
+  annotations:
+    kubernetes.io/service-account.name: tester
+  name: tester-token
+type: kubernetes.io/service-account-token

@github-actions
Copy link
Contributor

e2e-test

screenshot

@int128 int128 marked this pull request as ready for review June 12, 2022 06:54
@int128 int128 merged commit f274d3c into master Jun 12, 2022
@int128 int128 deleted the fix-e2e-test branch June 12, 2022 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant