-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(KIEM): move auth token to K8s secret
Signed-off-by: Rudraksh Pareek <[email protected]>
- Loading branch information
1 parent
19edd10
commit 8fb5584
Showing
4 changed files
with
30 additions
and
5 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
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,10 @@ | ||
{{- if (.Values.accuknox.secretName | empty) }} | ||
# if user didn't specify a secretName, use the default | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: kiem-job-auth-token | ||
namespace: {{ .Release.Namespace }} | ||
data: | ||
AUTH_TOKEN: {{ .Values.accuknox.authToken | b64enc }} | ||
{{- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ accuknox: | |
cronTab: "30 9 * * *" | ||
clusterName: "" | ||
label: "" | ||
secretName: "" |