@@ -6,7 +6,7 @@ metadata:
66  labels :
77    app : ldap 
88spec :
9-   replicas : {{ .Values.ldap. replicas }} 
9+   replicas : {{ .Values.replicas }} 
1010  selector :
1111    matchLabels :
1212      app : ldap 
@@ -19,10 +19,10 @@ spec:
1919    spec :
2020      containers :
2121      - name : ldap 
22-         image : {{ .Values.ldap. image.repository }}:{{ .Values.ldap .image.tag }} 
23-         imagePullPolicy : {{ .Values.ldap. image.pullPolicy }} 
22+         image : {{ .Values.image.repository }}:{{ .Values.image.tag }} 
23+         imagePullPolicy : {{ .Values.image.pullPolicy }} 
2424        resources :
25-           {{ toYaml .Values.ldap. resources | nindent 10 }} 
25+           {{ toYaml .Values.resources | nindent 10 }} 
2626        ports :
2727          - containerPort : 389 
2828            name : tcp 
@@ -32,17 +32,17 @@ spec:
3232          mountPath : /usr/local/etc/haproxy/haproxy.cfg 
3333          subPath : haproxy.cfg 
3434      terminationGracePeriodSeconds : 10 
35-       {{- if .Values.ldap. nodeSelector }} 
35+       {{- if .Values.nodeSelector }} 
3636      nodeSelector :
37-         {{ toYaml .Values.ldap. nodeSelector | nindent 8 }} 
37+         {{ toYaml .Values.nodeSelector | nindent 8 }} 
3838      {{- end }} 
39-       {{- if .Values.ldap. tolerations }} 
39+       {{- if .Values.tolerations }} 
4040      tolerations :
41-         {{ toYaml .Values.ldap. tolerations | nindent 8 }} 
41+         {{ toYaml .Values.tolerations | nindent 8 }} 
4242      {{- end }} 
43-       {{- if .Values.ldap. affinity }} 
43+       {{- if .Values.affinity }} 
4444      affinity :
45-         {{ toYaml .Values.ldap. affinity | nindent 8 }} 
45+         {{ toYaml .Values.affinity | nindent 8 }} 
4646      {{- end }} 
4747      volumes :
4848      - name : ldap-config 
0 commit comments