Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
chore: update registry deployment configuration (#790)
Browse files Browse the repository at this point in the history
* chore: update registry deployment configuration

Signed-off-by: Valeriy Svydenko <[email protected]>

* update template apiVersion

Signed-off-by: Valeriy Svydenko <[email protected]>

---------

Signed-off-by: Valeriy Svydenko <[email protected]>
  • Loading branch information
svor authored Oct 12, 2023
1 parent f77203d commit a51685f
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions deploy/openshift/che-devfile-registry.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#
# Copyright (c) 2018-2021 Red Hat, Inc.
# Copyright (c) 2018-2023 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
#
---
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
metadata:
name: che-devfile-registry
objects:
- apiVersion: v1
kind: DeploymentConfig
- apiVersion: apps/v1
kind: Deployment
metadata:
name: che-devfile-registry
labels:
Expand All @@ -25,16 +25,17 @@ objects:
spec:
replicas: 1
selector:
app: che
component: devfile-registry
matchLabels:
app: che
component: devfile-registry
strategy:
rollingParams:
type: RollingUpdate
rollingUpdate:
intervalSeconds: 1
maxSurge: 25%
maxUnavailable: 25%
timeoutSeconds: 600
updatePeriodSeconds: 1
type: Rolling
template:
metadata:
labels:
Expand Down Expand Up @@ -107,9 +108,6 @@ objects:
app.kubernetes.io/instance: che
app.kubernetes.io/component: devfile-registry
spec:
tls:
termination:
edge
to:
kind: Service
name: che-devfile-registry
Expand Down

0 comments on commit a51685f

Please sign in to comment.