Skip to content

Commit

Permalink
add registry viewer tag parameter to OpenShift deployment template (#529
Browse files Browse the repository at this point in the history
)

Signed-off-by: Michael Valdron <[email protected]>
  • Loading branch information
michael-valdron authored Dec 17, 2024
1 parent dd05f1b commit 9fd647d
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions .ci/deploy/devfile-registry.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#
# Copyright 2021-2023 Red Hat, Inc.
# Copyright Red Hat
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: template.openshift.io/v1
kind: Template
Expand Down Expand Up @@ -106,7 +106,7 @@ objects:
value: ${REGISTRY_NAME}
- name: TELEMETRY_KEY
value: ${TELEMETRY_KEY}
- image: ${REGISTRY_VIEWER_IMAGE}:${IMAGE_TAG}
- image: ${REGISTRY_VIEWER_IMAGE}:${REGISTRY_VIEWER_IMAGE_TAG}
imagePullPolicy: "${REGISTRY_VIEWER_PULL_POLICY}"
name: devfile-registry-viewer
securityContext:
Expand Down Expand Up @@ -252,10 +252,6 @@ parameters:
value: quay.io/devfile/devfile-index
displayName: Devfile registry index image
description: Devfile registry index docker image. Defaults to quay.io/devfile/devfile-index
- name: REGISTRY_VIEWER_IMAGE
value: quay.io/devfile/registry-viewer
displayName: Devfile registry viewer image
description: Devfile registry viewer docker image. Defaults to quay.io/devfile/registry-viewer
- name: IMAGE_TAG
value: next
displayName: Devfile registry version
Expand All @@ -268,6 +264,14 @@ parameters:
value: Always
displayName: Devfile registry image pull policy
description: Always pull by default. Can be IfNotPresent
- name: REGISTRY_VIEWER_IMAGE
value: quay.io/devfile/registry-viewer
displayName: Devfile registry viewer image
description: Devfile registry viewer docker image. Defaults to quay.io/devfile/registry-viewer
- name: REGISTRY_VIEWER_IMAGE_TAG
value: next
displayName: Devfile registry viewer version
description: Devfile registry viewer version which defaults to next
- name: REGISTRY_VIEWER_MEMORY_LIMIT
value: 256Mi
displayName: Memory Limit
Expand Down

0 comments on commit 9fd647d

Please sign in to comment.