2 # Copyright © 2017 Amdocs, Bell Canada
3 # Modifications Copyright © 2018 AT&T
4 # Modifications Copyright © 2021-2022 Nordix Foundation
5 # Modifications Copyright © 2023 DTAG
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
11 # http://www.apache.org/licenses/LICENSE-2.0
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.
22 metadata: {{- include "common.resourceMetadata" . | nindent 2 }}
24 selector: {{- include "common.selectors" . | nindent 4 }}
25 serviceName: {{ include "common.servicename" . }}
28 metadata: {{- include "common.templateMetadata" . | nindent 6 }}
31 - name: {{ include "common.name" . }}
32 image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
33 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
34 ports: {{ include "common.containerPorts" . | nindent 10 }}
35 {{- if eq .Values.liveness.enabled true }}
38 port: {{ .Values.liveness.port }}
39 initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
40 periodSeconds: {{ .Values.liveness.periodSeconds }}
41 timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
42 successThreshold: {{ .Values.liveness.successThreshold }}
43 failureThreshold: {{ .Values.liveness.failureThreshold }}
47 port: {{ .Values.readiness.port }}
48 initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
49 periodSeconds: {{ .Values.readiness.periodSeconds }}
50 timeoutSeconds: {{ .Values.readiness.timeoutSeconds }}
51 successThreshold: {{ .Values.readiness.successThreshold }}
52 failureThreshold: {{ .Values.readiness.failureThreshold }}
55 port: {{ .Values.startup.port }}
56 initialDelaySeconds: {{ .Values.startup.initialDelaySeconds }}
57 periodSeconds: {{ .Values.startup.periodSeconds }}
58 timeoutSeconds: {{ .Values.startup.timeoutSeconds }}
59 successThreshold: {{ .Values.startup.successThreshold }}
60 failureThreshold: {{ .Values.startup.failureThreshold }}
65 name: strimzi-kafka-admin
71 - name: useZkTopicStore
74 - mountPath: /appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
75 subPath: MsgRtrApi.properties
77 - mountPath: /appl/dmaapMR1/bundleconfig/etc/logback.xml
80 resources: {{ include "common.resources" . | nindent 12 }}
81 - name: {{ .Values.zkTunnelService.name }}
82 image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.zkTunnelService.image }}
83 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
85 - /opt/stunnel/stunnel_run.sh
87 - containerPort: {{ .Values.zkTunnelService.internalPort }}
88 name: {{ .Values.zkTunnelService.portName }}
89 protocol: {{ .Values.zkTunnelService.protocol }}
92 value: {{ .Values.zkTunnelService.logLevel }}
93 - name: STRIMZI_ZOOKEEPER_CONNECT
94 value: '{{ include "common.release" . }}-strimzi-zookeeper-client:{{ .Values.zkTunnelService.internalPort }}'
98 - /opt/stunnel/stunnel_healthcheck.sh
99 - '{{ .Values.zkTunnelService.internalPort }}'
101 initialDelaySeconds: 15
108 - /opt/stunnel/stunnel_healthcheck.sh
109 - '{{ .Values.zkTunnelService.internalPort }}'
111 initialDelaySeconds: 15
116 - mountPath: /etc/cluster-operator-certs/
117 name: cluster-operator-certs
118 - mountPath: /etc/cluster-ca-certs/
119 name: cluster-ca-certs
120 serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
124 name: {{ include "common.fullname" . }}-msgrtrapi-prop-configmap
127 name: {{ include "common.fullname" . }}-logback-xml-configmap
128 - name: cluster-operator-certs
131 secretName: {{ include "common.release" . }}-strimzi-cluster-operator-certs
132 - name: cluster-ca-certs
135 secretName: {{ include "common.release" . }}-strimzi-cluster-ca-cert
136 {{- include "common.imagePullSecrets" . | nindent 6 }}
138 apiVersion: networking.k8s.io/v1
141 name: {{ include "common.fullname" . }}-zk-network-policy
142 namespace: {{ include "common.namespace" . }}
146 strimzi.io/name: {{ include "common.release" . }}-strimzi-zookeeper
151 app.kubernetes.io/name: {{ include "common.name" . }}
153 - port: {{ .Values.zkTunnelService.internalPort }}
154 protocol: {{ .Values.zkTunnelService.protocol }}