From ea8cfc04c0f023772c6a2b49087b6d4d02588654 Mon Sep 17 00:00:00 2001 From: Cory Latschkowski Date: Fri, 1 Nov 2024 14:16:44 -0500 Subject: [PATCH] add: code-server --- .../components/code-server/kustomization.yaml | 7 +++++++ .../components/code-server/patch-deployment.yaml | 14 ++++++++++++++ .../overlays/code-server/kustomization.yaml | 8 ++++++++ 3 files changed, 29 insertions(+) create mode 100644 components/app-configs/notebook-standalone/components/code-server/kustomization.yaml create mode 100644 components/app-configs/notebook-standalone/components/code-server/patch-deployment.yaml create mode 100644 components/app-configs/notebook-standalone/overlays/code-server/kustomization.yaml diff --git a/components/app-configs/notebook-standalone/components/code-server/kustomization.yaml b/components/app-configs/notebook-standalone/components/code-server/kustomization.yaml new file mode 100644 index 00000000..02f6c6d8 --- /dev/null +++ b/components/app-configs/notebook-standalone/components/code-server/kustomization.yaml @@ -0,0 +1,7 @@ +apiVersion: kustomize.config.k8s.io/v1alpha1 +kind: Component + +patches: + - path: patch-deployment.yaml + target: + kind: Deployment diff --git a/components/app-configs/notebook-standalone/components/code-server/patch-deployment.yaml b/components/app-configs/notebook-standalone/components/code-server/patch-deployment.yaml new file mode 100644 index 00000000..cea20599 --- /dev/null +++ b/components/app-configs/notebook-standalone/components/code-server/patch-deployment.yaml @@ -0,0 +1,14 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: notebook +spec: + template: + spec: + containers: + - name: notebook + image: docker.io/kubeflownotebookswg/codeserver + volumeMounts: + - name: home + mountPath: /home/jovyan + subPath: data diff --git a/components/app-configs/notebook-standalone/overlays/code-server/kustomization.yaml b/components/app-configs/notebook-standalone/overlays/code-server/kustomization.yaml new file mode 100644 index 00000000..394a64a1 --- /dev/null +++ b/components/app-configs/notebook-standalone/overlays/code-server/kustomization.yaml @@ -0,0 +1,8 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +components: +- ../../components/code-server + +resources: +- ../../base