forked from eclipse-che/che
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make che update Images from registries at startup (eclipse-che#18562)
* Added support for Keycloak admin secret Added support to change endpoint-watcher image Signed-off-by: Eric Ladouceur <eric.ladouceur@cyber.gc.ca> * Added user feedback and validation for Keycloak password Signed-off-by: Eric Ladouceur <eric.ladouceur@cyber.gc.ca> * Apply suggestions from code review Signed-off-by: Eric Ladouceur <eric.ladouceur@cyber.gc.ca> Co-authored-by: Anatolii Bazko <abazko@redhat.com> * Apply suggestions from code review Signed-off-by: Eric Ladouceur <eric.ladouceur@cyber.gc.ca> Co-authored-by: Anatolii Bazko <abazko@redhat.com> * Added feature to registries to update images at startup. Signed-off-by: Eric Ladouceur <eric.ladouceur@cyber.gc.ca> * Trying to improve value names and we use them Signed-off-by: Eric Ladouceur <eric.ladouceur@cyber.gc.ca> * Added missing newline Signed-off-by: Eric Ladouceur <eric.ladouceur@cyber.gc.ca> * Missing newline Signed-off-by: Eric Ladouceur <eric.ladouceur@cyber.gc.ca> * Added checksums to configmap to enable pod restart on configmap change. Signed-off-by: cccs-eric <eric.ladouceur@cyber.gc.ca> * Applied code review changes. Signed-off-by: cccs-eric <eric.ladouceur@cyber.gc.ca> * Update from code review Signed-off-by: cccs-eric <eric.ladouceur@cyber.gc.ca> Co-authored-by: Anatolii Bazko <abazko@redhat.com>
- Loading branch information
Showing
5 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
deploy/kubernetes/helm/che/custom-charts/che-devfile-registry/templates/configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# | ||
# Copyright (c) 2018-2020 Red Hat, Inc. | ||
# This program and the accompanying materials are made | ||
# available under the terms of the Eclipse Public License 2.0 | ||
# which is available at https://www.eclipse.org/legal/epl-2.0/ | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
|
||
kind: ConfigMap | ||
apiVersion: v1 | ||
metadata: | ||
name: che-devfile-registry | ||
data: | ||
{{- with .Values.cheDevfileImagesOverride -}} | ||
{{- with .url }} | ||
CHE_DEVFILE_IMAGES_REGISTRY_URL: {{ . | quote }} | ||
{{- end }} | ||
{{- with .organization }} | ||
CHE_DEVFILE_IMAGES_REGISTRY_ORGANIZATION: {{ . | quote }} | ||
{{- end }} | ||
{{- with .tag }} | ||
CHE_DEVFILE_IMAGES_REGISTRY_TAG: {{ . | quote }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
deploy/kubernetes/helm/che/custom-charts/che-plugin-registry/templates/configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# | ||
# Copyright (c) 2018-2020 Red Hat, Inc. | ||
# This program and the accompanying materials are made | ||
# available under the terms of the Eclipse Public License 2.0 | ||
# which is available at https://www.eclipse.org/legal/epl-2.0/ | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
|
||
kind: ConfigMap | ||
apiVersion: v1 | ||
metadata: | ||
name: che-plugin-registry | ||
data: | ||
{{- with .Values.chePluginSidecarOverride -}} | ||
{{- with .url }} | ||
CHE_SIDECAR_CONTAINERS_REGISTRY_URL: {{ . | quote }} | ||
{{- end }} | ||
{{- with .organization }} | ||
CHE_SIDECAR_CONTAINERS_REGISTRY_ORGANIZATION: {{ . | quote }} | ||
{{- end }} | ||
{{- with .tag }} | ||
CHE_SIDECAR_CONTAINERS_REGISTRY_TAG: {{ . | quote }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters