mirror of
https://github.com/hanzo-ml/spark-operator.git
synced 2026-10-30 20:39:07 +00:00
* Use controller-runtime to reconstruct spark operator Signed-off-by: Yi Chen <[email protected]> * Update helm charts Signed-off-by: Yi Chen <[email protected]> * Update examples Signed-off-by: Yi Chen <[email protected]> --------- Signed-off-by: Yi Chen <[email protected]>
26 lines
993 B
YAML
26 lines
993 B
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: spark-operator
|
|
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: spark-operator
|
|
app.kubernetes.io/part-of: spark-operator
|
|
app.kubernetes.io/managed-by: kustomize
|
|
name: validating-webhook-configuration
|
|
annotations:
|
|
cert-manager.io/inject-ca-from: CERTIFICATE_NAMESPACE/CERTIFICATE_NAME
|