nineskeletor/misc/k8s/kustomization/base/resources/openldap/kustomization.yaml

22 lines
369 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- openldap-deployment.yaml
- openldap-service.yaml
vars:
- name: OPENLDAP_SERVICE_NAME
objref:
name: openldap
apiVersion: v1
kind: Service
fieldref:
fieldpath: metadata.name
secretGenerator:
- name: openldap-secret
literals:
- "adminpassword=openldap"