File tree Expand file tree Collapse file tree 5 files changed +9
-6
lines changed
charts/microservice-chart
tests/v8-java-helm-complete-test-bar/helm Expand file tree Collapse file tree 5 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ Specify a name of the secret to pull the image from a private registry.
235235
236236` ` ` yaml
237237 imagePullSecret:
238- - name: NAME_OF_IMAGE_PULL_SECRET
238+ name: NAME_OF_IMAGE_PULL_SECRET
239239` ` `
240240
241241# ## `configMapFromFile`: load file defined inside internal value configMap and mount in a pod as file
Original file line number Diff line number Diff line change 11# microservice-chart
22
3- ![ Version: 8.1.1 ] ( https://img.shields.io/badge/Version-8.1.1 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 0.0.0] ( https://img.shields.io/badge/AppVersion-0.0.0-informational?style=flat-square )
3+ ![ Version: 8.1.2 ] ( https://img.shields.io/badge/Version-8.1.2 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 0.0.0] ( https://img.shields.io/badge/AppVersion-0.0.0-informational?style=flat-square )
44
55A Helm chart for PagoPA microservice
66
@@ -53,7 +53,7 @@ A Helm chart for PagoPA microservice
5353| image.pullPolicy | string | ` "Always" ` | Pull policy to use |
5454| image.repository | string | ` "" ` | Docker reposity for the container |
5555| image.tag | string | ` "v0.0.0" ` | Container TAG |
56- | imagePullSecrets | list | ` [] ` | imagePullSecrets: use a Secret to pull an image from a private container image registry or repository |
56+ | imagePullSecrets | object | ` {"name":""} ` | imagePullSecrets: use a Secret to pull an image from a private container image registry or repository |
5757| ingress | object | - | Ingress configuration |
5858| ingress.annotations | map | ` {} ` | custom annotations for ingress |
5959| ingress.create | bool | ` false ` | Create or not the ingress manifest |
Original file line number Diff line number Diff line change @@ -261,10 +261,12 @@ spec:
261261 {{- with .Values.sidecars }}
262262 {{- toYaml . | nindent 8 }}
263263 {{- end }}
264- {{- if not (empty .Values.imagePullSerets) }}
264+ {{- if and .Values.imagePullSecrets (kindIs "map" .Values.imagePullSecrets) -}}
265+ {{- if .Values.imagePullSecrets.name }}
265266 imagePullSecrets :
266267 - name : {{ .Values.imagePullSecrets.name }}
267268 {{- end }}
269+ {{- end }}
268270 {{- if .Values.initContainers }}
269271 initContainers :
270272 {{- range .Values.initContainers }}
Original file line number Diff line number Diff line change 5454 pullPolicy : Always
5555
5656# -- imagePullSecrets: use a Secret to pull an image from a private container image registry or repository
57- imagePullSecrets : []
57+ imagePullSecrets :
58+ name : " "
5859
5960# -- Sidecars, each object has exactly the same schema as a Pod, except it does not have an apiVersion or kind
6061sidecars : []
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ version: 1.0.0
66appVersion : 1.0.0
77dependencies :
88- name : microservice-chart
9- version : 8.1.1
9+ version : 8.1.2
1010 repository : file://../../../charts/microservice-chart
You can’t perform that action at this time.
0 commit comments