From 1ce1a3322445654c3491f896117a3875324f759d Mon Sep 17 00:00:00 2001 From: Matthew Dowell Date: Sun, 1 Oct 2023 14:42:24 -0500 Subject: [PATCH 1/7] default bash devfile.yaml --- devfile.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 devfile.yaml diff --git a/devfile.yaml b/devfile.yaml new file mode 100644 index 0000000..e5c98b2 --- /dev/null +++ b/devfile.yaml @@ -0,0 +1,20 @@ +schemaVersion: 2.1.0 +metadata: + name: bash +components: + - name: tools + container: + image: quay.io/devfile/universal-developer-image:ubi8-latest + memoryLimit: 3Gi + +commands: + - id: run-main-script + exec: + label: "Run main.sh script" + component: tools + workingDir: '${PROJECT_SOURCE}' + commandLine: | + ./main.sh + group: + kind: run + isDefault: true From 2cdfe29cf4fa81736c0329208b9e56b2a8a22145 Mon Sep 17 00:00:00 2001 From: Matthew Dowell Date: Sun, 1 Oct 2023 14:42:58 -0500 Subject: [PATCH 2/7] Update README.md with che badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 420416d..f8cbfac 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Contribute](https://www.eclipse.org/che/contribute.svg)](https://code.ethosengine.com/#https://github.com/Mbd06b/taiga-helm) [![GitHub license](https://img.shields.io/github/license/nemonik/taiga-helm)](./LICENSE) [![GitHub Forks](https://img.shields.io/github/forks/nemonik/taiga-helm?style=social)](https://github.com/nemonik/ameersbn-gitlab-helm/network/members) [![Github Stars](https://img.shields.io/github/stars/nemonik/taiga-helm?style=social)](https://github.com/nemonik/ameersbn-gitlab-helm/stargazers) From 6bc383015601a42bc97abae043e75e1b77367546 Mon Sep 17 00:00:00 2001 From: Matthew Dowell Date: Sun, 1 Oct 2023 14:45:09 -0500 Subject: [PATCH 3/7] Update devfile.yaml rename workspace --- devfile.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devfile.yaml b/devfile.yaml index e5c98b2..361efb2 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -1,6 +1,6 @@ schemaVersion: 2.1.0 metadata: - name: bash + name: taiga-helm-dev components: - name: tools container: From d2b80cf66935b7ecb75d44f61eced75ddfc866e2 Mon Sep 17 00:00:00 2001 From: Matthew Dowell Date: Thu, 5 Oct 2023 04:53:43 +0000 Subject: [PATCH 4/7] typo --- values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/values.yaml b/values.yaml index 725d834..4994d28 100644 --- a/values.yaml +++ b/values.yaml @@ -163,7 +163,7 @@ taigaBack: image: repository: taigaio/taiga-back pullPolicy: IfNotPresent - tag: " {{ .Chart.AppVersion }}" + tag: "{{ .Chart.AppVersion }}" service: type: ClusterIP From 38ff7cc387a5c64eab37ee8152decbd617b0e11d Mon Sep 17 00:00:00 2001 From: Matthew Dowell Date: Sat, 7 Oct 2023 16:17:40 +0000 Subject: [PATCH 5/7] fixed helpers.tpl func for selecting postgresHost --- templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/_helpers.tpl b/templates/_helpers.tpl index 3aacce7..a11aae3 100644 --- a/templates/_helpers.tpl +++ b/templates/_helpers.tpl @@ -69,6 +69,6 @@ Set value for Postgres Host {{- if .Values.env.postgresHost }} {{- print .Values.env.postgresHost }} {{- else }} -{{- printf "%s-db" "taiga.fullname" }} +{{- printf "%s-db" (include "taiga.fullname" .) }} {{- end }} {{- end }} From 8500f3b21339438fd477a2bf206279f2b6c71d56 Mon Sep 17 00:00:00 2001 From: Matthew Dowell Date: Sat, 7 Oct 2023 16:19:33 +0000 Subject: [PATCH 6/7] postgresql best practice to load data in a meaningful subdirectory of the mouthPath avoiding mount conflicts on pod init --- templates/taiga-db-statefulset.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/taiga-db-statefulset.yaml b/templates/taiga-db-statefulset.yaml index eafd5f6..85d861f 100644 --- a/templates/taiga-db-statefulset.yaml +++ b/templates/taiga-db-statefulset.yaml @@ -44,6 +44,8 @@ spec: value: {{ .Values.env.postgresPassword | quote }} - name: POSTGRES_USER value: {{ .Values.env.postgresUser | quote }} + - name: PGDATA + value: "/var/lib/postgresql/data/taiga" volumeMounts: - mountPath: /var/lib/postgresql/data name: taiga-db-data From 011a602c4f92deb50a2981540fc4ab0d6be601ab Mon Sep 17 00:00:00 2001 From: Matthew Dowell Date: Sat, 7 Oct 2023 17:35:17 +0000 Subject: [PATCH 7/7] remove helm template markup errors and image pulls for 6.4.x --- Chart.yaml | 4 ++-- templates/taiga-protected-statefulset.yaml | 2 +- values.yaml | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index 7379628..60f398b 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: taiga description: A Helm chart for Taiga type: application -version: 6.4.3 -appVersion: 6.4.3 +version: 6.4.2 +appVersion: 6.4.2 maintainers: - name: Michael Joseph Walsh email: github.com@nemonik.com diff --git a/templates/taiga-protected-statefulset.yaml b/templates/taiga-protected-statefulset.yaml index c0907de..9892609 100644 --- a/templates/taiga-protected-statefulset.yaml +++ b/templates/taiga-protected-statefulset.yaml @@ -32,7 +32,7 @@ spec: - name: taiga-protected securityContext: {{- toYaml .Values.taigaProtected.securityContext | nindent 12 }} - image: "{{ .Values.taigaProtected.image.repository }}:{{ .Values.taigaProtected.image.tag }}" + image: "{{ .Values.taigaProtected.image.repository }}:{{ .Values.taigaProtected.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.taigaProtected.image.pullPolicy }} ports: - name: http diff --git a/values.yaml b/values.yaml index 4994d28..d8a1777 100644 --- a/values.yaml +++ b/values.yaml @@ -130,7 +130,7 @@ taigaAsync: image: repository: taigaio/taiga-back pullPolicy: IfNotPresent - tag: "{{ .Chart.AppVersion }}" + tag: "" service: type: ClusterIP @@ -163,7 +163,7 @@ taigaBack: image: repository: taigaio/taiga-back pullPolicy: IfNotPresent - tag: "{{ .Chart.AppVersion }}" + tag: "" service: type: ClusterIP @@ -284,7 +284,7 @@ taigaEvents: image: repository: taigaio/taiga-events pullPolicy: IfNotPresent - tag: "6.1.1" + tag: "6.4.0" service: type: ClusterIP @@ -317,7 +317,7 @@ taigaFront: image: repository: taigaio/taiga-front pullPolicy: IfNotPresent - tag: "{{ .Chart.AppVersion }}" + tag: "" service: type: ClusterIP @@ -404,7 +404,7 @@ taigaProtected: image: repository: taigaio/taiga-protected pullPolicy: IfNotPresent - tag: "{{ .Chart.AppVersion }}" + tag: "6.4.0" service: type: ClusterIP