diff --git a/charts/terrakube/Chart.lock b/charts/terrakube/Chart.lock index c7fef6f..7817e77 100644 --- a/charts/terrakube/Chart.lock +++ b/charts/terrakube/Chart.lock @@ -8,5 +8,8 @@ dependencies: - name: dex repository: https://charts.dexidp.io version: 0.13.0 -digest: sha256:1ca277c677e49b3d27d12e23cddefcf21d0cfbd22d45f6c70a27b7cd973acf48 -generated: "2023-03-01T11:42:14.9041738-06:00" +- name: redis + repository: https://charts.bitnami.com/bitnami + version: 17.10.1 +digest: sha256:e66f6bd862f124d67fe3fba323460083d2dc331805007c3c43fdcbcb902e313e +generated: "2023-05-03T16:04:17.703524534-06:00" diff --git a/charts/terrakube/Chart.yaml b/charts/terrakube/Chart.yaml index 023d278..465d82e 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.4.1 +version: 3.5.0 # 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.12.0" +appVersion: "2.13.0" dependencies: - name: minio @@ -38,3 +38,7 @@ dependencies: version: "0.13.0" # condition: dex.enabled Dex should alway be enable to work repository: "https://charts.dexidp.io" + +- name: redis + version: "17.10.1" + repository: "https://charts.bitnami.com/bitnami" \ No newline at end of file diff --git a/charts/terrakube/charts/redis-17.10.1.tgz b/charts/terrakube/charts/redis-17.10.1.tgz new file mode 100644 index 0000000..bf3ad8a Binary files /dev/null and b/charts/terrakube/charts/redis-17.10.1.tgz differ diff --git a/charts/terrakube/templates/secrets-api.yaml b/charts/terrakube/templates/secrets-api.yaml index e56b0d2..74fdd31 100644 --- a/charts/terrakube/templates/secrets-api.yaml +++ b/charts/terrakube/templates/secrets-api.yaml @@ -16,6 +16,10 @@ stringData: AzBuilderExecutorUrl: 'http://terrakube-executor-service:8090/api/v1/terraform-rs' TerrakubeUiURL: '{{- if .Values.ingress.useTls }}https{{else}}http{{ end }}://{{ .Values.ingress.ui.domain }}' TERRAKUBE_ADMIN_GROUP: '{{ .Values.security.adminGroup }}' + TerrakubeRedisHostname: 'terrakube-redis-master' + TerrakubeRedisPort: '6379' + TerrakubeRedisPassword: '{{ .Values.redis.auth.password }}' + {{- if .Values.storage.defaultStorage -}} diff --git a/charts/terrakube/templates/secrets-executor.yaml b/charts/terrakube/templates/secrets-executor.yaml index afdcd84..7f4eb2c 100644 --- a/charts/terrakube/templates/secrets-executor.yaml +++ b/charts/terrakube/templates/secrets-executor.yaml @@ -16,7 +16,9 @@ stringData: TerrakubeEnableSecurity: 'true' TerrakubeRegistryDomain: '{{ .Values.ingress.registry.domain }}' TerrakubeApiUrl: '{{- if .Values.ingress.useTls }}https{{else}}http{{ end }}://{{ .Values.ingress.api.domain }}' - + TerrakubeRedisHostname: 'terrakube-redis-master' + TerrakubeRedisPort: '6379' + TerrakubeRedisPassword: '{{ .Values.redis.auth.password }}' {{- if .Values.storage.defaultStorage -}} diff --git a/charts/terrakube/values.yaml b/charts/terrakube/values.yaml index 5348315..f4dafca 100644 --- a/charts/terrakube/values.yaml +++ b/charts/terrakube/values.yaml @@ -146,6 +146,13 @@ postgresql: password: "terrakubepassword" database: "terrakube" +# Default Redis Configuration +redis: + architecture: "standalone" + auth: + enabled: true + password: "7p9iWVeRV4S944" + ## API properties api: existingSecret: false