Check for repo token before exporting
@@ -54,7 +54,9 @@ data:
POLYAXON_PRIVATE_REGISTRY_{{ $index }}: {{ toJson $val | b64enc | quote }}
{{- end }}
{{- end }}
+ {{- if .Values.reposAccessToken }}
POLYAXON_REPOS_ACCESS_TOKEN: {{ default "" .Values.reposAccessToken | b64enc | quote }}
+ {{- end }}
---
{{ if not .Values.postgresql.enabled }}
apiVersion: v1
