diff --git a/charts/plgd-hub/templates/resource-directory/config.yaml b/charts/plgd-hub/templates/resource-directory/config.yaml index 9bf94af0c..84ffcba94 100644 --- a/charts/plgd-hub/templates/resource-directory/config.yaml +++ b/charts/plgd-hub/templates/resource-directory/config.yaml @@ -88,7 +88,7 @@ data: publicConfiguration: caPool: {{ .publicConfiguration.caPool | default "/certs/ca.crt" | quote }} {{- if not $.Values.mockoauthserver.enabled }} - authorizationServer: {{ required "resourcedirectory.publicConfiguration.authorizationServer or global.authority is required" ( tpl ( .publicConfiguration.authorizationServer | default $.Values.global.authority ) $ ) | quote }} + authorizationServer: {{ required "resourcedirectory.publicConfiguration.authorizationServer or global.authority is required" ( .publicConfiguration.authorizationServer | default $.Values.global.authority ) | quote }} {{- else }} authorizationServer: {{ include "plgd-hub.mockoauthserver.uri" $ | quote }} {{- end }}