diff --git a/charts/taiga/Chart.yaml b/charts/taiga/Chart.yaml index 9377cac..a3d35c3 100644 --- a/charts/taiga/Chart.yaml +++ b/charts/taiga/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: taiga -version: 0.1.7 +version: 0.1.8 description: Chart for Taiga keywords: - kanban diff --git a/charts/taiga/templates/deployment-events.yaml b/charts/taiga/templates/deployment-events.yaml index ba7e7f1..b64bed5 100644 --- a/charts/taiga/templates/deployment-events.yaml +++ b/charts/taiga/templates/deployment-events.yaml @@ -55,7 +55,10 @@ spec: {{ toYaml .Values.events.resources | nindent 12 }} ports: - name: taiga-events - containerPort: {{ .Values.events.service.port }} + containerPort: {{ .Values.events.http.service.port }} + protocol: TCP + - name: taiga-events-app + containerPort: {{ .Values.events.service.app.port }} protocol: TCP env: - name: TAIGA_SECRET_KEY @@ -70,12 +73,14 @@ spec: secretKeyRef: name: {{ index .Values "taiga-events-rabbitmq" "auth" "existingPasswordSecret" }} key: {{ index .Values "taiga-events-rabbitmq" "auth" "existingSecretPasswordKey" }} + - name: APP_PORT + value: "{{ .Values.events.service.app.port }}" {{- if .Values.events.livenessProbe.enabled }} livenessProbe: httpGet: path: /healthz - port: {{ .Values.events.service.port }} + port: {{ .Values.events.service.app.port }} initialDelaySeconds: {{ .Values.events.livenessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.events.livenessProbe.periodSeconds }} timeoutSeconds: {{ .Values.events.livenessProbe.timeoutSeconds }} @@ -87,7 +92,7 @@ spec: readinessProbe: httpGet: path: /healthz - port: {{ .Values.events.service.port }} + port: {{ .Values.events.service.app.port }} initialDelaySeconds: {{ .Values.events.readinessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.events.readinessProbe.periodSeconds }} timeoutSeconds: {{ .Values.events.readinessProbe.timeoutSeconds }} diff --git a/charts/taiga/templates/service.yaml b/charts/taiga/templates/service.yaml index 3b73e89..c291907 100644 --- a/charts/taiga/templates/service.yaml +++ b/charts/taiga/templates/service.yaml @@ -55,10 +55,14 @@ metadata: spec: type: {{ .Values.events.service.type }} ports: - - port: {{ .Values.events.service.port }} + - port: {{ .Values.events.service.http.port }} targetPort: taiga-events protocol: TCP name: taiga-events + - port: {{ .Values.events.service.app.port }} + targetPort: taiga-events-app + protocol: TCP + name: taiga-events-app selector: {{- include "taiga.events.matchLabels" . | nindent 4 }} {{- with .Values.events.service.extraSelectorLabels }} diff --git a/charts/taiga/values.yaml b/charts/taiga/values.yaml index ec1dd66..07eb729 100644 --- a/charts/taiga/values.yaml +++ b/charts/taiga/values.yaml @@ -487,8 +487,13 @@ events: # -- Allow adding additional match labels extraSelectorLabels: {} - # -- HTTP port number - port: 8888 + http: + # -- HTTP port number + port: 8888 + + app: + # -- HTTP port number + port: 3023 ## Events Rabbitmq ## https://artifacthub.io/packages/helm/bitnami/rabbitmq?modal=values-schema