90 lines
3.3 KiB
YAML
90 lines
3.3 KiB
YAML
#
|
|
# 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:
|
|
name: che-operator
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: che-operator
|
|
spec:
|
|
serviceAccountName: che-operator
|
|
containers:
|
|
- name: che-operator
|
|
image: quay.io/eclipse/che-operator:nightly
|
|
ports:
|
|
- containerPort: 60000
|
|
name: metrics
|
|
command:
|
|
- che-operator
|
|
imagePullPolicy: IfNotPresent
|
|
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: nightly
|
|
- name: RELATED_IMAGE_che_server
|
|
value: quay.io/eclipse/che-server:nightly
|
|
- name: RELATED_IMAGE_plugin_registry
|
|
value: quay.io/eclipse/che-plugin-registry:nightly
|
|
- name: RELATED_IMAGE_devfile_registry
|
|
value: quay.io/eclipse/che-devfile-registry:nightly
|
|
- name: RELATED_IMAGE_che_tls_secrets_creation_job
|
|
value: quay.io/eclipse/che-tls-secret-creator:alpine-d1ed4ad
|
|
- name: RELATED_IMAGE_pvc_jobs
|
|
value: registry.access.redhat.com/ubi8-minimal:8.3-201
|
|
- name: RELATED_IMAGE_postgres
|
|
value: centos/postgresql-96-centos7:9.6
|
|
- name: RELATED_IMAGE_keycloak
|
|
value: quay.io/eclipse/che-keycloak:nightly
|
|
- name: RELATED_IMAGE_che_workspace_plugin_broker_metadata
|
|
value: quay.io/eclipse/che-plugin-metadata-broker:v3.4.0
|
|
- name: RELATED_IMAGE_che_workspace_plugin_broker_artifacts
|
|
value: quay.io/eclipse/che-plugin-artifacts-broker:v3.4.0
|
|
- name: RELATED_IMAGE_che_server_secure_exposer_jwt_proxy_image
|
|
value: quay.io/eclipse/che-jwtproxy:0.10.0
|
|
- name: RELATED_IMAGE_single_host_gateway
|
|
value: docker.io/traefik:v2.2.8
|
|
- name: RELATED_IMAGE_single_host_gateway_config_sidecar
|
|
value: quay.io/che-incubator/configbump:0.1.4
|
|
- name: CHE_FLAVOR
|
|
value: che
|
|
- name: CONSOLE_LINK_NAME
|
|
value: che
|
|
- name: CONSOLE_LINK_DISPLAY_NAME
|
|
value: Eclipse Che
|
|
- name: CONSOLE_LINK_SECTION
|
|
value: Red Hat Applications
|
|
- name: CONSOLE_LINK_IMAGE
|
|
value: /dashboard/assets/branding/loader.svg
|
|
- name: CHE_IDENTITY_SECRET
|
|
value: che-identity-secret
|
|
- name: CHE_IDENTITY_POSTGRES_SECRET
|
|
value: che-identity-postgres-secret
|
|
- name: CHE_POSTGRES_SECRET
|
|
value: che-postgres-secret
|
|
- name: CHE_SERVER_TRUST_STORE_CONFIGMAP_NAME
|
|
value: ca-certs
|