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