Skip to content
Snippets Groups Projects
Unverified Commit c2e4f67f authored by phlg's avatar phlg Committed by GitHub
Browse files

Add "packageManagerUrl" in _configmap.tpl (#76)

* feature: add "packageManagerUrl" in _configmap.tpl

This is a prerequisite for further configuration in the various RStudio charts, following the recent PRs in Onyxia

* fix: duplicate line, unwanted comma
parent de2d0dfa
No related branches found
No related tags found
No related merge requests found
apiVersion: v2
name: library-chart
version: 1.3.15
version: 1.4.0
type: library
......@@ -312,7 +312,7 @@ data:
{{/* Create the name of the config map repository to use */}}
{{- define "library-chart.repository.enabled" -}}
{{- default "" (or (or .Values.repository.pipRepository .Values.repository.condaRepository) .Values.repository.rRepository) }}
{{- default "" (or (or (or .Values.repository.pipRepository .Values.repository.condaRepository) .Values.repository.rRepository) .Values.repository.packageManagerUrl) }}
{{- end }}
{{- define "library-chart.configMapNameRepository" -}}
......@@ -343,6 +343,9 @@ data:
{{- if .Values.repository.rRepository }}
R_REPOSITORY: "{{ .Values.repository.rRepository }}"
{{- end }}
{{- if .Values.repository.packageManagerUrl }}
PACKAGE_MANAGER_URL: "{{ .Values.repository.packageManagerUrl }}"
{{- end }}
{{- end }}
{{- end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment