diff --git a/charts/taiga/Chart.yaml b/charts/taiga/Chart.yaml index 66dc29f..78e07c8 100644 --- a/charts/taiga/Chart.yaml +++ b/charts/taiga/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: taiga -version: 0.1.2 +version: 0.1.3 description: Chart for Taiga keywords: - kanban diff --git a/charts/taiga/templates/deployment-events.yaml b/charts/taiga/templates/deployment-events.yaml index b204cf7..b2c05ff 100644 --- a/charts/taiga/templates/deployment-events.yaml +++ b/charts/taiga/templates/deployment-events.yaml @@ -48,49 +48,49 @@ spec: {{ toYaml . | nindent 8 }} {{- end }} containers: - - name: {{ template "taiga.fullname" . }}-events - image: "{{ .Values.events.image.repository }}:{{ .Values.events.image.tag }}" - imagePullPolicy: {{ .Values.events.image.pullPolicy }} - resources: - {{ toYaml .Values.events.resources | nindent 12 }} - ports: - - name: taiga-events - containerPort: {{ .Values.events.service.port }} - protocol: TCP - env: - - name: TAIGA_SECRET_KEY - valueFrom: - secretKeyRef: - name: "{{ .Values.secretKey.existingSecretName }}" - key: "{{ .Values.secretKey.existingSecretKey }}" - - name: RABBITMQ_USER - value: "{{ index .Values "taiga-events-rabbitmq" "auth" "username" }}" - - name: RABBITMQ_PASS - valueFrom: - secretKeyRef: - name: {{ index .Values "taiga-events-rabbitmq" "auth" "existingPasswordSecret" }} - key: {{ index .Values "taiga-events-rabbitmq" "auth" "existingSecretPasswordKey" }} + - name: {{ template "taiga.fullname" . }}-events + image: "{{ .Values.events.image.repository }}:{{ .Values.events.image.tag }}" + imagePullPolicy: {{ .Values.events.image.pullPolicy }} + resources: + {{ toYaml .Values.events.resources | nindent 12 }} + ports: + - name: taiga-events + containerPort: {{ .Values.events.service.port }} + protocol: TCP + env: + - name: TAIGA_SECRET_KEY + valueFrom: + secretKeyRef: + name: "{{ .Values.secretKey.existingSecretName }}" + key: "{{ .Values.secretKey.existingSecretKey }}" + - name: RABBITMQ_USER + value: "{{ index .Values "taiga-events-rabbitmq" "auth" "username" }}" + - name: RABBITMQ_PASS + valueFrom: + secretKeyRef: + name: {{ index .Values "taiga-events-rabbitmq" "auth" "existingPasswordSecret" }} + key: {{ index .Values "taiga-events-rabbitmq" "auth" "existingSecretPasswordKey" }} - {{- if .Values.events.livenessProbe.enabled }} - livenessProbe: - httpGet: - path: /admin/login/ - port: {{ .Values.events.service.port }} - initialDelaySeconds: {{ .Values.events.livenessProbe.initialDelaySeconds }} - periodSeconds: {{ .Values.events.livenessProbe.periodSeconds }} - timeoutSeconds: {{ .Values.events.livenessProbe.timeoutSeconds }} - successThreshold: {{ .Values.events.livenessProbe.successThreshold }} - failureThreshold: {{ .Values.events.livenessProbe.failureThreshold }} - {{- end }} + {{- if .Values.events.livenessProbe.enabled }} + livenessProbe: + httpGet: + path: /admin/login/ + port: {{ .Values.events.service.port }} + initialDelaySeconds: {{ .Values.events.livenessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.events.livenessProbe.periodSeconds }} + timeoutSeconds: {{ .Values.events.livenessProbe.timeoutSeconds }} + successThreshold: {{ .Values.events.livenessProbe.successThreshold }} + failureThreshold: {{ .Values.events.livenessProbe.failureThreshold }} + {{- end }} - {{- if .Values.events.readinessProbe.enabled }} - readinessProbe: - httpGet: - path: /admin/login/ - port: {{ .Values.events.service.port }} - initialDelaySeconds: {{ .Values.events.readinessProbe.initialDelaySeconds }} - periodSeconds: {{ .Values.events.readinessProbe.periodSeconds }} - timeoutSeconds: {{ .Values.events.readinessProbe.timeoutSeconds }} - successThreshold: {{ .Values.events.readinessProbe.successThreshold }} - failureThreshold: {{ .Values.events.readinessProbe.failureThreshold }} - {{- end }} + {{- if .Values.events.readinessProbe.enabled }} + readinessProbe: + httpGet: + path: /admin/login/ + port: {{ .Values.events.service.port }} + initialDelaySeconds: {{ .Values.events.readinessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.events.readinessProbe.periodSeconds }} + timeoutSeconds: {{ .Values.events.readinessProbe.timeoutSeconds }} + successThreshold: {{ .Values.events.readinessProbe.successThreshold }} + failureThreshold: {{ .Values.events.readinessProbe.failureThreshold }} + {{- end }}