Skip to content

Commit 65f0e20

Browse files
committed
ConfigMap values
1 parent 6751b58 commit 65f0e20

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

charts/keepup/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v1
22
name: keepup
3-
version: 1.3.0
3+
version: 1.3.1
44
appVersion: 1.2.0

charts/keepup/templates/confiig.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ metadata:
44
name: keepup-config
55
namespace: keepup
66
data:
7-
APP_ENV: "prod"
8-
REDIS_ADDR: "127.0.0.1"
9-
REDIS_PORT: "6379"
10-
REDIS_DBNO: "7"
11-
TTL_SECONDS: "21600"
7+
APP_ENV: {{ .Values.appEnv | quote }}
8+
REDIS_ADDR: {{ .Values.redisAddr | quote }}
9+
REDIS_PORT: {{ .Values.redisPort | quote }}
10+
REDIS_DBNO: {{ .Values.redisDbNo | quote }}
11+
TTL_SECONDS: {{ .Values.ttlSeconds | quote }}

charts/keepup/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@ annotations: {}
3131
# "prometheus.io/path": '/metrics'
3232

3333
apiToken: ''
34+
appEnv: prod
35+
redisAddr: 127.0.0.1
36+
redisPort: '6379'
37+
redisDbNo: '7'
38+
ttlSeconds: '21600'

0 commit comments

Comments
 (0)