Compare commits

...

7 Commits

Author SHA1 Message Date
617505ee99 fix length of app port 2024-04-13 23:37:58 -06:00
34a21702ab fix http service value 2024-04-13 23:32:48 -06:00
15d3253af9 fix events app port to service and port 2024-04-13 23:28:03 -06:00
90970ef172 fix events health endpoint 2024-04-13 23:19:59 -06:00
0d6f789ffd increment chart version 2024-04-13 23:14:21 -06:00
f968776cd0 fix trello importer switch for async container 2024-04-13 23:13:44 -06:00
0b2beb08b7 fix indentation of events deployment 2024-04-13 23:11:44 -06:00
5 changed files with 65 additions and 51 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: taiga name: taiga
version: 0.1.4 version: 0.1.10
description: Chart for Taiga description: Chart for Taiga
keywords: keywords:
- kanban - kanban

View File

@@ -437,7 +437,7 @@ spec:
value: "False" value: "False"
{{ end }} {{ end }}
{{ if .Values.trelloImporter }} {{ if .Values.trelloImporter.enabled }}
- name: ENABLE_TRELLO_IMPORTER - name: ENABLE_TRELLO_IMPORTER
value: "True" value: "True"
- name: TRELLO_IMPORTER_API_KEY - name: TRELLO_IMPORTER_API_KEY

View File

@@ -46,51 +46,56 @@ spec:
securityContext: securityContext:
{{- with .Values.events.securityContext }} {{- with .Values.events.securityContext }}
{{ toYaml . | nindent 8 }} {{ toYaml . | nindent 8 }}
{{- end }} {{- end }}
containers: containers:
- name: {{ template "taiga.fullname" . }}-events - name: {{ template "taiga.fullname" . }}-events
image: "{{ .Values.events.image.repository }}:{{ .Values.events.image.tag }}" image: "{{ .Values.events.image.repository }}:{{ .Values.events.image.tag }}"
imagePullPolicy: {{ .Values.events.image.pullPolicy }} imagePullPolicy: {{ .Values.events.image.pullPolicy }}
resources: resources:
{{ toYaml .Values.events.resources | nindent 12 }} {{ toYaml .Values.events.resources | nindent 12 }}
ports: ports:
- name: taiga-events - name: taiga-events
containerPort: {{ .Values.events.service.port }} containerPort: {{ .Values.events.service.http.port }}
protocol: TCP protocol: TCP
env: - name: taiga-app
- name: TAIGA_SECRET_KEY containerPort: {{ .Values.events.service.app.port }}
valueFrom: protocol: TCP
secretKeyRef: env:
name: "{{ .Values.secretKey.existingSecretName }}" - name: TAIGA_SECRET_KEY
key: "{{ .Values.secretKey.existingSecretKey }}" valueFrom:
- name: RABBITMQ_USER secretKeyRef:
value: "{{ index .Values "taiga-events-rabbitmq" "auth" "username" }}" name: "{{ .Values.secretKey.existingSecretName }}"
- name: RABBITMQ_PASS key: "{{ .Values.secretKey.existingSecretKey }}"
valueFrom: - name: RABBITMQ_USER
secretKeyRef: value: "{{ index .Values "taiga-events-rabbitmq" "auth" "username" }}"
name: {{ index .Values "taiga-events-rabbitmq" "auth" "existingPasswordSecret" }} - name: RABBITMQ_PASS
key: {{ index .Values "taiga-events-rabbitmq" "auth" "existingSecretPasswordKey" }} valueFrom:
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 }} {{- if .Values.events.livenessProbe.enabled }}
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /admin/login/ path: /healthz
port: {{ .Values.events.service.port }} port: {{ .Values.events.service.app.port }}
initialDelaySeconds: {{ .Values.events.livenessProbe.initialDelaySeconds }} initialDelaySeconds: {{ .Values.events.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.events.livenessProbe.periodSeconds }} periodSeconds: {{ .Values.events.livenessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.events.livenessProbe.timeoutSeconds }} timeoutSeconds: {{ .Values.events.livenessProbe.timeoutSeconds }}
successThreshold: {{ .Values.events.livenessProbe.successThreshold }} successThreshold: {{ .Values.events.livenessProbe.successThreshold }}
failureThreshold: {{ .Values.events.livenessProbe.failureThreshold }} failureThreshold: {{ .Values.events.livenessProbe.failureThreshold }}
{{- end }} {{- end }}
{{- if .Values.events.readinessProbe.enabled }} {{- if .Values.events.readinessProbe.enabled }}
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /admin/login/ path: /healthz
port: {{ .Values.events.service.port }} port: {{ .Values.events.service.app.port }}
initialDelaySeconds: {{ .Values.events.readinessProbe.initialDelaySeconds }} initialDelaySeconds: {{ .Values.events.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.events.readinessProbe.periodSeconds }} periodSeconds: {{ .Values.events.readinessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.events.readinessProbe.timeoutSeconds }} timeoutSeconds: {{ .Values.events.readinessProbe.timeoutSeconds }}
successThreshold: {{ .Values.events.readinessProbe.successThreshold }} successThreshold: {{ .Values.events.readinessProbe.successThreshold }}
failureThreshold: {{ .Values.events.readinessProbe.failureThreshold }} failureThreshold: {{ .Values.events.readinessProbe.failureThreshold }}
{{- end }} {{- end }}

View File

@@ -55,10 +55,14 @@ metadata:
spec: spec:
type: {{ .Values.events.service.type }} type: {{ .Values.events.service.type }}
ports: ports:
- port: {{ .Values.events.service.port }} - port: {{ .Values.events.service.http.port }}
targetPort: taiga-events targetPort: taiga-events
protocol: TCP protocol: TCP
name: taiga-events name: taiga-events
- port: {{ .Values.events.service.app.port }}
targetPort: taiga-app
protocol: TCP
name: taiga-app
selector: selector:
{{- include "taiga.events.matchLabels" . | nindent 4 }} {{- include "taiga.events.matchLabels" . | nindent 4 }}
{{- with .Values.events.service.extraSelectorLabels }} {{- with .Values.events.service.extraSelectorLabels }}

View File

@@ -487,8 +487,13 @@ events:
# -- Allow adding additional match labels # -- Allow adding additional match labels
extraSelectorLabels: {} extraSelectorLabels: {}
# -- HTTP port number http:
port: 8888 # -- HTTP port number
port: 8888
app:
# -- HTTP port number
port: 3023
## Events Rabbitmq ## Events Rabbitmq
## https://artifacthub.io/packages/helm/bitnami/rabbitmq?modal=values-schema ## https://artifacthub.io/packages/helm/bitnami/rabbitmq?modal=values-schema