You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently if vault-agent-injector is down, we can't create any pods in the cluster even if they're not reliant on vault;
Describe the solution you'd like
Leverage matchConditions field of the MutatingWebhookConfiguration to only match the mutating webhook to pods that have the vault.hashicorp.com/agent-inject annotation
ex:
matchConditions:
- name: include-vault-pods
expression: "has(object.metadata.annotations) && 'vault.hashicorp.com/agent-inject' in object.metadata.annotations"
Describe alternatives you've considered
Ignore on specific namespaces, ex kube-system but this isn't ideal because it blocks using vault-agent-injector in those namespaces
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently if vault-agent-injector is down, we can't create any pods in the cluster even if they're not reliant on vault;
Describe the solution you'd like
Leverage
matchConditions
field of the MutatingWebhookConfiguration to only match the mutating webhook to pods that have thevault.hashicorp.com/agent-inject
annotationex:
Describe alternatives you've considered
Ignore on specific namespaces, ex
kube-system
but this isn't ideal because it blocks using vault-agent-injector in those namespacesThe text was updated successfully, but these errors were encountered: