Skip to content

Commit

Permalink
Feature/adds support for image pull secrets in open ldap deployment (#…
Browse files Browse the repository at this point in the history
…122)

* Adds support for configuring imagePullSecrets in OpenLDAP deployment

* Adds support for configuring imagePullSecrets in OpenLDAP deployment

---------

Co-authored-by: FelipeAFV <[email protected]>
  • Loading branch information
FelipeAFV and FelipeAFV authored Jun 19, 2024
1 parent 9063681 commit 9b2d816
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/terrakube/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.17.3
version: 3.17.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 4 additions & 0 deletions charts/terrakube/templates/deployment-openldap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ spec:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secret-openldap.yaml") . | sha256sum }}
spec:
{{- with .Values.openldap.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: terrakube-openldap
image: {{ .Values.openldap.image }}:{{ .Values.openldap.version }}
Expand Down
1 change: 1 addition & 0 deletions charts/terrakube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ security:

## OpenLdap
openldap:
imagePullSecrets: []
image: "bitnami/openldap"
version: "2.6.4-debian-11-r4"
podLabels: {}
Expand Down

0 comments on commit 9b2d816

Please sign in to comment.