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
This commit is contained in:
parent
9d3a894991
commit
93fe3e06ef
2 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue