File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
stable/yugabyte/templates Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -161,16 +161,22 @@ spec:
161
161
template :
162
162
metadata :
163
163
{{- if eq .name "yb-masters" }}
164
- {{- if (or $root.Values.networkAnnotation $root.Values.master.podAnnotations) }}
164
+ {{- if (or $root.Values.networkAnnotation $root.Values.master.podAnnotations $root.Values.tls.enabled ) }}
165
165
annotations :
166
166
{{- with $root.Values.networkAnnotation }}{{ toYaml . | nindent 8 }}{{ end }}
167
167
{{- with $root.Values.master.podAnnotations }}{{ toYaml . | nindent 8 }}{{ end }}
168
+ {{- if $root.Values.tls.enabled }}
169
+ checksum/rootCA : {{ cat $root.Values.tls.rootCA.cert $root.Values.tls.rootCA.key | sha256sum }}
170
+ {{- end }}
168
171
{{- end }}
169
172
{{- else }}
170
- {{- if (or $root.Values.networkAnnotation $root.Values.tserver.podAnnotations) }}
173
+ {{- if (or $root.Values.networkAnnotation $root.Values.tserver.podAnnotations $root.Values.tls.enabled ) }}
171
174
annotations :
172
175
{{- with $root.Values.networkAnnotation }}{{ toYaml . | nindent 8 }}{{ end }}
173
176
{{- with $root.Values.tserver.podAnnotations }}{{ toYaml . | nindent 8 }}{{ end }}
177
+ {{- if $root.Values.tls.enabled }}
178
+ checksum/rootCA : {{ cat $root.Values.tls.rootCA.cert $root.Values.tls.rootCA.key | sha256sum }}
179
+ {{- end }}
174
180
{{- end }}
175
181
{{- end }}
176
182
labels :
You can’t perform that action at this time.
0 commit comments