23 lines
599 B
YAML
23 lines
599 B
YAML
---
|
|
apiVersion: admissionregistration.k8s.io/v1
|
|
kind: MutatingWebhookConfiguration
|
|
metadata:
|
|
{{- if .Capabilities.APIVersions.Has "cert-manager.io/v1" }}
|
|
annotations:
|
|
cert-manager.io/inject-ca-from: {{ $.Release.Namespace }}/{{ $.Chart.Name }}
|
|
{{- end }}
|
|
labels:
|
|
{{- include "labels" $ | nindent 4 }}
|
|
name: {{ $.Chart.Name }}
|
|
webhooks:
|
|
- admissionReviewVersions: ["v1"]
|
|
clientConfig:
|
|
service:
|
|
name: {{ $.Chart.Name }}
|
|
namespace: {{ $.Release.Namespace }}
|
|
name: reef.inaccel.com
|
|
objectSelector:
|
|
matchLabels:
|
|
inaccel/fpga: enabled
|
|
sideEffects: None
|