Skip to content

Commit 097ac2f

Browse files
lijianguoduanhongyi
authored andcommitted
chore(chart): set the domain depends cert_manager_enabled
1 parent a1317c0 commit 097ac2f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

charts/controller/templates/_helpers.tpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,11 @@ env:
142142
{{- end }}
143143
{{- if eq .Values.global.passport_location "on-cluster"}}
144144
- name: "DRYCC_PASSPORT_DOMAIN"
145+
{{- if eq .Values.global.cert_manager_enabled "true" }}
146+
value: https://drycc-passport.{{ .Values.global.platform_domain }}
147+
{{- else }}
145148
value: http://drycc-passport.{{ .Values.global.platform_domain }}
149+
{{- end }}
146150
- name: "SOCIAL_AUTH_DRYCC_AUTHORIZATION_URL"
147151
value: "$(DRYCC_PASSPORT_DOMAIN)/oauth/authorize/"
148152
- name: "SOCIAL_AUTH_DRYCC_ACCESS_TOKEN_URL"

0 commit comments

Comments
 (0)