Skip to content

Commit

Permalink
Missing RDS var
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Montesinos authored and Carlos Montesinos committed Aug 28, 2023
1 parent 055cc12 commit 88f8655
Show file tree
Hide file tree
Showing 5 changed files with 236 additions and 223 deletions.
2 changes: 1 addition & 1 deletion dataops-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.10
version: 1.0.11

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
8 changes: 5 additions & 3 deletions dataops-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,21 @@ spec:
- name: HOST
value: {{ .Values.appConfig.HOST }}
# Relational Database
# Relational Database
{{- if not .Values.appConfig.tenant_id }}
- name: RDS_HOST
value: "postgres.utility"
value: {{ .Values.appConfig.RDS_HOST | quote }}
{{- else }}
- name: RDS_HOST
value: "postgres.{{ .Values.appConfig.tenant_id }}-utility"
{{- end}}

- name: RDS_PORT
value: {{ .Values.appConfig.RDS_PORT | quote }}
- name: RDS_NAME
value: {{ .Values.appConfig.RDS_NAME | quote }}
value: {{ .Values.appConfig.RDS_DBNAME | quote }}
- name: RDS_USERNAME
value: {{ .Values.appConfig.RDS_USERNAME | quote }}
value: {{ .Values.appConfig.RDS_USER | quote }}
- name: RDS_SCHEMA
value: {{ .Values.appConfig.RDS_SCHEMA | quote }}
- name: RDS_ECHO_SQL_QUERIES
Expand Down
1 change: 1 addition & 0 deletions dataops-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ appConfig:

OPEN_TELEMETRY_ENABLED: true
HOST: "0.0.0.0"
RDS_HOST: postgres.utility
RDS_PORT: 5432
RDS_NAME: dataops
RDS_USERNAME: postgres
Expand Down
Binary file added docs/dataops-service-1.0.11.tgz
Binary file not shown.
Loading

0 comments on commit 88f8655

Please sign in to comment.