certificate overhaul

This commit is contained in:
2023-03-25 15:06:58 -05:00
parent c7fef651b2
commit 42e154c6ab
18 changed files with 406 additions and 166 deletions

18
k8s/webhook.yaml Normal file
View File

@@ -0,0 +1,18 @@
---
apiVersion: admissionregistration.k8s.io/v1beta1
kind: MutatingWebhookConfiguration
metadata:
name: pod-mutation
webhooks:
- name: pod-mutation.default.svc
clientConfig:
service:
name: webhook
namespace: default
path: "/api/v1/mutate/pod"
rules:
- operations: ["CREATE", ]
apiGroups: [""]
apiVersions: ["v1"]
resources: ["pods"]
failurePolicy: Ignore