Compare commits

...

7 Commits

5 changed files with 27 additions and 13 deletions

View File

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

View File

@@ -213,7 +213,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
@@ -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,8 +46,8 @@ 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 }}
@@ -55,7 +55,10 @@ spec:
{{ 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.http.service.port }}
protocol: TCP
- name: taiga-events-app
containerPort: {{ .Values.events.service.app.port }}
protocol: TCP protocol: TCP
env: env:
- name: TAIGA_SECRET_KEY - name: TAIGA_SECRET_KEY
@@ -70,12 +73,14 @@ spec:
secretKeyRef: secretKeyRef:
name: {{ index .Values "taiga-events-rabbitmq" "auth" "existingPasswordSecret" }} name: {{ index .Values "taiga-events-rabbitmq" "auth" "existingPasswordSecret" }}
key: {{ index .Values "taiga-events-rabbitmq" "auth" "existingSecretPasswordKey" }} 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 }}
@@ -86,8 +91,8 @@ spec:
{{- 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 }}

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-events-app
protocol: TCP
name: taiga-events-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