You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.3 KiB
52 lines
1.3 KiB
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
resources:
|
|
- cluster-role-binding.yaml
|
|
- cluster-role.yaml
|
|
- deployment.yaml
|
|
- mutating-webhook-configuration.yaml
|
|
- service-account.yaml
|
|
- service.yaml
|
|
- crd.yaml
|
|
commonLabels:
|
|
app: poddefaults
|
|
kustomize.component: poddefaults
|
|
app.kubernetes.io/component: poddefaults
|
|
app.kubernetes.io/name: poddefaults
|
|
images:
|
|
- name: ghcr.io/kubeflow/kubeflow/poddefaults-webhook
|
|
newName: ghcr.io/kubeflow/kubeflow/poddefaults-webhook
|
|
newTag: v1.10.0
|
|
namespace: kubeflow
|
|
generatorOptions:
|
|
disableNameSuffixHash: true
|
|
vars:
|
|
# These vars are used to substitute in the namespace, service name and
|
|
# deployment name into the mutating WebHookConfiguration.
|
|
# Since its a CR kustomize isn't aware of those fields and won't
|
|
# transform them.
|
|
# We need the var names to be relatively unique so that when we
|
|
# compose with other applications they won't conflict.
|
|
- fieldref:
|
|
fieldPath: metadata.namespace
|
|
name: podDefaultsNamespace
|
|
objref:
|
|
apiVersion: v1
|
|
kind: Service
|
|
name: service
|
|
- fieldref:
|
|
fieldPath: metadata.name
|
|
name: podDefaultsServiceName
|
|
objref:
|
|
apiVersion: v1
|
|
kind: Service
|
|
name: service
|
|
- fieldref:
|
|
fieldPath: metadata.name
|
|
name: podDefaultsDeploymentName
|
|
objref:
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
name: deployment
|
|
configurations:
|
|
- params.yaml
|
|
|