Skip to content

Commit

Permalink
fix: allow custom uri from envs
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasoares committed Feb 5, 2024
1 parent f6d95e6 commit 00761e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions helm/templates/housekeeper-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,14 @@ spec:
value: {{ quote .Values.audit.enabled }}
- name: DECKARD_HOUSEKEEPER_ENABLED
value: "true"
{{- if (include "deckard.storage.uri" .) }}
- name: DECKARD_STORAGE_URI
value: {{ include "deckard.storage.uri" . | quote }}
{{- end }}
{{- if (include "deckard.cache.uri" .) }}
- name: DECKARD_CACHE_URI
value: {{ include "deckard.cache.uri" . | quote }}
{{- end }}
- name: DECKARD_REDIS_DB
value: {{ quote .Values.cache.redis.database }}
ports:
Expand Down
4 changes: 2 additions & 2 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ metrics:
# Defines the path to access metrics
path: /metrics

env: []
env: {}

podAnnotations: {}

Expand Down Expand Up @@ -177,7 +177,7 @@ housekeeper:

securityContext: {}

env: []
env: {}

containerPorts: []

Expand Down

0 comments on commit 00761e1

Please sign in to comment.