diff --git a/kyverno/policies/pods/injectSidecar.yaml b/kyverno/policies/pods/injectSidecar.yaml index 05e1455d..c57fccab 100644 --- a/kyverno/policies/pods/injectSidecar.yaml +++ b/kyverno/policies/pods/injectSidecar.yaml @@ -617,13 +617,15 @@ spec: env: - name: AWS_SHARED_CREDENTIALS_FILE value: "/etc/aws/credentials" - - name: VAULT_CAURL - value: "http://vault-ca-cert.sys-vault:8100" + - name: VAULT_CACERT + value: "/etc/tls/ca.crt" - name: VAULT_ADDR value: "https://vault.sys-vault:8200" volumeMounts: - name: vault-aws-credentials mountPath: /etc/aws + - name: vault-tls + mountPath: /etc/tls - (name): "*" env: - name: AWS_SHARED_CREDENTIALS_FILE @@ -642,3 +644,6 @@ spec: volumes: - name: vault-aws-credentials emptyDir: {} + - name: vault-tls + configMap: + name: vault-tls