Generate and deploy OpenLDAP secrets and manifests in Kubernetes
mainTo deploy OpenLDAP to a Kubernetes cluster using local YAML files, follow these steps:
- Generate the initial example files:
make example - Edit the YAML files located in the
environmentdirectory to set your desired parameters. - Generate the secret file from your environment configuration:
make ldap-secret.yaml - Deploy the generated secret to Kubernetes:
kubectl apply -f ldap-secret.yaml - Deploy the OpenLDAP deployment manifest:
kubectl apply -f ldap-deployment.yaml - Deploy the OpenLDAP service manifest:
kubectl apply -f ldap-service.yaml
make example
make ldap-secret.yaml
kubectl apply -f ldap-secret.yaml
kubectl apply -f ldap-deployment.yaml
kubectl apply -f ldap-service.yaml