Skip to content

Commit 5ff47fe

Browse files
authored
Update to css-4.0.0
* feat: update to css-4.0.0 * feat: add support for custom CLI parameters
1 parent cff85ed commit 5ff47fe

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

community-solid-server/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.2
18+
version: 2.0.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "3.0.0"
24+
appVersion: "4.0.0"
2525

2626
home: https://github.com/idlab-gent/css-helm-chart
2727
icon: https://raw.githubusercontent.com/solid/community-server/main/templates/images/solid.svg

community-solid-server/templates/_helpers.tpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ Pass a correct baseUrl
6868
{{- if .Values.baseUrlOverride }}
6969
{{- .Values.baseUrlOverride }}
7070
{{- else if .Values.ingress.enabled }}
71-
{{- printf "https://%s%s" .Values.ingress.host .Values.ingress.path}}
71+
{{- printf "http://%s%s" .Values.ingress.host .Values.ingress.path}}
7272
{{- else }}
73-
{{- printf "%http://%s.%s/" .Release.Namespace ( include "community-solid-server.fullname" . ) }}
73+
{{- printf "http://%s.%s/" ( include "community-solid-server.fullname" . ) .Release.Namespace }}
7474
{{- end }}
7575
{{- end }}

community-solid-server/templates/deployment.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ spec:
5252
- "-f"
5353
- "/data/"
5454
{{- end }}
55+
{{- range $val := .Values.customParameters }}
56+
- {{ $val.flag | quote }}
57+
- {{ $val.value | quote }}
58+
{{- end }}
5559
imagePullPolicy: {{ .Values.image.pullPolicy }}
5660
ports:
5761
- name: http

community-solid-server/values.yaml

+9-1
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,18 @@ config:
4848
logLevel: info
4949
## @param showStacktrace Enables detailed logging on error pages.
5050
showStacktrace: false
51-
51+
## @param sparqlEndpoint URL of the SPARQL endpoints when using a quadstore-based configuration
52+
sparqlEndpoint: ""
5253
## @param baseUrlOverride From the helm config, an appropriate --baseUrl value will be passed to the community server. If however you wish to override this set this parameter appropriately.
5354
baseUrlOverride: ""
5455

56+
## @param customParameters An array of `flag` `value` pairs to be added to the CSS cli command for custom parameters/overwrites.
57+
customParameters: []
58+
# - flag: --serverKey
59+
# value: server.key
60+
# - flag: --serverCert
61+
# value: server.cert
62+
5563
## @section Persistence parameters
5664
## Enable persistence using Persistent Volume Claims
5765
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/

0 commit comments

Comments
 (0)