File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ description: A Gradle Build Cache server with MinIO backend for Theia IDE deploy
55type : application
66
77# Chart version - bump for breaking changes
8- version : 0.2.1
8+ version : 0.2.2
99
1010# Application version - matches the cache server version
1111appVersion : " 0.1.0"
Original file line number Diff line number Diff line change 1212 port: 8080
1313 read_timeout: 30s
1414 write_timeout: 120s
15+ {{- if .Values.tls.enabled }}
16+ tls:
17+ enabled: true
18+ cert_file: /tls/tls.crt
19+ key_file: /tls/tls.key
20+ {{- end}}
1521
1622 storage:
1723 endpoint: "{{ .Release.Name }}-minio:9000"
Original file line number Diff line number Diff line change @@ -105,8 +105,18 @@ spec:
105105 - name : config
106106 mountPath : /etc/gradle-cache
107107 readOnly : true
108+ {{- if .Values.tls.enabled }}
109+ - name : tls-certs
110+ mountPath : /etc/certs
111+ readOnly : true
112+ {{- end }}
108113 volumes :
109114 - name : config
110115 configMap :
111116 name : {{ .Release.Name }}-config
117+ {{- if .Values.tls.enabled }}
118+ - name : tls-certs
119+ secret :
120+ secretName : {{ .Values.tls.secretName }}
121+ {{- end }}
112122{{- end }}
Original file line number Diff line number Diff line change @@ -40,3 +40,9 @@ resources:
4040 limits :
4141 memory : " 2Gi"
4242 cpu : " 1000m"
43+
44+ tls :
45+ # Enable TLS for the cache server
46+ enabled : false
47+ # TLS secret name (if TLS is enabled)
48+ secretName : " "
You can’t perform that action at this time.
0 commit comments