Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
helm-charts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KaaS
helm-charts
Commits
1d6de63c
Commit
1d6de63c
authored
1 year ago
by
Ines Ouled Elhaj
Browse files
Options
Downloads
Patches
Plain Diff
add configmaps volumes
parent
d4eb562a
No related branches found
No related tags found
1 merge request
!1
add hub configmaps
Pipeline
#193846
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
charts/jupyter-hub-customizations/templates/configmap_values.yaml
+108
-0
108 additions, 0 deletions
...upyter-hub-customizations/templates/configmap_values.yaml
with
108 additions
and
0 deletions
charts/jupyter-hub-customizations/templates/configmap_values.yaml
+
108
−
0
View file @
1d6de63c
...
@@ -39,6 +39,114 @@ data:
...
@@ -39,6 +39,114 @@ data:
secretKeyRef:
secretKeyRef:
name: {{ .Values.oauthSecret }}
name: {{ .Values.oauthSecret }}
key: client_secret
key: client_secret
extraVolumes:
- name: shared-data
emptyDir: {}
- name: init-script
configMap:
defaultMode: 400
name: {{ .Values.global.name }}-init-script
- name: check-frontend-files
configMap:
defaultMode: 400
name: {{ .Values.global.name }}-check-frontend-files
- name: sidecar-nginx-config
configMap:
defaultMode: 400
name: {{ .Values.global.name }}-sidecar-nginx-config
- name: reservation-keypair
secret:
secretName: reservation-keypair
- name: tunnel-certs
secret:
secretName: tunnel-certs-public
items:
- key: tls.ca
path: ca.pem
- name: twofa-keypair
secret:
secretName: twofa-keypair
items:
- key: ssh-privatekey
path: twofa
mode: 0400
- name: twofa-remove-keypair
secret:
secretName: twofa-remove-keypair
items:
- key: ssh-privatekey
path: twofa
mode: 0400
- name: tz-config
hostPath:
path: /usr/share/zoneinfo/Europe/Berlin
initContainers:
- name: prepare-shared-data
image: alpine:3.18
imagePullPolicy: Always
command: ["/bin/sh"]
args:
- -c
- >-
apk add bash git &&
/bin/bash /mnt/init_script/..data/run.sh &&
/bin/bash /mnt/check_frontend_files/..data/run.sh once &&
mkdir -p /mnt/shared-data/reservation_key &&
cp -rp /mnt/reservation-keypair/..data/* /mnt/shared-data/reservation_key/. &&
chown 1000:1000 -R /mnt/shared-data/reservation_key &&
chmod 400 /mnt/shared-data/reservation_key/*
volumeMounts:
- name: shared-data
mountPath: /mnt/shared-data
- name: persistent
mountPath: /mnt/persistent
- name: internal-ssl
mountPath: /mnt/internal_ssl
readOnly: true
- name: reservation-keypair
mountPath: /mnt/reservation-keypair
- name: init-script
mountPath: /mnt/init_script
- name: check-frontend-files
mountPath: /mnt/check_frontend_files
- name: twofa-keypair
mountPath: /mnt/twofa_keypair
- name: twofa-remove-keypair
mountPath: /mnt/twofa_remove_keypair
extraContainers:
- name: check-frontend-files
image: alpine:3.18
imagePullPolicy: Always
command: ["/bin/sh"]
args:
- -c
- >-
apk add bash git &&
/bin/bash /mnt/check_frontend_files/..data/run.sh
volumeMounts:
- name: shared-data
mountPath: /mnt/shared-data
- name: check-frontend-files
mountPath: /mnt/check_frontend_files
- name: tz-config
mountPath: /etc/localtime
- name: sidecar-nginx
image: nginx:1.25.3-alpine3.18-slim
imagePullPolicy: Always
ports:
- containerPort: 8070
protocol: TCP
volumeMounts:
- name: shared-data
mountPath: /mnt/shared-data
- name: sidecar-nginx-config
mountPath: /etc/nginx/nginx.conf
subPath: nginx.conf
- name: sidecar-nginx-config
mountPath: /etc/nginx/conf.d/jupyter.conf
subPath: jupyter.conf
- name: tz-config
mountPath: /etc/localtime
proxy:
proxy:
chp:
chp:
defaultTarget: "https://{{ .Values.global.name }}-hub:8081"
defaultTarget: "https://{{ .Values.global.name }}-hub:8081"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment