2 # Copyright © 2017 Amdocs, Bell Canada
3 # Modifications Copyright © 2018 AT&T
4 # Modifications Copyright © 2021-2022 Nordix Foundation
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
21 metadata: {{- include "common.resourceMetadata" . | nindent 2 }}
23 selector: {{- include "common.selectors" . | nindent 4 }}
24 serviceName: {{ include "common.servicename" . }}
27 metadata: {{- include "common.templateMetadata" . | nindent 6 }}
30 - name: {{ include "common.name" . }}
31 image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
32 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
33 ports: {{ include "common.containerPorts" . | nindent 10 }}
34 {{- if eq .Values.liveness.enabled true }}
37 port: {{ .Values.liveness.port }}
38 initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
39 periodSeconds: {{ .Values.liveness.periodSeconds }}
40 timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
41 successThreshold: {{ .Values.liveness.successThreshold }}
42 failureThreshold: {{ .Values.liveness.failureThreshold }}
46 port: {{ .Values.readiness.port }}
47 initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
48 periodSeconds: {{ .Values.readiness.periodSeconds }}
49 timeoutSeconds: {{ .Values.readiness.timeoutSeconds }}
50 successThreshold: {{ .Values.readiness.successThreshold }}
51 failureThreshold: {{ .Values.readiness.failureThreshold }}
54 port: {{ .Values.startup.port }}
55 initialDelaySeconds: {{ .Values.startup.initialDelaySeconds }}
56 periodSeconds: {{ .Values.startup.periodSeconds }}
57 timeoutSeconds: {{ .Values.startup.timeoutSeconds }}
58 successThreshold: {{ .Values.startup.successThreshold }}
59 failureThreshold: {{ .Values.startup.failureThreshold }}
64 name: strimzi-kafka-admin
70 - name: useZkTopicStore
73 - mountPath: /etc/localtime
76 - mountPath: /appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
77 subPath: MsgRtrApi.properties
79 - mountPath: /appl/dmaapMR1/bundleconfig/etc/logback.xml
82 resources: {{ include "common.resources" . | nindent 12 }}
83 - name: {{ .Values.zkTunnelService.name }}
84 image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.zkTunnelService.image }}
85 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
87 - /opt/stunnel/stunnel_run.sh
89 - containerPort: {{ .Values.zkTunnelService.internalPort }}
90 name: {{ .Values.zkTunnelService.portName }}
91 protocol: {{ .Values.zkTunnelService.protocol }}
94 value: {{ .Values.zkTunnelService.logLevel }}
95 - name: STRIMZI_ZOOKEEPER_CONNECT
96 value: '{{ include "common.release" . }}-strimzi-zookeeper-client:{{ .Values.zkTunnelService.internalPort }}'
100 - /opt/stunnel/stunnel_healthcheck.sh
101 - '{{ .Values.zkTunnelService.internalPort }}'
103 initialDelaySeconds: 15
110 - /opt/stunnel/stunnel_healthcheck.sh
111 - '{{ .Values.zkTunnelService.internalPort }}'
113 initialDelaySeconds: 15
118 - mountPath: /etc/cluster-operator-certs/
119 name: cluster-operator-certs
120 - mountPath: /etc/cluster-ca-certs/
121 name: cluster-ca-certs
122 serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
129 name: {{ include "common.fullname" . }}-msgrtrapi-prop-configmap
132 name: {{ include "common.fullname" . }}-logback-xml-configmap
133 - name: cluster-operator-certs
136 secretName: {{ include "common.release" . }}-strimzi-cluster-operator-certs
137 - name: cluster-ca-certs
140 secretName: {{ include "common.release" . }}-strimzi-cluster-ca-cert
142 - name: "{{ include "common.namespace" . }}-docker-registry-key"
144 apiVersion: networking.k8s.io/v1
147 name: {{ include "common.fullname" . }}-zk-network-policy
148 namespace: {{ include "common.namespace" . }}
152 strimzi.io/name: {{ include "common.release" . }}-strimzi-zookeeper
157 app.kubernetes.io/name: {{ include "common.name" . }}
159 - port: {{ .Values.zkTunnelService.internalPort }}
160 protocol: {{ .Values.zkTunnelService.protocol }}