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

22 lines
369 B
YAML
Raw Normal View History

2023-06-26 09:20:23 +02:00
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"