Skip to content
Snippets Groups Projects
Commit 3b7254f1 authored by Philippe Lagardère's avatar Philippe Lagardère
Browse files

Ajout template CM + modif values.yaml

parent b8829b69
No related branches found
No related tags found
No related merge requests found
Showing
with 74 additions and 9 deletions
{{ include "library-chart.configMapProxyRepository" . }}
\ No newline at end of file
......@@ -88,6 +88,12 @@ git:
token: ""
repository: ""
branch: ""
proxyRepository:
enabled: false
configMapName: ""
pipRepository: ""
condaRepository: ""
#active ou non la recherche d'un hiveMetastore dans le namespace
# see configmap-hive.yaml et helpers template
......
{{ include "library-chart.configMapProxyRepository" . }}
\ No newline at end of file
......@@ -88,6 +88,12 @@ git:
token: ""
repository: ""
branch: ""
proxyRepository:
enabled: false
configMapName: ""
pipRepository: ""
condaRepository: ""
#active ou non la recherche d'un hiveMetastore dans le namespace
# see configmap-hive.yaml et helpers template
......
{{ include "library-chart.configMapProxyRepository" . }}
\ No newline at end of file
......@@ -64,6 +64,12 @@ git:
token: ""
repository: ""
branch: ""
proxyRepository:
enabled: false
configMapName: ""
pipRepository: ""
condaRepository: ""
#active ou non la recherche d'un hiveMetastore dans le namespace
# see configmap-hive.yaml et helpers template
......
......@@ -17,15 +17,6 @@ security:
enabled: true
ip: "0.0.0.0/0"
proxyRepository:
enabled: true
configMapName: ""
# TODO : vérifier si on peut utiliser une seule URL pour global.index et global.index-url
pipRepository: "https://nexus.insee.fr/repository/pypi-public/simple"
condaRepository: "https://nexus.insee.fr/repository/conda-proxy/main"
# TODO : vérifier valeur pour proxy R, peut-être limité à nexus.insee.fr/
rRepository: "https://nexus.insee.fr/repository/r_public/main"
init:
standardInitPath: "/opt/onyxia-init.sh"
regionInit: ""
......@@ -73,6 +64,12 @@ git:
token: ""
repository: ""
branch: ""
proxyRepository:
enabled: false
configMapName: ""
pipRepository: ""
condaRepository: ""
#active ou non la recherche d'un hiveMetastore dans le namespace
# see configmap-hive.yaml et helpers template
......
{{ include "library-chart.configMapProxyRepository" . }}
\ No newline at end of file
......@@ -64,6 +64,12 @@ git:
token: ""
repository: ""
branch: ""
proxyRepository:
enabled: false
configMapName: ""
pipRepository: ""
condaRepository: ""
#active ou non la recherche d'un hiveMetastore dans le namespace
# see configmap-hive.yaml et helpers template
......
{{ include "library-chart.configMapProxyRepository" . }}
\ No newline at end of file
......@@ -64,6 +64,12 @@ git:
token: ""
repository: ""
branch: ""
proxyRepository:
enabled: false
configMapName: ""
pipRepository: ""
condaRepository: ""
#active ou non la recherche d'un hiveMetastore dans le namespace
# see configmap-hive.yaml et helpers template
......
{{ include "library-chart.configMapProxyRepository" . }}
\ No newline at end of file
......@@ -64,6 +64,11 @@ git:
token: ""
repository: ""
branch: ""
proxyRepository:
enabled: false
configMapName: ""
rRepository: ""
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
......
{{ include "library-chart.configMapProxyRepository" . }}
\ No newline at end of file
......@@ -64,6 +64,12 @@ git:
token: ""
repository: ""
branch: ""
proxyRepository:
enabled: false
configMapName: ""
pipRepository: ""
condaRepository: ""
#active ou non la recherche d'un hiveMetastore dans le namespace
# see configmap-hive.yaml et helpers template
......
{{ include "library-chart.configMapProxyRepository" . }}
\ No newline at end of file
......@@ -64,6 +64,12 @@ git:
token: ""
repository: ""
branch: ""
proxyRepository:
enabled: false
configMapName: ""
pipRepository: ""
condaRepository: ""
#active ou non la recherche d'un hiveMetastore dans le namespace
# see configmap-hive.yaml et helpers template
......
......@@ -292,8 +292,14 @@ metadata:
{{- include "library-chart.labels" . | nindent 4 }}
data:
# TODO : si valeur manquante, ne pas définir les varenv
{{- if .Values.proxyRepository.pipRepository }}
PIP_REPOSITORY: "{{ .Values.proxyRepository.pipRepository }}"
{{- end }}
{{- if .Values.proxyRepository.condaRepository }}
CONDA_REPOSITORY: "{{ .Values.proxyRepository.condaRepository }}"
{{- end }}
{{- if .Values.proxyRepository.rRepository }}
R_REPOSITORY: "{{ .Values.proxyRepository.rRepository }}"
{{- end }}
{{- end }}
{{- end }}
\ No newline at end of file
{{ include "library-chart.configMapProxyRepository" . }}
\ No newline at end of file
......@@ -59,6 +59,12 @@ git:
cache: ""
branch: ""
proxyRepository:
enabled: false
configMapName: ""
pipRepository: ""
condaRepository: ""
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
......
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