mirror of https://github.com/kubernetes/kops.git
Fix AWS authentication separator to support multiple objects
Otherwise the objects overwrite each other, because YAML.
This commit is contained in:
parent
0047f4dbe5
commit
27c223af25
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue