mirror of
https://github.com/1Password/onepassword-operator.git
synced 2025-10-22 07:28:06 +00:00
24 lines
591 B
YAML
24 lines
591 B
YAML
apiVersion: admissionregistration.k8s.io/v1beta1
|
|
kind: MutatingWebhookConfiguration
|
|
metadata:
|
|
name: op-secret-injector-webhook-config
|
|
labels:
|
|
app: op-secret-injector
|
|
webhooks:
|
|
- name: op-secret-injector.1password
|
|
failurePolicy: Fail
|
|
clientConfig:
|
|
service:
|
|
name: op-secret-injector-webhook-service
|
|
namespace: op-secret-injector
|
|
path: "/inject"
|
|
caBundle: ${CA_BUNDLE}
|
|
rules:
|
|
- operations: ["CREATE", "UPDATE"]
|
|
apiGroups: [""]
|
|
apiVersions: ["v1"]
|
|
resources: ["pods"]
|
|
namespaceSelector:
|
|
matchLabels:
|
|
op-secret-injection: enabled
|