-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #160 from usimd/main
Add service account token secret I ran some tests last recently against IKS/ROKS > 1.24 and it ran fine without this change so lets keep it as is for now and we can apply the updates as folks in other environments update.
- Loading branch information
Showing
4 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{{- if .Values.serviceAccount.useToken }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ default "core-dump-service-account-token" .Values.serviceAccount.tokenSecretName }} | ||
annotations: | ||
kubernetes.io/service-account.name: {{ include "core-dump-handler.serviceAccountName" . }} | ||
type: kubernetes.io/service-account-token | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters