Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imagestream addition to bump code-server in second place #179

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions bootstrap/ic-rhoai-configuration/images-puller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ spec:
requests:
cpu: 10m
memory: 10Mi
- name: ic-code-server
image: quay.io/modh/codeserver@sha256:4b6b563e75f9e642bac9f21c4a2d8d72d77923fc391dd5dc985d4489c7258ef5
command: ["tail"]
args: ["-f", "/dev/null"]
resources:
limits:
memory: 20Mi
requests:
cpu: 10m
memory: 10Mi
---
apiVersion: apps/v1
kind: DaemonSet
Expand Down
9 changes: 9 additions & 0 deletions bootstrap/ic-rhoai-configuration/job-patch-code-server.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: batch/v1
kind: Job
metadata:
name: patch-code-server
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
template:
spec:
38 changes: 38 additions & 0 deletions bootstrap/ic-rhoai-configuration/workbench-imagestream.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
kind: ImageStream
apiVersion: image.openshift.io/v1
metadata:
Expand Down Expand Up @@ -36,3 +37,40 @@ spec:
importMode: Legacy
referencePolicy:
type: Source
---
kind: ImageStream
apiVersion: image.openshift.io/v1
metadata:
annotations:
opendatahub.io/notebook-image-creator: admin
opendatahub.io/notebook-image-desc: >-
Code-server workbench image to use in the Parasol Insurance workshop.
opendatahub.io/notebook-image-name: CUSTOM - Code Server for Parasol Insurance Lab
opendatahub.io/notebook-image-order: "02"
opendatahub.io/notebook-image-url: >-
https://github.com/red-hat-data-services/notebooks/tree/main/codeserver
opendatahub.io/recommended-accelerators: "[]"
argocd.argoproj.io/sync-wave: "2"
name: ic-code-server
namespace: redhat-ods-applications
labels:
app.kubernetes.io/created-by: byon
opendatahub.io/dashboard: "true"
opendatahub.io/notebook-image: "true"
spec:
lookupPolicy:
local: true
tags:
- name: "2024.1"
annotations:
opendatahub.io/notebook-python-dependencies: '[{"name":"code-server","version":"4.22"}]'
opendatahub.io/notebook-software: '[{"name":"Python","version":"v3.9"}]'
openshift.io/imported-from: quay.io/modh/codeserver
from:
kind: DockerImage
name: >-
quay.io/modh/codeserver@sha256:4b6b563e75f9e642bac9f21c4a2d8d72d77923fc391dd5dc985d4489c7258ef5
importPolicy:
importMode: Legacy
referencePolicy:
type: Source
Loading