Skip to content

Commit

Permalink
#357: Refactor namespace in yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
FranSlot committed Feb 9, 2024
1 parent 580adf0 commit f845b53
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
5 changes: 4 additions & 1 deletion deployment/kubernetes/base/rap/rap-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ spec:
value: https://localhost
- name: RAP_DEPLOYMENT
value: Kubernetes

- name: RAP_STUDENT_PROTO_LOG_CONFIG
value: logging.yaml
- name: RAP_KUBERNETES_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
envFrom:
- configMapRef:
name: administration-configmap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@ spec:
value: rap-db-dev
- name: RAP_HOST_NAME
value: dev.rap.tarski.nl
- name: RAP_KUBERNETES_NAMESPACE
value: rap-dev
- name: RAP_STUDENT_PROTO_IMAGE
value: ampersandtarski/rap4-student-prototype:dev-latest
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,5 @@ spec:
env:
- name: AMPERSAND_DBHOST
value: rap-db-production
- name: RAP_KUBERNETES_NAMESPACE
value: rap-production
- name: RAP_STUDENT_PROTO_IMAGE
value: ampersandtarski/rap4-student-prototype:production-latest
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@ spec:
value: rap-db-staging
- name: RAP_HOST_NAME
value: staging.rap.tarski.nl
- name: RAP_KUBERNETES_NAMESPACE
value: rap-staging
- name: RAP_STUDENT_PROTO_IMAGE
value: ampersandtarski/rap4-student-prototype:staging-latest

0 comments on commit f845b53

Please sign in to comment.