Files
cluster-api-provider-proxmox/config/default/webhookcainjection_patch.yaml
Vic Kerr 45f5888c41 Initial open source release
Co-authored-by: Felix Wischke <felix.wischke@ionos.com>
Co-authored-by: Jonas Bender <90411737+jonas-be@users.noreply.github.com>
Co-authored-by: Ludwig Bedacht <132355999+lubedacht@users.noreply.github.com>
Co-authored-by: Mario Valderrama <15158349+avorima@users.noreply.github.com>
Co-authored-by: Mohamed Chiheb Ben jemaa <mohamed-chiheb.ben-jemaa@ionos.com>
Co-authored-by: Vic Kerr <318870+wikkyk@users.noreply.github.com>
2023-11-29 14:17:03 +00:00

31 lines
1.3 KiB
YAML

---
# This patch add annotation to admission webhook config and
# CERTIFICATE_NAMESPACE and CERTIFICATE_NAME will be substituted by kustomize
# apiVersion: admissionregistration.k8s.io/v1
# kind: MutatingWebhookConfiguration
# metadata:
# labels:
# app.kubernetes.io/name: mutatingwebhookconfiguration
# app.kubernetes.io/instance: mutating-webhook-configuration
# app.kubernetes.io/component: webhook
# app.kubernetes.io/created-by: cluster-api-provider-proxmox
# app.kubernetes.io/part-of: cluster-api-provider-proxmox
# app.kubernetes.io/managed-by: kustomize
# name: mutating-webhook-configuration
# annotations:
# cert-manager.io/inject-ca-from: CERTIFICATE_NAMESPACE/CERTIFICATE_NAME
# ---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
labels:
app.kubernetes.io/name: validatingwebhookconfiguration
app.kubernetes.io/instance: validating-webhook-configuration
app.kubernetes.io/component: webhook
app.kubernetes.io/created-by: cluster-api-provider-proxmox
app.kubernetes.io/part-of: cluster-api-provider-proxmox
app.kubernetes.io/managed-by: kustomize
name: validating-webhook-configuration
annotations:
cert-manager.io/inject-ca-from: CERTIFICATE_NAMESPACE/CERTIFICATE_NAME