25 lines
982 B
Diff
25 lines
982 B
Diff
|
diff -tuNr charts/aws-ebs-csi-driver.orig/templates/controller.yaml charts/aws-ebs-csi-driver/templates/controller.yaml
|
||
|
--- charts/aws-ebs-csi-driver.orig/templates/controller.yaml 2021-08-12 10:46:10.000000000 +0200
|
||
|
+++ charts/aws-ebs-csi-driver/templates/controller.yaml 2021-09-07 15:13:47.497732918 +0200
|
||
|
@@ -114,6 +114,9 @@
|
||
|
volumeMounts:
|
||
|
- name: socket-dir
|
||
|
mountPath: /var/lib/csi/sockets/pluginproxy/
|
||
|
+ - name: aws-token
|
||
|
+ mountPath: "/var/run/secrets/sts.amazonaws.com/serviceaccount/"
|
||
|
+ readOnly: true
|
||
|
ports:
|
||
|
- name: healthz
|
||
|
containerPort: 9808
|
||
|
@@ -252,3 +255,10 @@
|
||
|
volumes:
|
||
|
- name: socket-dir
|
||
|
emptyDir: {}
|
||
|
+ - name: aws-token
|
||
|
+ projected:
|
||
|
+ sources:
|
||
|
+ - serviceAccountToken:
|
||
|
+ path: token
|
||
|
+ expirationSeconds: 86400
|
||
|
+ audience: "sts.amazonaws.com"
|