Skip to content

Commit fc1e6de

Browse files
committed
Add ttl Env's
1 parent b9ae397 commit fc1e6de

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

charts/client/templates/deployment.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ spec:
6565
{{- end }}
6666
- name: DB_PORT
6767
value: "9000"
68+
- name: TTL_INTERVAL
69+
value: "{{ .Values.ttl.ttlInterval }}"
70+
- name: TTL_UNIT
71+
value: {{ .Values.ttl.ttlUnit }}
6872
containers:
6973
- name: {{ .Chart.Name }}
7074
securityContext:
@@ -121,6 +125,10 @@ spec:
121125
{{- end }}
122126
- name: DB_PORT
123127
value: "9000"
128+
- name: TTL_INTERVAL
129+
value: "{{ .Values.ttl.ttlInterval }}"
130+
- name: TTL_UNIT
131+
value: {{ .Values.ttl.ttlUnit }}
124132
resources:
125133
{{- toYaml .Values.resources | nindent 12 }}
126134
{{- with .Values.nodeSelector }}

charts/client/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,7 @@ migration:
161161
tag: "v1.1.3"
162162
schema:
163163
path: "/sql"
164+
165+
ttl:
166+
ttlInterval: "1"
167+
ttlUnit: MONTH

0 commit comments

Comments
 (0)