Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cluster-api-aws: add additional nodegroup IAM role policy #186

Merged
merged 1 commit into from
Jun 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cluster-api-aws/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ description: A chart to install Kubernetes cluster using Cluster API Provider AW

type: application

version: 0.8.2
version: 0.8.3

appVersion: "1.0.0"
4 changes: 4 additions & 0 deletions cluster-api-aws/templates/machine-pool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ spec:
minSize: {{ .minSize }}
remoteAccess:
sshKeyName: {{ $envAll.Values.sshKeyName }}
{{- with .roleAdditionalPolicies }}
roleAdditionalPolicies:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- else }}
kind: AWSMachinePool
metadata:
Expand Down
2 changes: 2 additions & 0 deletions cluster-api-aws/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ machinePool: []
# size: 200
# subnets: []
# labels: []
# roleAdditionalPolicies:
# - "arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy"
# **this version dosen't support the spot instance, because the aws cluster api provider doesn't support it in awsmachinpool**
# useSpotInstance: #spotMarketOptions:
# enabled: false
Expand Down