From b24cba1223a1a3bd90798063a635374da838a01f Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Wed, 20 Mar 2019 10:39:03 -0700 Subject: [PATCH] Make secret optional --- deploy/kubernetes/controller.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy/kubernetes/controller.yaml b/deploy/kubernetes/controller.yaml index 0a76ef8a0a..3e31624e4e 100644 --- a/deploy/kubernetes/controller.yaml +++ b/deploy/kubernetes/controller.yaml @@ -188,11 +188,13 @@ spec: secretKeyRef: name: aws-secret key: key_id + optional: true - name: AWS_SECRET_ACCESS_KEY valueFrom: secretKeyRef: name: aws-secret key: access_key + optional: true volumeMounts: - name: socket-dir mountPath: /var/lib/csi/sockets/pluginproxy/