Skip to content
Snippets Groups Projects
Verified Commit 0fb3c8a6 authored by Jan-Niclas Strüwer's avatar Jan-Niclas Strüwer
Browse files

added env variables populated from secrets to deployment.yaml

parent 4bd1bd8b
No related branches found
No related tags found
1 merge request!9add deploy stage to gitlab ci/cd pipeline
Pipeline #19237 passed
...@@ -39,6 +39,17 @@ spec: ...@@ -39,6 +39,17 @@ spec:
ports: ports:
- name: b-dev-service - name: b-dev-service
containerPort: 8080 containerPort: 8080
env:
- name: OC_GL_APIKEY
valueFrom:
secretKeyRef:
name: backendapisecrets
key: oc_api_key
- name: API_KEY
valueFrom:
secretKeyRef:
name: backendapisecrets
key: api_key
envFrom: envFrom:
- configMapRef: - configMapRef:
name: crdbconf name: crdbconf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.