-
Notifications
You must be signed in to change notification settings - Fork 88
/
operator.yaml
67 lines (67 loc) · 2.34 KB
/
operator.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#
# Copyright (c) 2012-2019 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
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
apiVersion: apps/v1
kind: Deployment
metadata:
name: che-operator
spec:
replicas: 1
selector:
matchLabels:
app: che-operator
template:
metadata:
labels:
app: che-operator
spec:
containers:
- name: che-operator
image: quay.io/eclipse/che-operator:nightly
ports:
- containerPort: 60000
name: metrics
command:
- /usr/local/bin/che-operator
imagePullPolicy: Always
env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: che-operator
- name: CHE_VERSION
value: 7.12.0
- name: IMAGE_default_che_server
value: quay.io/eclipse/che-server:7.12.0
- name: IMAGE_default_plugin_registry
value: quay.io/eclipse/che-plugin-registry:7.12.0
- name: IMAGE_default_devfile_registry
value: quay.io/eclipse/che-devfile-registry:7.12.0
- name: IMAGE_default_pvc_jobs
value: registry.access.redhat.com/ubi8-minimal:8.1-409
- name: IMAGE_default_postgres
value: centos/postgresql-96-centos7:9.6
- name: IMAGE_default_keycloak
value: quay.io/eclipse/che-keycloak:7.12.0
- name: IMAGE_default_che_workspace_plugin_broker_metadata
value: quay.io/eclipse/che-plugin-metadata-broker:v3.1.2
- name: IMAGE_default_che_workspace_plugin_broker_artifacts
value: quay.io/eclipse/che-plugin-artifacts-broker:v3.1.2
- name: IMAGE_default_che_server_secure_exposer_jwt_proxy_image
value: quay.io/eclipse/che-jwtproxy:fd94e60
restartPolicy: Always
serviceAccountName: che-operator
terminationGracePeriodSeconds: 5