-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from eformat/ocp-4.11
🦠 ocp 4.11 deploy 🦠
- Loading branch information
Showing
10 changed files
with
200 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
schemaVersion: 2.1.0 | ||
metadata: | ||
name: tl500 | ||
attributes: | ||
che-theia.eclipse.org/sidecar-policy: USE_DEV_CONTAINER | ||
controller.devfile.io/devworkspace-config: | ||
name: devworkspace-config | ||
namespace: tl500-workspaces | ||
controller.devfile.io/storage-type: per-workspace | ||
metadata-name-field: generateName | ||
metadata-name-original-value: tl500- | ||
projects: | ||
- attributes: | ||
source-origin: branch | ||
clonePath: tech-exercise | ||
git: | ||
checkoutFrom: | ||
revision: main | ||
remotes: | ||
origin: 'https://github.com/rht-labs/tech-exercise' | ||
name: tech-exercise | ||
components: | ||
- container: | ||
args: | ||
- /bin/sh | ||
- '-c' | ||
- sleep infinity | ||
endpoints: | ||
- attributes: | ||
discoverable: 'true' | ||
protocol: http | ||
public: 'true' | ||
exposure: public | ||
name: ide-8080 | ||
protocol: http | ||
targetPort: 8080 | ||
- attributes: | ||
discoverable: 'true' | ||
protocol: http | ||
public: 'true' | ||
exposure: public | ||
name: ide-9000 | ||
protocol: http | ||
targetPort: 9000 | ||
- attributes: | ||
discoverable: 'true' | ||
protocol: http | ||
public: 'true' | ||
exposure: public | ||
name: ide-3000 | ||
protocol: http | ||
targetPort: 3000 | ||
- attributes: | ||
discoverable: 'true' | ||
protocol: http | ||
public: 'true' | ||
exposure: public | ||
name: ide-4200 | ||
protocol: http | ||
targetPort: 4200 | ||
- attributes: | ||
protocol: http | ||
exposure: public | ||
name: ide-4444 | ||
protocol: http | ||
targetPort: 4444 | ||
- attributes: | ||
discoverable: 'true' | ||
protocol: http | ||
public: 'true' | ||
exposure: public | ||
name: ide-8081 | ||
protocol: http | ||
targetPort: 8081 | ||
- attributes: | ||
discoverable: 'true' | ||
protocol: http | ||
public: 'true' | ||
exposure: public | ||
name: ide-8082 | ||
protocol: http | ||
targetPort: 8082 | ||
- attributes: | ||
discoverable: 'true' | ||
protocol: http | ||
public: 'true' | ||
exposure: public | ||
name: ide-8083 | ||
protocol: http | ||
targetPort: 8083 | ||
- attributes: | ||
discoverable: 'true' | ||
protocol: http | ||
public: 'true' | ||
exposure: public | ||
name: ide-8084 | ||
protocol: http | ||
targetPort: 8084 | ||
image: 'quay.io/rht-labs/stack-tl500:3.0.16' | ||
memoryLimit: 2Gi | ||
mountSources: true | ||
sourceMapping: /projects | ||
volumeMounts: | ||
- name: projects | ||
path: /projects | ||
- name: config | ||
path: /home/developer/.config | ||
- name: npm | ||
path: /home/developer/.npm | ||
name: stack-tl500 | ||
- name: projects | ||
volume: {} | ||
- name: config | ||
volume: {} | ||
- name: npm | ||
volume: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# OpenShift 411 override values | ||
|
||
operators: | ||
codeready-workspaces: # undefine | ||
|
||
devspaces: | ||
enabled: true | ||
namespace: openshift-operators | ||
subscription: | ||
channel: stable | ||
approval: Automatic | ||
operatorName: devspaces | ||
sourceName: redhat-operators | ||
sourceNamespace: openshift-marketplace | ||
operatorgroup: | ||
create: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,4 +37,4 @@ spec: | |
pvcStrategy: per-workspace | ||
pvcClaimSize: 2Gi | ||
preCreateSubPaths: true | ||
{{- end }} | ||
{{- end }} |
28 changes: 28 additions & 0 deletions
28
tooling/charts/tl500-course-content/templates/crw/crwv2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{{- if .Values.crwv2 }} | ||
apiVersion: org.eclipse.che/v2 | ||
kind: CheCluster | ||
metadata: | ||
annotations: | ||
"helm.sh/hook": post-install,post-upgrade | ||
"helm.sh/hook-weight": "25" | ||
name: {{ .Values.crwv2.name | default "codeready-workspaces" | quote }} | ||
namespace: {{ .Values.crwv2.namespace | default "tl500-workspaces" | quote }} | ||
spec: | ||
components: | ||
database: | ||
externalDb: false | ||
metrics: | ||
enable: false | ||
cheServer: | ||
debug: false | ||
logLevel: INFO | ||
extraProperties: {{ toYaml .Values.crwv2.properties | nindent 8 | default "" }} | ||
devEnvironments: | ||
runningLimit: 1 | ||
secondsOfRunBeforeIdling: {{ .Values.crwv2.secondsOfRunBeforeIdling | default "-1" | quote }} | ||
defaultNamespace: | ||
template: <username>-devspaces | ||
secondsOfInactivityBeforeIdling: {{ .Values.crwv2.secondsOfInactivityBeforeIdling | default "-1" | quote }} | ||
storage: | ||
pvcStrategy: per-user | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# OpenShift 411 extra values | ||
|
||
crw: # undefine v1 | ||
|
||
crwv2: | ||
namespace: tl500-workspaces | ||
name: "codeready-workspaces" | ||
secondsOfRunBeforeIdling: "-1" | ||
secondsOfInactivityBeforeIdling: "-1" | ||
properties: | ||
CHE_LIMITS_USER_WORKSPACES_COUNT: "2" | ||
CHE_WORKSPACE_DEFAULT__MEMORY__LIMIT__MB: "3072" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,6 @@ logging: | |
|
||
kibana: {} | ||
|
||
|
||
crw: | ||
namespace: tl500-workspaces | ||
name: "codeready-workspaces" | ||
|