Fix AWS authentication separator to support multiple objects

Otherwise the objects overwrite each other, because YAML.
This commit is contained in:
justinsb 2021-11-19 09:34:22 -05:00
parent 0047f4dbe5
commit 27c223af25
1 changed files with 1 additions and 1 deletions

View File

@ -213,8 +213,8 @@ spec:
hostPath:
path: /srv/kubernetes/aws-iam-authenticator/
{{- if and (and (.Authentication.Aws.BackendMode) (contains "CRD" .Authentication.Aws.BackendMode)) (.Authentication.Aws.IdentityMappings) }}
---
{{- range $i, $mapping := .Authentication.Aws.IdentityMappings }}
---
apiVersion: iamauthenticator.k8s.aws/v1alpha1
kind: IAMIdentityMapping
metadata: