Skip to content

Commit

Permalink
fix(charts): make DIM URL optional (#1444)
Browse files Browse the repository at this point in the history
* fix(charts): make DIM URL optional

* pr remarks

* DEPENDENCIES
  • Loading branch information
paullatzelsperger authored Jul 23, 2024
1 parent 4869f45 commit 0496320
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,10 @@ spec:
value: {{ .Values.iatp.sts.oauth.client.id | required ".Values.iatp.sts.oauth.client.id is required" | quote}}
- name: "EDC_IAM_STS_OAUTH_CLIENT_SECRET_ALIAS"
value: {{ .Values.iatp.sts.oauth.client.secret_alias | required ".Values.iatp.sts.oauth.client.secret_alias is required" | quote}}
{{- if .Values.iatp.sts.dim.url }}
- name: "TX_EDC_IAM_STS_DIM_URL"
value: {{ .Values.iatp.sts.dim.url | required ".Values.iatp.sts.dim.url is required" | quote}}
value: {{ .Values.iatp.sts.dim.url | quote}}
{{- end}}

{{- range $index, $issuer := .Values.iatp.trustedIssuers }}
- name: "EDC_IAM_TRUSTED-ISSUER_{{$index}}-ISSUER_ID"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,11 @@ spec:
value: {{ .Values.iatp.sts.oauth.client.id | required ".Values.iatp.sts.oauth.client.id is required" | quote}}
- name: "EDC_IAM_STS_OAUTH_CLIENT_SECRET_ALIAS"
value: {{ .Values.iatp.sts.oauth.client.secret_alias | required ".Values.iatp.sts.oauth.client.secret_alias is required" | quote}}

{{- if .Values.iatp.sts.dim.url }}
- name: "TX_EDC_IAM_STS_DIM_URL"
value: {{ .Values.iatp.sts.dim.url | required ".Values.iatp.sts.dim.url is required" | quote}}
value: {{ .Values.iatp.sts.dim.url | quote}}
{{- end}}

################
## POSTGRESQL ##
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,11 @@ spec:
value: {{ .Values.iatp.sts.oauth.client.id | required ".Values.iatp.sts.oauth.client.id is required" | quote}}
- name: "EDC_IAM_STS_OAUTH_CLIENT_SECRET_ALIAS"
value: {{ .Values.iatp.sts.oauth.client.secret_alias | required ".Values.iatp.sts.oauth.client.secret_alias is required" | quote}}

{{- if .Values.iatp.sts.dim.url }}
- name: "TX_EDC_IAM_STS_DIM_URL"
value: {{ .Values.iatp.sts.dim.url | required ".Values.iatp.sts.dim.url is required" | quote}}
value: {{ .Values.iatp.sts.dim.url | quote}}
{{- end}}

{{- range $index, $issuer := .Values.iatp.trustedIssuers }}
- name: "EDC_IAM_TRUSTED-ISSUER_{{$index}}-ISSUER_ID"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,10 @@ spec:
value: {{ .Values.iatp.sts.oauth.client.id | required ".Values.iatp.sts.oauth.client.id is required" | quote}}
- name: "EDC_IAM_STS_OAUTH_CLIENT_SECRET_ALIAS"
value: {{ .Values.iatp.sts.oauth.client.secret_alias | required ".Values.iatp.sts.oauth.client.secret_alias is required" | quote}}
{{- if .Values.iatp.sts.dim.url }}
- name: "TX_EDC_IAM_STS_DIM_URL"
value: {{ .Values.iatp.sts.dim.url | required ".Values.iatp.sts.dim.url is required" | quote}}
value: {{ .Values.iatp.sts.dim.url | quote}}
{{- end }}

{{- range $index, $issuer := .Values.iatp.trustedIssuers }}
- name: "EDC_IAM_TRUSTED-ISSUER_{{$index}}-ISSUER_ID"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,10 @@ spec:
value: {{ .Values.iatp.sts.oauth.client.id | required ".Values.iatp.sts.oauth.client.id is required" | quote}}
- name: "EDC_IAM_STS_OAUTH_CLIENT_SECRET_ALIAS"
value: {{ .Values.iatp.sts.oauth.client.secret_alias | required ".Values.iatp.sts.oauth.client.secret_alias is required" | quote}}
{{- if .Values.iatp.sts.dim.url }}
- name: "TX_EDC_IAM_STS_DIM_URL"
value: {{ .Values.iatp.sts.dim.url | required ".Values.iatp.sts.dim.url is required" | quote}}
value: {{ .Values.iatp.sts.dim.url | quote}}
{{- end }}

################
## POSTGRESQL ##
Expand Down

0 comments on commit 0496320

Please sign in to comment.