mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Allow adding custom ldif files to the openldap chart (#7396)
* Update deployment.yaml Updated deployment.yaml file in order to provide the desired argument `--copy-service` to start the ldap docker image so that a user of the chart can override the basis ldif file with another provided as an argument when installing the chart. Signed-off-by: ehardon <elena.hardon@ness.com> * Added precondition for applying copy argument Added precondition for the `--copy-service` argument so that it won't be applied if no custom ldif files are provided. Signed-off-by: Elena Hardon <elena.hardon@ness.com> Signed-off-by: ehardon <elena.hardon@ness.com> * Updated chart version Signed-off-by: Elena Hardon elena.hardon@ness.com Signed-off-by: ehardon <elena.hardon@ness.com> * bump version Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
8eab01b3d3
commit
75b25e3355
@@ -1,6 +1,6 @@
|
||||
name: openldap
|
||||
home: https://www.openldap.org
|
||||
version: 0.2.3
|
||||
version: 0.2.4
|
||||
appVersion: 2.4.44
|
||||
description: Community developed LDAP software
|
||||
icon: http://www.openldap.org/images/headers/LDAPworm.gif
|
||||
|
||||
@@ -42,6 +42,9 @@ spec:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{- if .Values.customLdifFiles }}
|
||||
args: [--copy-service]
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: ldap-port
|
||||
containerPort: 389
|
||||
|
||||
Reference in New Issue
Block a user