diff --git a/charts/zora/templates/tokenrefresh/deployment.yaml b/charts/zora/templates/tokenrefresh/deployment.yaml index b82781e2..01fb1f1b 100644 --- a/charts/zora/templates/tokenrefresh/deployment.yaml +++ b/charts/zora/templates/tokenrefresh/deployment.yaml @@ -11,9 +11,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -{{- if .Values.saas.workspaceID -}} + +{{ if .Values.saas.workspaceID -}} {{ $secretName := (include "zora.saasTokenSecretName" .) -}} -{{- $existingSecret := lookup "v1" "Secret" .Release.Namespace $secretName -}} +{{ $existingSecret := lookup "v1" "Secret" .Release.Namespace $secretName -}} apiVersion: v1 kind: Secret metadata: diff --git a/charts/zora/templates/tokenrefresh/rbac.yaml b/charts/zora/templates/tokenrefresh/rbac.yaml index a17482ce..c4b9ab42 100644 --- a/charts/zora/templates/tokenrefresh/rbac.yaml +++ b/charts/zora/templates/tokenrefresh/rbac.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -{{- if .Values.saas.workspaceID -}} +{{ if .Values.saas.workspaceID -}} {{ if .Values.tokenRefresh.rbac.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount