Add basic mapping for aws-iam-auth
This commit is contained in:
parent
ce7645cb57
commit
d7091434db
@ -151,3 +151,14 @@ spec:
|
|||||||
- name: state
|
- name: state
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/aws-iam-authenticator/
|
path: /var/aws-iam-authenticator/
|
||||||
|
---
|
||||||
|
apiVersion: iamauthenticator.k8s.aws/v1alpha1
|
||||||
|
kind: IAMIdentityMapping
|
||||||
|
metadata:
|
||||||
|
name: kubernetes-admin
|
||||||
|
spec:
|
||||||
|
# Arn of the User or Role to be allowed to authenticate
|
||||||
|
arn: {{ .Values.kubeAdminRole }}
|
||||||
|
username: kubernetes-admin
|
||||||
|
groups:
|
||||||
|
- system:masters
|
||||||
|
@ -13,6 +13,7 @@ do
|
|||||||
then
|
then
|
||||||
echo "Processing chart dependencies"
|
echo "Processing chart dependencies"
|
||||||
rm -rf $dir/tmpcharts
|
rm -rf $dir/tmpcharts
|
||||||
|
rm -rf $dir/charts/*.tgz
|
||||||
helm dependency update --skip-refresh $dir
|
helm dependency update --skip-refresh $dir
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user