Skip to content
Snippets Groups Projects
Unverified Commit 93fe3e06 authored by David Louks's avatar David Louks Committed by GitHub
Browse files

Add support for including annotations on aws-ebs-csi-controller (#8779)

* Add support for including annotations on aws-ebs-csi-controller

* update comment to specify role arn
parent 9d3a8949
No related branches found
No related tags found
No related merge requests found
......@@ -4,3 +4,8 @@ aws_ebs_csi_enable_volume_snapshot: false
aws_ebs_csi_enable_volume_resizing: false
aws_ebs_csi_controller_replicas: 1
aws_ebs_csi_plugin_image_tag: latest
# Add annotions to ebs_csi_controller. Useful if using kube2iam for role assumption
# aws_ebs_csi_annotations:
# - key: iam.amazonaws.com/role
# value: your-ebs-role-arn
......@@ -15,6 +15,12 @@ spec:
labels:
app: ebs-csi-controller
app.kubernetes.io/name: aws-ebs-csi-driver
{% if aws_ebs_csi_annotations is defined %}
annotations:
{% for annotation in aws_ebs_csi_annotations %}
{{ annotation.key }}: {{ annotation.value }}
{% endfor %}
{% endif %}
spec:
nodeSelector:
kubernetes.io/os: linux
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment