You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

91 lines
2.4 KiB

apiVersion: v1
kind: Namespace
metadata:
annotations:
argocd.argoproj.io/sync-wave: "0"
openshift.io/description: ""
openshift.io/display-name: ""
labels:
kubernetes.io/metadata.name: openshift-devspaces
name: openshift-devspaces
spec:
finalizers:
- kubernetes
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
annotations:
argocd.argoproj.io/sync-wave: "10"
labels:
operators.coreos.com/devspaces.openshift-operators: ""
name: devspaces
namespace: openshift-operators
spec:
channel: stable
installPlanApproval: Automatic
name: devspaces
source: redhat-operators
sourceNamespace: openshift-marketplace
startingCSV: devspacesoperator.v3.6.0-0.1685320856.p
---
apiVersion: org.eclipse.che/v2
kind: CheCluster
metadata:
annotations:
argocd.argoproj.io/sync-wave: "15"
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
name: devspaces
namespace: openshift-devspaces
spec:
components:
cheServer:
debug: false
logLevel: INFO
metrics:
enable: true
pluginRegistry:
# Raising the CPU (and memory limits) because, on old hardware, the
# plugin registry is too slow to start and does not get a chance
# to start within the alloted time frame.
deployment:
containers:
- name: plugin-registry
resources:
limits:
cpu: '4'
memory: 8Gi
containerRegistry: {}
devEnvironments:
startTimeoutSeconds: 300
secondsOfRunBeforeIdling: -1
maxNumberOfWorkspacesPerUser: -1
containerBuildConfiguration:
openShiftSecurityContextConstraint: container-build
defaultNamespace:
autoProvision: true
template: <username>-devspaces
secondsOfInactivityBeforeIdling: 1800
storage:
# Because our default storage class has it "volumeBindingMode"
# set to "WaitForFirstConsumer", switching to ephemeral storage.
pvcStrategy: ephemeral
gitServices: {}
networking: {}
---
kind: Secret
apiVersion: v1
metadata:
name: github-oauth-config
namespace: openshift-devspaces
labels:
app.kubernetes.io/part-of: che.eclipse.org
app.kubernetes.io/component: oauth-scm-configuration
annotations:
argocd.argoproj.io/sync-wave: "20"
che.eclipse.org/oauth-scm-server: github
che.eclipse.org/scm-server-endpoint: https://github.com
type: Opaque
stringData:
id: {{ .Values.githubClientId }}
secret: {{ .Values.githubClientSecret }}