Commit 1fccfde2 authored by Yakubov, Sergey's avatar Yakubov, Sergey
Browse files

add config files checksum to annotations

parent 53307dd9
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.1
version: 0.2.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ metadata:
data:
  app.yml: |-
    managers:
{{- .Values.pulsar.managers | toYaml | nindent 6 }}:
{{- .Values.pulsar.managers | toYaml | nindent 6 }}
    job_directory_mode: "0777"
    ignore_umask: True
    staging_directory: {{ .Values.pulsar.stagingDirectory }}
+3 −1
Original line number Diff line number Diff line
@@ -10,10 +10,12 @@ spec:
      {{- include "pulsar.selectorLabels" . | nindent 6 }}
  template:
    metadata:
      {{- with .Values.podAnnotations }}
      annotations:
      {{- with .Values.podAnnotations }}
        {{- toYaml . | nindent 8 }}
      {{- end }}
        checksum/configa: {{ include (print $.Template.BasePath "/config_app.yaml") . | sha256sum }}
        checksum/configs: {{ include (print $.Template.BasePath "/config_server.yaml") . | sha256sum }}
      labels:
        {{- include "pulsar.selectorLabels" . | nindent 8 }}
    spec: