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:
|
containers:
|
||||||
- name: glucose-dashboard
|
- name: glucose-dashboard
|
||||||
image: PLACEHOLDER
|
image: PLACEHOLDER
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: glucose-dashboard-config
|
||||||
|
- secretsRef:
|
||||||
|
name: glucose-dashboard-secrets
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8501
|
- containerPort: 8501
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
Reference in New Issue
Block a user