Skip to content

Commit 27be631

Browse files
committed
fix: update deployment to skip empty ids
1 parent 272727f commit 27be631

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

charts/tinyauth/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ spec:
130130
value: {{ .Values.tinyauth.oauth.autoRedirect | quote }}
131131
{{- end }}
132132
{{- range .Values.tinyauth.oauth.providers }}
133+
{{- if not .id }}{{- continue }}{{- end }}
133134
{{- $providerId := .id | upper }}
134135
{{- if .clientId }}
135136
- name: TINYAUTH_OAUTH_PROVIDERS_{{ $providerId }}_CLIENTID
@@ -188,6 +189,7 @@ spec:
188189
value: {{ .Values.tinyauth.oidc.publicKeyPath | quote }}
189190
{{- end }}
190191
{{- range .Values.tinyauth.oidc.clients }}
192+
{{- if not .id }}{{- continue }}{{- end }}
191193
{{- $clientId := .id | upper }}
192194
{{- if .clientId }}
193195
- name: TINYAUTH_OIDC_CLIENTS_{{ $clientId }}_CLIENTID

0 commit comments

Comments
 (0)