-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(auth): allow aws access key authentication
feat(chart): add values for aws token auth feat(config): use enum for credentials mode fix(config): typo docs(auth): add doc on how to use access token fix(auth): make aws-role-arn and aws-token mutually exclusive and required fix(config): replace unreachable with a panic fix(config): remove unneeded traits
- Loading branch information
1 parent
13a7ffe
commit 673a7b2
Showing
8 changed files
with
144 additions
and
33 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
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,16 @@ | ||
{{- if and .Values.aws.accessKeyId .Values.aws.secretAccessKey }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ include "iam-eks-user.aws.secretName" . }} | ||
namespace: kube-system | ||
labels: | ||
{{- include "iam-eks-user.labels" . | nindent 4 }} | ||
{{- with .Values.extraLabels }} | ||
{{ toYaml . | indent 4 }} | ||
{{- end }} | ||
type: Opaque | ||
data: | ||
AWS_ACCESS_KEY_ID: {{ .Values.aws.accessKeyId | b64enc | quote }} | ||
AWS_SECRET_ACCESS_KEY: {{ .Values.aws.secretAccessKey | b64enc | quote }} | ||
{{- 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
Oops, something went wrong.