Skip to content

Commit

Permalink
Fix events environment
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed Nov 2, 2023
1 parent c7adfba commit 0aa7971
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions apps/events/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,25 @@ spec:
- name: SERVER_ADDRESS
value: "0.0.0.0"
- name: SPRING_MAIL_HOST
value: null
valueFrom:
secretKeyRef:
name: mail
key: host
- name: SPRING_MAIL_PORT
value: null
valueFrom:
secretKeyRef:
name: mail
key: port
- name: SPRING_MAIL_USERNAME
value: null
valueFrom:
secretKeyRef:
name: mail
key: username
- name: SPRING_MAIL_PASSWORD
value: null
valueFrom:
secretKeyRef:
name: mail
Expand All @@ -92,11 +96,13 @@ spec:
- name: JAVA_OPTS
value: -Xms128m -Xmx192m
- name: SPRING_DATASOURCE_USERNAME
value: null
valueFrom:
secretKeyRef:
name: postgres
key: username
- name: SPRING_DATASOURCE_PASSWORD
value: null
valueFrom:
secretKeyRef:
name: postgres
Expand All @@ -114,6 +120,7 @@ spec:
- name: SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_WISVCHCONNECT_CLIENT_ID
value: events-cloud
- name: SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_WISVCHCONNECT_CLIENT_SECRET
value: null
valueFrom:
secretKeyRef:
name: events
Expand All @@ -139,6 +146,7 @@ spec:
- name: MOLLIE_CLIENTURI
value: https://ch.tudelft.nl/events
- name: MOLLIE_APIKEY
value: null
valueFrom:
secretKeyRef:
name: events
Expand Down
2 changes: 2 additions & 0 deletions apps/events/httproute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: HTTPRoute
metadata:
name: events-wisvch-redirect
namespace: default
labels:
app: events
spec:
parentRefs:
- kind: Gateway
Expand Down
2 changes: 1 addition & 1 deletion apps/events/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ apiVersion: v1
kind: Service
metadata:
name: events
namespace: default
labels:
app: events
namespace: default
spec:
type: ClusterIP
ports:
Expand Down

0 comments on commit 0aa7971

Please sign in to comment.