We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The CSI pod sidecar vault agent does not use a custom CA for connecting to an external vault.
To Reproduce Steps to reproduce the behavior:
global: enabled: false tlsDisable: false externalVaultAddr: "https://external-vault.home" csi: enabled: true extraArgs: - -vault-tls-ca-cert=/vault/tls/ca.crt hmacSecretName: "" volumes: - name: tls secret: secretName: vault-ca-cert volumeMounts: - name: tls mountPath: "/vault/tls" readOnly: true
Agent pods log :
2024-01-26T21:01:58.757Z [INFO] agent.apiproxy: received request: method=POST path=/v1/auth/prod-k8s/login 2024-01-26T21:01:58.757Z [INFO] agent.apiproxy: forwarding request to Vault: method=POST path=/v1/auth/prod-k8s/login 2024-01-26T21:01:58.763Z [ERROR] agent.apiproxy.client: request failed: error="Post \"https://external-vault.home/v1/auth/prod-k8s/login\": tls: failed to verify certificate: x509: certificate signed by unknown authority" method=POST url=https://external-vault.home/v1/auth/prod-k8s/login
Expected behavior Agent pod should use /vault/tls/ca.crt in order to execute a TLS connection.
/vault/tls/ca.crt
Workaround add csi.agent.enabled=false
Environment
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The CSI pod sidecar vault agent does not use a custom CA for connecting to an external vault.
To Reproduce
Steps to reproduce the behavior:
Agent pods log :
Expected behavior
Agent pod should use
/vault/tls/ca.crt
in order to execute a TLS connection.Workaround
add csi.agent.enabled=false
Environment
The text was updated successfully, but these errors were encountered: