From 49dfd5e60bc21c9f1ebd5d11e9f796342c5a8daa Mon Sep 17 00:00:00 2001 From: Masaki Muranaka Date: Fri, 31 May 2019 13:25:23 +0900 Subject: [PATCH] Enable to set URLs for custom registries. Signed-off-by: Masaki Muranaka --- deploy/kubernetes/helm/che/templates/configmap.yaml | 6 ++++++ deploy/kubernetes/helm/che/values.yaml | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/deploy/kubernetes/helm/che/templates/configmap.yaml b/deploy/kubernetes/helm/che/templates/configmap.yaml index b12f8012670..496b92caecc 100644 --- a/deploy/kubernetes/helm/che/templates/configmap.yaml +++ b/deploy/kubernetes/helm/che/templates/configmap.yaml @@ -84,6 +84,12 @@ data: {{- if .Values.workspaceDefaultRamLimit }} CHE_WORKSPACE_DEFAULT_MEMORY_LIMIT_MB: {{ .Values.workspaceDefaultRamLimit }} {{- end }} +{{- if .Values.che.workspace.devfileRegistryUrl }} + CHE_WORKSPACE_DEVFILE__REGISTRY__URL: {{ .Values.che.workspace.devfileRegistryUrl }} +{{- end }} +{{- if .Values.che.workspace.pluginRegistryUrl }} + CHE_WORKSPACE_PLUGIN__REGISTRY__URL: {{ .Values.che.workspace.pluginRegistryUrl }} +{{- end }} {{- if .Values.workspaceSidecarDefaultRamLimit }} CHE_WORKSPACE_SIDECAR_DEFAULT__MEMORY__LIMIT__MB: {{ .Values.workspaceSidecarDefaultRamLimit }} {{- end }} diff --git a/deploy/kubernetes/helm/che/values.yaml b/deploy/kubernetes/helm/che/values.yaml index 06e296d4b87..5112d52c003 100644 --- a/deploy/kubernetes/helm/che/values.yaml +++ b/deploy/kubernetes/helm/che/values.yaml @@ -67,6 +67,11 @@ global: fsGroup: 1724 postgresDebugLogs: false +#che: +# workspace: +# devfileRegistryUrl: "https://che-devfile-registry.openshift.io/" +# pluginRegistryUrl: "https://che-plugin-registry.openshift.io/v3" + prometheus: alertmanager: enabled: false