File tree Expand file tree Collapse file tree 6 files changed +45
-10
lines changed Expand file tree Collapse file tree 6 files changed +45
-10
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,17 @@ registry:
6
6
config :
7
7
storage :
8
8
# Uncomment this and comment out the s3 config to use filesystem
9
- # filesystem:
10
- # rootdirectory: /var/lib/registry
11
- s3 :
12
- regionendpoint : https://nbg1.your-objectstorage.com
13
- bucket : mybinder-2i2c-registry
14
- region : does-not-matter
9
+ filesystem :
10
+ rootdirectory : /var/lib/registry
11
+ # s3:
12
+ # regionendpoint: https://nbg1.your-objectstorage.com
13
+ # bucket: mybinder-2i2c-registry
14
+ # region: does-not-matter
15
15
storage :
16
16
filesystem :
17
- storageClassName : " local-path"
17
+ enabled : true
18
+ size : 300Gi
19
+ storageClassName : " openebs-hostpath"
18
20
ingress :
19
21
hosts :
20
22
- registry.2i2c-bare.mybinder.org
@@ -81,6 +83,11 @@ binderhub:
81
83
- 2i2c-bare.mybinder.org
82
84
83
85
jupyterhub :
86
+ hub :
87
+ db :
88
+ pvc :
89
+ storage : 1Gi
90
+ storageClassName : openebs-hostpath
84
91
# proxy:
85
92
# chp:
86
93
# resources:
@@ -123,13 +130,14 @@ grafana:
123
130
access : direct
124
131
isDefault : true
125
132
editable : false
126
- # persistence:
127
- # storageClassName: csi-cinder-high-speed
133
+ persistence :
134
+ storageClassName : openebs-hostpath
128
135
129
136
prometheus :
130
137
server :
131
138
persistentVolume :
132
139
size : 50Gi
140
+ storageClass : openebs-hostpath
133
141
retention : 30d
134
142
ingress :
135
143
hosts :
@@ -153,3 +161,15 @@ static:
153
161
- static.2i2c-bare.mybinder.org
154
162
tls :
155
163
secretName : kubelego-tls-static
164
+
165
+ localpv-provisioner :
166
+ enabled : true
167
+
168
+ hostpathClass :
169
+ reclaimPolicy : Retain
170
+
171
+ xfsQuota :
172
+ enabled : true
173
+
174
+ analytics :
175
+ enabled : false
Original file line number Diff line number Diff line change @@ -57,3 +57,8 @@ dependencies:
57
57
version : 0.2.4
58
58
repository : https://www.manicstreetpreacher.co.uk/binderhub-container-registry-helper/
59
59
condition : binderhub-container-registry-helper.enabled
60
+
61
+ - name : localpv-provisioner
62
+ version : 4.2.0
63
+ repository : https://openebs.github.io/dynamic-localpv-provisioner
64
+ condition : localpv-provisioner.enabled
Original file line number Diff line number Diff line change 34
34
- name : registry-secret
35
35
secret :
36
36
secretName : registry-secret
37
+
38
+ {{- if .Values.registry.storage.filesystem.enabled }}
37
39
- name : registry-storage
38
40
persistentVolumeClaim :
39
41
claimName : registry
42
+ {{- end }}
40
43
containers :
41
44
- name : registry
42
45
image : registry:3.0.0-rc.2
50
53
# This path is what registry *actually* seems to read lol
51
54
mountPath : /etc/docker/registry/config.yml
52
55
subPath : config.yml
56
+ {{- if .Values.registry.storage.filesystem.enabled }}
53
57
- name : registry-storage
54
58
mountPath : /var/lib/registry
59
+ {{- end }}
55
60
- name : registry-secret
56
61
mountPath : /etc/distribution/auth.htpasswd
57
62
subPath : auth.htpasswd
Original file line number Diff line number Diff line change 1
1
{{- if .Values.registry.enabled }}
2
+ {{- if .Values.registry.storage.filesystem.enabled }}
2
3
apiVersion : v1
3
4
kind : PersistentVolumeClaim
4
5
metadata :
15
16
requests :
16
17
storage : {{ .Values.registry.storage.filesystem.size }}
17
18
{{- end }}
19
+ {{- end }}
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ registry:
32
32
type : ClusterIP
33
33
storage :
34
34
filesystem :
35
+ enabled : false
35
36
storageClassName : " "
36
- # Size is currently ignored- using local path provisioner
37
37
size : 10Gi
38
38
39
39
imagePullSecrets :
@@ -722,3 +722,6 @@ awsEcrRegistryCleaner:
722
722
name : binderhub-ecr-registry-cleaner
723
723
annotations : {}
724
724
priorityClassName : " "
725
+
726
+ localpv-provisioner :
727
+ enabled : false
You can’t perform that action at this time.
0 commit comments