Add basic mapping for aws-iam-auth

This commit is contained in:
Stefan Reimer 2021-01-11 20:41:12 +00:00
parent ce7645cb57
commit d7091434db
2 changed files with 12 additions and 0 deletions

View File

@ -151,3 +151,14 @@ spec:
- name: state
hostPath:
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

View File

@ -13,6 +13,7 @@ do
then
echo "Processing chart dependencies"
rm -rf $dir/tmpcharts
rm -rf $dir/charts/*.tgz
helm dependency update --skip-refresh $dir
fi