Fix indentation issue on checksum/config (#117)
Fixes #116 ### Motivation Theres indentation issues for the `checksum/config` annotation in these templates, which would either fail linting or not apply at all in some situations. ### Modifications I've added indentation at the specified places such that this isn't an issue anymore. ### Verifying this change - [ ] Make sure that the change passes the CI checks.
This commit is contained in:
parent
d6d240a123
commit
11a1d578dd
@ -38,9 +38,9 @@ spec:
|
|||||||
{{- include "pulsar.template.labels" . | nindent 8 }}
|
{{- include "pulsar.template.labels" . | nindent 8 }}
|
||||||
component: {{ .Values.grafana.component }}
|
component: {{ .Values.grafana.component }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- if .Values.grafana.restartPodsOnConfigMapChange }}
|
{{- if .Values.grafana.restartPodsOnConfigMapChange }}
|
||||||
checksum/config: {{ include (print $.Template.BasePath "/grafana-configmap.yaml") . | sha256sum }}
|
checksum/config: {{ include (print $.Template.BasePath "/grafana-configmap.yaml") . | sha256sum }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.grafana.annotations }}
|
{{- with .Values.grafana.annotations }}
|
||||||
{{ toYaml . | indent 8 }}
|
{{ toYaml . | indent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@ -38,9 +38,9 @@ spec:
|
|||||||
{{- include "pulsar.template.labels" . | nindent 8 }}
|
{{- include "pulsar.template.labels" . | nindent 8 }}
|
||||||
component: {{ .Values.prometheus.component }}
|
component: {{ .Values.prometheus.component }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- if .Values.prometheus.restartPodsOnConfigMapChange }}
|
{{- if .Values.prometheus.restartPodsOnConfigMapChange }}
|
||||||
checksum/config: {{ include (print $.Template.BasePath "/prometheus-configmap.yaml") . | sha256sum }}
|
checksum/config: {{ include (print $.Template.BasePath "/prometheus-configmap.yaml") . | sha256sum }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ toYaml .Values.prometheus.annotations | indent 8 }}
|
{{ toYaml .Values.prometheus.annotations | indent 8 }}
|
||||||
spec:
|
spec:
|
||||||
{{- if .Values.prometheus.nodeSelector }}
|
{{- if .Values.prometheus.nodeSelector }}
|
||||||
|
|||||||
@ -38,9 +38,9 @@ spec:
|
|||||||
{{- include "pulsar.template.labels" . | nindent 8 }}
|
{{- include "pulsar.template.labels" . | nindent 8 }}
|
||||||
component: {{ .Values.pulsar_manager.component }}
|
component: {{ .Values.pulsar_manager.component }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- if .Values.pulsar_manager.restartPodsOnConfigMapChange }}
|
{{- if .Values.pulsar_manager.restartPodsOnConfigMapChange }}
|
||||||
checksum/config: {{ include (print $.Template.BasePath "/pulsar-manager-configmap.yaml") . | sha256sum }}
|
checksum/config: {{ include (print $.Template.BasePath "/pulsar-manager-configmap.yaml") . | sha256sum }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ toYaml .Values.pulsar_manager.annotations | indent 8 }}
|
{{ toYaml .Values.pulsar_manager.annotations | indent 8 }}
|
||||||
spec:
|
spec:
|
||||||
{{- if .Values.pulsar_manager.nodeSelector }}
|
{{- if .Values.pulsar_manager.nodeSelector }}
|
||||||
|
|||||||
@ -42,9 +42,9 @@ spec:
|
|||||||
{{- include "pulsar.template.labels" . | nindent 8 }}
|
{{- include "pulsar.template.labels" . | nindent 8 }}
|
||||||
component: {{ .Values.toolset.component }}
|
component: {{ .Values.toolset.component }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- if .Values.toolset.restartPodsOnConfigMapChange }}
|
{{- if .Values.toolset.restartPodsOnConfigMapChange }}
|
||||||
checksum/config: {{ include (print $.Template.BasePath "/toolset-configmap.yaml") . | sha256sum }}
|
checksum/config: {{ include (print $.Template.BasePath "/toolset-configmap.yaml") . | sha256sum }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ toYaml .Values.toolset.annotations | indent 8 }}
|
{{ toYaml .Values.toolset.annotations | indent 8 }}
|
||||||
spec:
|
spec:
|
||||||
{{- if .Values.toolset.nodeSelector }}
|
{{- if .Values.toolset.nodeSelector }}
|
||||||
|
|||||||
@ -43,9 +43,9 @@ spec:
|
|||||||
{{- include "pulsar.template.labels" . | nindent 8 }}
|
{{- include "pulsar.template.labels" . | nindent 8 }}
|
||||||
component: {{ .Values.zookeeper.component }}
|
component: {{ .Values.zookeeper.component }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- if .Values.zookeeper.restartPodsOnConfigMapChange }}
|
{{- if .Values.zookeeper.restartPodsOnConfigMapChange }}
|
||||||
checksum/config: {{ include (print $.Template.BasePath "/zookeeper-configmap.yaml") . | sha256sum }}
|
checksum/config: {{ include (print $.Template.BasePath "/zookeeper-configmap.yaml") . | sha256sum }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ toYaml .Values.zookeeper.annotations | indent 8 }}
|
{{ toYaml .Values.zookeeper.annotations | indent 8 }}
|
||||||
spec:
|
spec:
|
||||||
{{- if .Values.zookeeper.nodeSelector }}
|
{{- if .Values.zookeeper.nodeSelector }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user