mirror of
https://github.com/clastix/kamaji.git
synced 2026-02-14 18:10:03 +00:00
59 lines
1.5 KiB
YAML
59 lines
1.5 KiB
YAML
# Adds namespace to all resources.
|
|
namespace: kamaji-system
|
|
|
|
# Value of this field is prepended to the
|
|
# names of all resources, e.g. a deployment named
|
|
# "wordpress" becomes "alices-wordpress".
|
|
# Note that it should also match with the prefix (text before '-') of the namespace
|
|
# field above.
|
|
namePrefix: kamaji-
|
|
|
|
# Labels to add to all resources and selectors.
|
|
commonLabels:
|
|
cluster.x-k8s.io/provider: "kamaji-core"
|
|
|
|
bases:
|
|
- ../crd
|
|
- ../rbac
|
|
- ../manager
|
|
- ../samples
|
|
- ../webhook
|
|
- ../certmanager
|
|
- ../prometheus
|
|
|
|
patchesStrategicMerge:
|
|
# Mount the controller config file for loading manager configurations
|
|
# through a ComponentConfig type
|
|
#- manager_config_patch.yaml
|
|
- manager_webhook_patch.yaml
|
|
- webhookcainjection_patch.yaml
|
|
|
|
# the following config is for teaching kustomize how to do var substitution
|
|
vars:
|
|
- name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
|
|
objref:
|
|
kind: Certificate
|
|
group: cert-manager.io
|
|
version: v1
|
|
name: serving-cert # this name should match the one in certificate.yaml
|
|
fieldref:
|
|
fieldpath: metadata.namespace
|
|
- name: CERTIFICATE_NAME
|
|
objref:
|
|
kind: Certificate
|
|
group: cert-manager.io
|
|
version: v1
|
|
name: serving-cert # this name should match the one in certificate.yaml
|
|
- name: SERVICE_NAMESPACE # namespace of the service
|
|
objref:
|
|
kind: Service
|
|
version: v1
|
|
name: webhook-service
|
|
fieldref:
|
|
fieldpath: metadata.namespace
|
|
- name: SERVICE_NAME
|
|
objref:
|
|
kind: Service
|
|
version: v1
|
|
name: webhook-service
|