Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafaeltuelho/e42d4a3a146cbfc39b333c560ce2647b to your computer and use it in GitHub Desktop.
Save rafaeltuelho/e42d4a3a146cbfc39b333c560ce2647b to your computer and use it in GitHub Desktop.
Openshift DevSpaces 3.2 CRD sample
apiVersion: org.eclipse.che/v2
kind: CheCluster
metadata:
name: devspaces
namespace: ocp-devspaces
spec:
components:
cheServer:
debug: false
logLevel: INFO
dashboard: {}
database:
credentialsSecretName: postgres-credentials
externalDb: false
postgresDb: dbche
postgresHostName: postgres
postgresPort: '5432'
pvc:
claimSize: 1Gi
devWorkspace:
runningLimit: '5'
devfileRegistry: {}
imagePuller:
enable: true
# spec:
# images: >-
# devspaces-theia-plugin-registry-image-gmxdecq=registry.redhat.io/devspaces/theia-rhel8@sha256:0f550ba6a88ca8e29bbba1c41829013f88208f47c169f9d1db911866285c684d;devspaces-theia-endpoint-devfile-registry-image-gmxdecq=registry.redhat.io/devspaces/theia-endpoint-rhel8@sha256:e1b120b445f5ac484ba90c04357a2b218e4c990bbdbedbcdb347565c29cb1ea8;devspaces-theia-endpoint-plugin-registry-image-gmxdecq=registry.redhat.io/devspaces/theia-endpoint-rhel8@sha256:e1b120b445f5ac484ba90c04357a2b218e4c990bbdbedbcdb347565c29cb1ea8;devspaces-theia-devfile-registry-image-gmxdecq=registry.redhat.io/devspaces/theia-rhel8@sha256:0f550ba6a88ca8e29bbba1c41829013f88208f47c169f9d1db911866285c684d;devspaces-machineexec-plugin-registry-image-gmxdecq=registry.redhat.io/devspaces/machineexec-rhel8@sha256:30dff710196f7061066932a69ca4d3f680d88c95e2883dd5809d43d3e4a8e39f;code-rhel8=registry.redhat.io/devspaces/code-rhel8@sha256:42da1996453b6594233a5772473a88f32c5c52191899c05b99032a70ce459534;idea-rhel8=registry.redhat.io/devspaces/idea-rhel8@sha256:ea2c269d7e8907a7cce68e554e0f6cede9f1f811b2dbfcea2b0ed67cd8709ca5;udi-rhel8=registry.redhat.io/devspaces/udi-rhel8@sha256:72762feb5ccea26dc7872877b9661fb34a295da05b96581d364c507a4923361e;project-clone=registry.redhat.io/devworkspace/devworkspace-project-clone-rhel8@sha256:7b562a39e7aa3e15063d5634ec9b4dd4a9041b6cde74e9ae3394104eb3e1b886
metrics:
enable: true
pluginRegistry: {}
containerRegistry: {}
devEnvironments:
defaultNamespace:
template: <username>-devspaces
secondsOfInactivityBeforeIdling: -1
secondsOfRunBeforeIdling: -1
storage:
pvcStrategy: per-workspace
networking:
auth:
gateway:
configLabels:
app: che
component: che-gateway-config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment