Open Abhishek-Srivastava opened 4 years ago
Update: Deleting the pvc (which uses local-path) and mounting the new one on the crashing pod makes the pod start. My PVC.yaml
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: openldap2
namespace: dev
labels:
app: openldap
chart: openldap-v0.0.6
release: openldap
spec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: "16Gi"
I was having a similar issue. What I tracked it down to was the helm chart was defaulting to hdb where as this image now defaults to mdb. When I did a trace log I found that the start up script was trying to add RootPW to the hdb file which didn't exist. When I changed the LDAP_BACKEND to mdb in my values.yml the issue dissapeared.
The only image which works for me is v1.2.2. I am deploying this image in kubernetes with the charts published here: https://github.com/helm/charts/tree/master/stable/openldap
What am I missing?