Sylvain Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame] | 1 | {{/* |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 2 | # Copyright (c) 2017 Amdocs, Bell Canada |
| 3 | # Modifications Copyright (c) 2018 AT&T |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 4 | # Modifications Copyright (c) 2020 Nokia, Orange |
Sylvain Desbureaux | 331f004 | 2021-01-18 11:38:49 +0100 | [diff] [blame] | 5 | # Modifications Copyright (c) 2021 Orange |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 6 | # |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
Sylvain Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame] | 18 | */}} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 19 | |
| 20 | apiVersion: apps/v1 |
| 21 | kind: Deployment |
| 22 | metadata: |
| 23 | name: {{ include "common.fullname" . }} |
| 24 | namespace: {{ include "common.namespace" . }} |
| 25 | labels: |
| 26 | app: {{ include "common.name" . }} |
| 27 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 28 | release: {{ include "common.release" . }} |
| 29 | heritage: {{ .Release.Service }} |
| 30 | spec: |
| 31 | replicas: {{ .Values.replicaCount }} |
M.Hosnidokht | 15fea93 | 2021-08-25 09:08:40 -0400 | [diff] [blame] | 32 | minReadySeconds: {{ .Values.minReadySeconds }} |
| 33 | strategy: |
| 34 | type: {{ .Values.updateStrategy.type }} |
| 35 | rollingUpdate: |
| 36 | maxUnavailable: {{ .Values.updateStrategy.maxUnavailable }} |
| 37 | maxSurge: {{ .Values.updateStrategy.maxSurge }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 38 | selector: |
| 39 | matchLabels: |
| 40 | app: {{ include "common.name" . }} |
| 41 | template: |
| 42 | metadata: |
| 43 | labels: |
| 44 | app: {{ include "common.name" . }} |
| 45 | release: {{ include "common.release" . }} |
| 46 | name: {{ include "common.name" . }} |
| 47 | annotations: |
| 48 | checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} |
Sylvain Desbureaux | 331f004 | 2021-01-18 11:38:49 +0100 | [diff] [blame] | 49 | {{- if .Values.global.msbEnabled }} |
| 50 | {{ $values := .Values }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 51 | msb.onap.org/service-info: '[ |
Sylvain Desbureaux | 331f004 | 2021-01-18 11:38:49 +0100 | [diff] [blame] | 52 | {{- range $api_endpoint := $values.aai_enpoints -}} |
| 53 | {{- range $api_version := $values.api_list }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 54 | { |
Sylvain Desbureaux | 331f004 | 2021-01-18 11:38:49 +0100 | [diff] [blame] | 55 | "serviceName": "_{{ $api_endpoint.name }}", |
| 56 | "version": "v{{ $api_version }}", |
| 57 | "url": "/aai/v{{ $api_version }}/{{ $api_endpoint.url }}", |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 58 | "protocol": "REST", |
| 59 | "port": "8446", |
| 60 | "enable_ssl": true, |
| 61 | "lb_policy":"ip_hash", |
| 62 | "visualRange": "1", |
Sylvain Desbureaux | 331f004 | 2021-01-18 11:38:49 +0100 | [diff] [blame] | 63 | "path": "/aai/v{{ $api_version }}/{{ $api_endpoint.url }}" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 64 | }, |
| 65 | { |
Sylvain Desbureaux | 331f004 | 2021-01-18 11:38:49 +0100 | [diff] [blame] | 66 | "serviceName": "{{ $api_endpoint.name }}", |
| 67 | "version": "v{{ $api_version }}", |
| 68 | "url": "/aai/v{{ $api_version }}/{{ $api_endpoint.url }}", |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 69 | "protocol": "REST", |
| 70 | "port": "8446", |
| 71 | "enable_ssl": true, |
| 72 | "lb_policy":"ip_hash", |
Sylvain Desbureaux | 331f004 | 2021-01-18 11:38:49 +0100 | [diff] [blame] | 73 | "visualRange": "1" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 74 | }, |
Sylvain Desbureaux | 331f004 | 2021-01-18 11:38:49 +0100 | [diff] [blame] | 75 | {{- end }} |
| 76 | {{- end }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 77 | { |
| 78 | "serviceName": "_aai-named-query", |
| 79 | "url": "/aai/search", |
| 80 | "protocol": "REST", |
| 81 | "port": "8446", |
| 82 | "enable_ssl": true, |
| 83 | "lb_policy":"ip_hash", |
| 84 | "visualRange": "1", |
| 85 | "path": "/aai/search" |
| 86 | }, |
| 87 | { |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 88 | "serviceName": "aai-named-query", |
| 89 | "url": "/aai/search", |
| 90 | "protocol": "REST", |
| 91 | "port": "8446", |
| 92 | "enable_ssl": true, |
| 93 | "lb_policy":"ip_hash", |
| 94 | "visualRange": "1" |
| 95 | } |
| 96 | ]' |
Sylvain Desbureaux | 331f004 | 2021-01-18 11:38:49 +0100 | [diff] [blame] | 97 | {{- end }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 98 | spec: |
| 99 | hostname: aai-traversal |
M.Hosnidokht | 15fea93 | 2021-08-25 09:08:40 -0400 | [diff] [blame] | 100 | terminationGracePeriodSeconds: {{ .Values.service.terminationGracePeriodSeconds }} |
Sylvain Desbureaux | a41dfc0 | 2021-02-15 10:14:22 +0100 | [diff] [blame] | 101 | initContainers: {{ include "common.certInitializer.initContainer" . | nindent 6 }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 102 | - command: |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 103 | - /app/ready.py |
| 104 | args: |
Sylvain Desbureaux | a41dfc0 | 2021-02-15 10:14:22 +0100 | [diff] [blame] | 105 | {{- if .Values.global.jobs.migration.enabled }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 106 | - --job-name |
| 107 | - {{ include "common.release" . }}-aai-graphadmin-migration |
Sylvain Desbureaux | a41dfc0 | 2021-02-15 10:14:22 +0100 | [diff] [blame] | 108 | {{- else }} |
| 109 | {{- if .Values.global.jobs.createSchema.enabled }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 110 | - --job-name |
| 111 | - {{ include "common.release" . }}-aai-graphadmin-create-db-schema |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 112 | {{- else }} |
Sylvain Desbureaux | a41dfc0 | 2021-02-15 10:14:22 +0100 | [diff] [blame] | 113 | - --container-name |
| 114 | {{- if .Values.global.cassandra.localCluster }} |
| 115 | - aai-cassandra |
| 116 | {{- else }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 117 | - cassandra |
Sylvain Desbureaux | a41dfc0 | 2021-02-15 10:14:22 +0100 | [diff] [blame] | 118 | {{- end }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 119 | - --container-name |
| 120 | - aai-schema-service |
Sylvain Desbureaux | a41dfc0 | 2021-02-15 10:14:22 +0100 | [diff] [blame] | 121 | {{- end }} |
| 122 | {{- end }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 123 | env: |
| 124 | - name: NAMESPACE |
| 125 | valueFrom: |
| 126 | fieldRef: |
| 127 | apiVersion: v1 |
| 128 | fieldPath: metadata.namespace |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 129 | image: {{ include "repositoryGenerator.image.readiness" . }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 130 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 131 | name: {{ include "common.name" . }}-readiness |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 132 | containers: |
| 133 | - name: {{ include "common.name" . }} |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 134 | image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 135 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
Sylvain Desbureaux | a41dfc0 | 2021-02-15 10:14:22 +0100 | [diff] [blame] | 136 | command: |
| 137 | - sh |
| 138 | args: |
| 139 | - -c |
| 140 | - | |
| 141 | echo "*** retrieve Truststore and Keystore password" |
| 142 | export $(cat {{ .Values.certInitializer.credsPath }}/mycreds.prop | xargs -0) |
| 143 | echo "*** actual launch of AAI Resources" |
| 144 | /bin/bash /opt/app/aai-traversal/docker-entrypoint.sh |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 145 | env: |
Sylvain Desbureaux | a41dfc0 | 2021-02-15 10:14:22 +0100 | [diff] [blame] | 146 | - name: TRUSTORE_ALL_PASSWORD |
Sylvain Desbureaux | 6b83dab | 2021-02-23 16:03:21 +0100 | [diff] [blame] | 147 | value: {{ .Values.certInitializer.truststorePassword }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 148 | - name: DISABLE_UPDATE_QUERY |
| 149 | value: {{ .Values.config.disableUpdateQuery | quote }} |
| 150 | - name: LOCAL_USER_ID |
| 151 | value: {{ .Values.global.config.userId | quote }} |
| 152 | - name: LOCAL_GROUP_ID |
| 153 | value: {{ .Values.global.config.groupId | quote }} |
M.Hosnidokht | 15fea93 | 2021-08-25 09:08:40 -0400 | [diff] [blame] | 154 | - name: INTERNAL_PORT_1 |
| 155 | value: {{ .Values.service.internalPort | quote }} |
| 156 | - name: INTERNAL_PORT_2 |
| 157 | value: {{ .Values.service.internalPort2 | quote }} |
Sylvain Desbureaux | a41dfc0 | 2021-02-15 10:14:22 +0100 | [diff] [blame] | 158 | volumeMounts: {{ include "common.certInitializer.volumeMount" . | nindent 8 }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 159 | - mountPath: /etc/localtime |
| 160 | name: localtime |
| 161 | readOnly: true |
| 162 | - mountPath: /opt/app/aai-traversal/resources/etc/appprops/janusgraph-realtime.properties |
| 163 | name: {{ include "common.fullname" . }}-config |
| 164 | subPath: janusgraph-realtime.properties |
| 165 | - mountPath: /opt/app/aai-traversal/resources/etc/appprops/janusgraph-cached.properties |
| 166 | name: {{ include "common.fullname" . }}-config |
| 167 | subPath: janusgraph-cached.properties |
| 168 | - mountPath: /opt/app/aai-traversal/resources/etc/appprops/aaiconfig.properties |
| 169 | name: {{ include "common.fullname" . }}-config |
| 170 | subPath: aaiconfig.properties |
| 171 | - mountPath: /opt/aai/logroot/AAI-GQ |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 172 | name: logs |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 173 | - mountPath: /opt/aai/logroot/AAI-GQ/misc |
| 174 | name: {{ include "common.fullname" . }}-logs-misc |
| 175 | - mountPath: /opt/app/aai-traversal/resources/logback.xml |
| 176 | name: {{ include "common.fullname" . }}-config |
| 177 | subPath: logback.xml |
| 178 | - mountPath: /opt/app/aai-traversal/resources/localhost-access-logback.xml |
| 179 | name: {{ include "common.fullname" . }}-config |
| 180 | subPath: localhost-access-logback.xml |
| 181 | - mountPath: /opt/app/aai-traversal/resources/etc/auth/realm.properties |
| 182 | name: {{ include "common.fullname" . }}-config |
| 183 | subPath: realm.properties |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 184 | - mountPath: /opt/app/aai-traversal/resources/aaf/bath_config.csv |
| 185 | name: {{ include "common.fullname" . }}-aaf-certs |
| 186 | subPath: bath_config.csv |
| 187 | - mountPath: /opt/app/aai-traversal/resources/aaf/org.onap.aai.props |
| 188 | name: {{ include "common.fullname" . }}-aaf-properties |
| 189 | subPath: org.onap.aai.props |
| 190 | - mountPath: /opt/app/aai-traversal/resources/aaf/org.osaaf.location.props |
| 191 | name: {{ include "common.fullname" . }}-aaf-properties |
| 192 | subPath: org.osaaf.location.props |
| 193 | - mountPath: /opt/app/aai-traversal/resources/aaf/permissions.properties |
| 194 | name: {{ include "common.fullname" . }}-aaf-properties |
| 195 | subPath: permissions.properties |
| 196 | - mountPath: /opt/app/aai-traversal/resources/cadi.properties |
| 197 | name: {{ include "common.fullname" . }}-aaf-properties |
| 198 | subPath: cadi.properties |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 199 | - mountPath: /opt/app/aai-traversal/resources/application.properties |
| 200 | name: {{ include "common.fullname" . }}-config |
| 201 | subPath: application.properties |
Sam Huang | 56a6dd4 | 2021-03-26 13:27:17 -0600 | [diff] [blame] | 202 | - mountPath: /opt/app/aai-traversal/resources/application-keycloak.properties |
| 203 | name: {{ include "common.fullname" . }}-config |
| 204 | subPath: application-keycloak.properties |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 205 | ports: |
| 206 | - containerPort: {{ .Values.service.internalPort }} |
| 207 | - containerPort: {{ .Values.service.internalPort2 }} |
M.Hosnidokht | 15fea93 | 2021-08-25 09:08:40 -0400 | [diff] [blame] | 208 | lifecycle: |
| 209 | # wait for active requests (long-running tasks) to be finished |
| 210 | # Before the SIGTERM is invoked, Kubernetes exposes a preStop hook in the Pod. |
| 211 | preStop: |
| 212 | exec: |
| 213 | command: |
| 214 | - sh |
| 215 | - -c |
| 216 | - | |
| 217 | while (netstat -an | grep ESTABLISHED | grep -e $INTERNAL_PORT_1 -e $INTERNAL_PORT_2) |
| 218 | do sleep 10 |
| 219 | done |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 220 | # disable liveness probe when breakpoints set in debugger |
| 221 | # so K8s doesn't restart unresponsive container |
| 222 | {{ if .Values.liveness.enabled }} |
| 223 | livenessProbe: |
Fiete Ostkamp | c113ef3 | 2022-10-12 09:50:46 +0200 | [diff] [blame] | 224 | httpGet: |
| 225 | path: /aai/util/echo?action=checkDB |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 226 | port: {{ .Values.service.internalPort }} |
Fiete Ostkamp | c113ef3 | 2022-10-12 09:50:46 +0200 | [diff] [blame] | 227 | scheme: HTTP{{ (eq "true" (include "common.needTLS" .)) | ternary "S" "" }} |
| 228 | httpHeaders: |
| 229 | - name: X-FromAppId |
| 230 | value: LivenessCheck |
| 231 | - name: X-TransactionId |
| 232 | value: LiveCheck_TID |
| 233 | - name: Accept |
| 234 | value: application/json |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 235 | initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} |
| 236 | periodSeconds: {{ .Values.liveness.periodSeconds }} |
| 237 | {{ end }} |
| 238 | readinessProbe: |
Fiete Ostkamp | c113ef3 | 2022-10-12 09:50:46 +0200 | [diff] [blame] | 239 | httpGet: |
| 240 | path: /aai/util/echo?action=checkDB |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 241 | port: {{ .Values.service.internalPort }} |
Fiete Ostkamp | c113ef3 | 2022-10-12 09:50:46 +0200 | [diff] [blame] | 242 | scheme: HTTP{{ (eq "true" (include "common.needTLS" .)) | ternary "S" "" }} |
| 243 | httpHeaders: |
| 244 | - name: X-FromAppId |
| 245 | value: ReadinessCheck |
| 246 | - name: X-TransactionId |
| 247 | value: ReadinessCheck_TID |
| 248 | - name: Accept |
| 249 | value: application/json |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 250 | initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} |
| 251 | periodSeconds: {{ .Values.readiness.periodSeconds }} |
Fiete Ostkamp | c113ef3 | 2022-10-12 09:50:46 +0200 | [diff] [blame] | 252 | resources: {{ include "common.resources" . | nindent 12 }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 253 | {{- if .Values.nodeSelector }} |
| 254 | nodeSelector: |
| 255 | {{ toYaml .Values.nodeSelector | indent 8 }} |
Sylvain Desbureaux | a41dfc0 | 2021-02-15 10:14:22 +0100 | [diff] [blame] | 256 | {{- end }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 257 | {{- if .Values.affinity }} |
| 258 | affinity: |
| 259 | {{ toYaml .Values.affinity | indent 8 }} |
| 260 | {{- end }} |
| 261 | |
| 262 | # side car containers |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 263 | {{ include "common.log.sidecar" . | nindent 6 }} |
farida azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 264 | serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} |
Sylvain Desbureaux | a41dfc0 | 2021-02-15 10:14:22 +0100 | [diff] [blame] | 265 | volumes: {{ include "common.certInitializer.volumes" . | nindent 6 }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 266 | - name: localtime |
| 267 | hostPath: |
| 268 | path: /etc/localtime |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 269 | - name: logs |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 270 | emptyDir: {} |
| 271 | - name: {{ include "common.fullname" . }}-logs-misc |
| 272 | emptyDir: {} |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 273 | {{ include "common.log.volumes" (dict "dot" . "configMapNamePrefix" (tpl .Values.logConfigMapNamePrefix .)) | nindent 6 }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 274 | - name: {{ include "common.fullname" . }}-config |
| 275 | configMap: |
Sylvain Desbureaux | a41dfc0 | 2021-02-15 10:14:22 +0100 | [diff] [blame] | 276 | name: {{ include "common.fullname" . }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 277 | - name: {{ include "common.fullname" . }}-aaf-properties |
| 278 | configMap: |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 279 | name: {{ include "common.fullname" . }}-aaf-props |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 280 | - name: {{ include "common.fullname" . }}-aaf-certs |
| 281 | secret: |
Sylvain Desbureaux | a41dfc0 | 2021-02-15 10:14:22 +0100 | [diff] [blame] | 282 | secretName: {{ include "common.fullname" . }}-aaf |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 283 | - name: aai-common-aai-auth-mount |
| 284 | secret: |
| 285 | secretName: aai-common-aai-auth |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 286 | restartPolicy: {{ .Values.global.restartPolicy | default .Values.restartPolicy }} |
| 287 | imagePullSecrets: |
| 288 | - name: "{{ include "common.namespace" . }}-docker-registry-key" |