added secrets and env variables to openshift deployment
willemjan/glucose-dashboard/pipeline/head There was a failure building this commit
willemjan/glucose-dashboard/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: glucose-dashboard-config
|
||||
data:
|
||||
NIGHTSCOUT_URL: "https://zb-ns.duckdns.org"
|
||||
@@ -19,6 +19,11 @@ spec:
|
||||
containers:
|
||||
- name: glucose-dashboard
|
||||
image: PLACEHOLDER
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: glucose-dashboard-config
|
||||
- secretsRef:
|
||||
name: glucose-dashboard-secrets
|
||||
ports:
|
||||
- containerPort: 8501
|
||||
resources:
|
||||
|
||||
Reference in New Issue
Block a user