-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: updated PodOverridesAPI.spec.ts to work with aigap cluster
Signed-off-by: mdolhalo <[email protected]>
- Loading branch information
mdolhalo
committed
Aug 22, 2023
1 parent
385afa4
commit b61ee43
Showing
3 changed files
with
41 additions
and
1 deletion.
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
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,37 @@ | ||
kind: DevWorkspace | ||
apiVersion: workspace.devfile.io/v1alpha2 | ||
metadata: | ||
name: code-latest-pod-overrides | ||
spec: | ||
started: true | ||
template: | ||
attributes: | ||
pod-overrides: | ||
metadata: | ||
annotations: | ||
io.openshift.userns: "true" | ||
io.kubernetes.cri-o.userns-mode: "auto:size=65536;map-to-root=true" # <-- user namespace | ||
openshift.io/scc: container-build | ||
spec: | ||
runtimeClassName: kata | ||
schedulerName: stork | ||
projects: | ||
- name: web-nodejs-sample | ||
git: | ||
remotes: | ||
origin: "https://github.com/che-samples/web-nodejs-sample.git" | ||
commands: | ||
- id: say-hello | ||
exec: | ||
component: che-code-runtime-description | ||
commandLine: echo "Hello from $(pwd)" | ||
workingDir: ${PROJECT_SOURCE}/app | ||
contributions: | ||
- name: che-code | ||
uri: http://plugin-registry.openshift-devspaces.svc.cluster.local:8080/v3/plugins/che-incubator/che-code/latest/devfile.yaml | ||
components: | ||
- name: che-code-runtime-description | ||
container: | ||
env: | ||
- name: CODE_HOST | ||
value: 0.0.0.0 |
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