Skip to content
New issue

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

rule is not using vault sidecar agent #441

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions kyverno/policies/pods/injectSidecar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -642,3 +644,6 @@ spec:
volumes:
- name: vault-aws-credentials
emptyDir: {}
- name: vault-tls
configMap:
name: vault-tls
Loading