Skip to content

Commit

Permalink
Add forgotten config lines for API
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Pavlovskiy committed Aug 19, 2023
1 parent e13283d commit d4b70fe
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .k8s/prod/carres-api-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ data:
keycloak-base-url: http://carres-keycloak:8080
keycloak-issuer-url: https://cars-reservation-sso.nikitades.com/realms/carres-prod
keycloak-realm: carres-prod
amqp-host: rmq-rabbitmq
amqp-virtual-host: carres
25 changes: 25 additions & 0 deletions .k8s/prod/carres-api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,28 @@ spec:
secretKeyRef:
name: carres-api-secret
key: keycloak-client-secret
- name: KEYCLOAK_ADMIN_OAUTH_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: carres-api-secret
key: keycloak-client-secret
- name: SPRING_RABBITMQ_HOST
valueFrom:
configMapKeyRef:
name: carres-api-config
key: amqp-host
- name: SPRING_RABBITMQ_VIRTUAL_HOST
valueFrom:
configMapKeyRef:
name: carres-api-config
key: amqp-virtual-host
- name: SPRING_RABBITMQ_USERNAME
valueFrom:
secretKeyRef:
name: carres-api-secret
key: amqp-username
- name: SPRING_RABBITMQ_password
valueFrom:
secretKeyRef:
name: carres-api-secret
key: amqp-password

0 comments on commit d4b70fe

Please sign in to comment.