Skip to content

Commit

Permalink
🐛 fix(chart): Added environment variables for link service DB paramet…
Browse files Browse the repository at this point in the history
…ers in helm chart
  • Loading branch information
kiyo-s committed Nov 3, 2024
1 parent b589f84 commit eb55fd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/templates/like-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ spec:
value: {{ quote .Values.likeService.deployment.container.env.API_PATH }}
- name: USER_AUTH_SERVICE_ADDRESS
value: {{ quote .Values.likeService.deployment.container.env.USER_AUTH_SERVICE_ADDRESS }}
- name: DB_HOST
value: {{ quote .Values.likeService.deployment.container.env.DB_HOST }}
- name: DB_PORT
value: {{ quote .Values.likeService.deployment.container.env.DB_PORT }}
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
Expand Down
2 changes: 2 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,8 @@ likeService:
SERVER_PORT: 8000
API_PATH: /like-service
USER_AUTH_SERVICE_ADDRESS: unguard-user-auth-service
DB_HOST: "{{ .Values.mariaDB.serviceName }}"
DB_PORT: "3306"
MARIADB_PASSWORD:
secretKeyRef:
name: "{{ .Values.mariaDB.serviceName }}"
Expand Down

0 comments on commit eb55fd6

Please sign in to comment.