Compare commits

...

10 Commits

8 changed files with 30 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: postgres-cluster name: postgres-cluster
version: 2.1.0 version: 2.2.0
description: Chart for cloudnative-pg cluster description: Chart for cloudnative-pg cluster
keywords: keywords:
- database - database

View File

@@ -5,8 +5,7 @@ Expand the name of the chart.
{{- if .Values.nameOverride }} {{- if .Values.nameOverride }}
{{- .Values.nameOverride | trunc 63 | trimSuffix "-" }} {{- .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- else }} {{- else }}
{{ $version := split "." .Values.cluster.image.tag }} {{- printf "postgresql-%s-%s" .Values.cluster.image.majorVersion .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- printf "postgresql-%s-%s" $version._0 .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@@ -24,6 +24,7 @@ cluster:
image: image:
repository: ghcr.io/cloudnative-pg/postgresql repository: ghcr.io/cloudnative-pg/postgresql
tag: "16.2" tag: "16.2"
majorVersion: "16"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# The UID and GID of the postgres user inside the image # The UID and GID of the postgres user inside the image

View File

@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: taiga name: taiga
version: 0.1.2 version: 0.1.10
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.service.http.port }}
protocol: TCP
- name: taiga-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-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