From 8484507cd14ee28624ebef645380dffa5806428b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alfredo=20Espa=C3=B1a?= Date: Sat, 28 Sep 2024 11:05:54 -0600 Subject: [PATCH 1/2] Update to version 2.23.0 --- .gitignore | 16 +--------------- charts/terrakube/Chart.yaml | 4 ++-- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index afe22ae..660493c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,17 +1,3 @@ -sample-values.yaml -sample-values-post.yaml -sample-values-mysql.yaml -sample-values-dev365.yaml -sample-values-dev365-dex.yaml -sample-values-dev365-dex-bkp.yaml -sample-values-dev365-dex-github.yaml -sample-values-dev365-dex-github-dd.yaml -sample-values-dev365-cognito-dex.yaml -sample-values-dev365-cognito-dex.yaml -sample-values-dev365-ldap.yaml -sample-values-dev365-aws.yaml -sample-values-dev365-gcp.yaml -sample-values-dev365-gcp-dex.yaml -sample-values-dev365-dex-H2.yaml +sample-*.yaml secretFiles/* !secretFiles/README.md \ No newline at end of file diff --git a/charts/terrakube/Chart.yaml b/charts/terrakube/Chart.yaml index babc6cd..94b0b8f 100644 --- a/charts/terrakube/Chart.yaml +++ b/charts/terrakube/Chart.yaml @@ -15,13 +15,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 3.21.1 +version: 3.21.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "2.22.0" +appVersion: "2.23.0" dependencies: - name: minio From bc1a7f71fdcdeca53f21050530b08a1b8e5a908e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alfredo=20Espa=C3=B1a?= Date: Wed, 9 Oct 2024 09:40:43 -0600 Subject: [PATCH 2/2] feat: allow to set redis port --- charts/terrakube/templates/secrets-api.yaml | 2 +- charts/terrakube/templates/secrets-executor.yaml | 2 +- charts/terrakube/values.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/terrakube/templates/secrets-api.yaml b/charts/terrakube/templates/secrets-api.yaml index f61c800..aae67c5 100644 --- a/charts/terrakube/templates/secrets-api.yaml +++ b/charts/terrakube/templates/secrets-api.yaml @@ -17,7 +17,7 @@ stringData: ExecutorReplicas: '{{ .Values.api.properties.executorReplicaCount | default .Values.executor.replicaCount }}' TerrakubeUiURL: '{{- if .Values.ingress.useTls }}https{{else}}http{{ end }}://{{ .Values.ingress.ui.domain }}' TERRAKUBE_ADMIN_GROUP: '{{ .Values.security.adminGroup }}' - TerrakubeRedisPort: '6379' + TerrakubeRedisPort: '{{ .Values.api.properties.redisPort }}' {{- if .Values.api.defaultRedis -}} #Default Redis TerrakubeRedisHostname: 'terrakube-redis-master' diff --git a/charts/terrakube/templates/secrets-executor.yaml b/charts/terrakube/templates/secrets-executor.yaml index dc19f79..5c78917 100644 --- a/charts/terrakube/templates/secrets-executor.yaml +++ b/charts/terrakube/templates/secrets-executor.yaml @@ -16,7 +16,7 @@ stringData: TerrakubeEnableSecurity: 'true' TerrakubeRegistryDomain: '{{ .Values.ingress.registry.domain }}' TerrakubeApiUrl: '{{- if .Values.ingress.useTls }}https{{else}}http{{ end }}://{{ .Values.ingress.api.domain }}' - TerrakubeRedisPort: '6379' + TerrakubeRedisPort: '{{ .Values.api.properties.redisPort }}' {{- if .Values.api.defaultRedis -}} #Default Redis TerrakubeRedisHostname: 'terrakube-redis-master' diff --git a/charts/terrakube/values.yaml b/charts/terrakube/values.yaml index 8dc3b55..8dfe8e6 100644 --- a/charts/terrakube/values.yaml +++ b/charts/terrakube/values.yaml @@ -211,6 +211,7 @@ api: databasePort: "3306" redisHostname: "" redisPassword: "" + redisPort: "6379" ## The database port is only used for mysql databases