Skip to content

Commit

Permalink
feat: allow to set redis port (#148)
Browse files Browse the repository at this point in the history
* feat: allow to set redis port
  • Loading branch information
alfespa17 authored Oct 9, 2024
1 parent efd3585 commit fc55ce6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/terrakube/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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.4
version: 3.22.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
Expand Down
2 changes: 1 addition & 1 deletion charts/terrakube/templates/secrets-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion charts/terrakube/templates/secrets-executor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions charts/terrakube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ api:
databasePort: "3306"
redisHostname: ""
redisPassword: ""
redisPort: "6379"


## The database port is only used for mysql databases
Expand Down

0 comments on commit fc55ce6

Please sign in to comment.