-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathskaffold.yaml
47 lines (45 loc) · 1.6 KB
/
skaffold.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
apiVersion: skaffold/v4beta9
kind: Config
build:
artifacts:
- image: hubimage
profiles:
- name: minikube
deploy:
helm:
releases:
- name: jupyterhub
remoteChart: eoepca/application-hub
namespace: jupyter
version: 4.0.1
createNamespace: true
valuesFiles: []
setValueTemplates:
jupyterhub.hub.image.name: "{{.IMAGE_REPO_hubimage}}"
jupyterhub.hub.image.tag: "{{.IMAGE_TAG_hubimage}}@{{.IMAGE_DIGEST_hubimage}}"
setValues:
jupyterhub.hub.image.pullSecrets: []
jupyterhub.hub.db.pvc.storageClassName: standard
jupyterhub.hub.extraEnv.STORAGE_CLASS: standard
jupyterhub.proxy.secretToken: "032d5bfe141a7eab86d57587879b33c5d168617cacb339823d7f47fe2933f880"
jupyterhub.hub.extraEnv.APP_HUB_NAMESPACE: jupyter
jupyterhub.hub.networkPolicy.enabled: false
setFiles:
configYml: ./files/hub/config.yml
jupyterConfig: ./files/hub/jupyterhub_config.py
hooks:
before:
- host:
command: ["sh", "-c", "config-generator/generate-config.sh"]
os: [darwin, linux]
manifests:
rawYaml:
- sk-k8s/cluster-role-binding.yaml
- sk-k8s/script.yaml
- sk-k8s/job.yaml
portForward:
- resourceType: service
resourceName: application-hub-proxy-public
namespace: jupyter # Optional, if you are using a specific namespace
port: 80 # Target port on the pod
localPort: 8000 # Local port on your machine