Skip to content

Commit

Permalink
Update to css-4.0.0
Browse files Browse the repository at this point in the history
* feat: update to css-4.0.0
* feat: add support for custom CLI parameters
  • Loading branch information
MisterTimn authored Apr 26, 2022
1 parent cff85ed commit 5ff47fe
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
4 changes: 2 additions & 2 deletions community-solid-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.2
version: 2.0.0

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

home: https://github.com/idlab-gent/css-helm-chart
icon: https://raw.githubusercontent.com/solid/community-server/main/templates/images/solid.svg
Expand Down
4 changes: 2 additions & 2 deletions community-solid-server/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ Pass a correct baseUrl
{{- if .Values.baseUrlOverride }}
{{- .Values.baseUrlOverride }}
{{- else if .Values.ingress.enabled }}
{{- printf "https://%s%s" .Values.ingress.host .Values.ingress.path}}
{{- printf "http://%s%s" .Values.ingress.host .Values.ingress.path}}
{{- else }}
{{- printf "%http://%s.%s/" .Release.Namespace ( include "community-solid-server.fullname" . ) }}
{{- printf "http://%s.%s/" ( include "community-solid-server.fullname" . ) .Release.Namespace }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions community-solid-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ spec:
- "-f"
- "/data/"
{{- end }}
{{- range $val := .Values.customParameters }}
- {{ $val.flag | quote }}
- {{ $val.value | quote }}
{{- end }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
Expand Down
10 changes: 9 additions & 1 deletion community-solid-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,18 @@ config:
logLevel: info
## @param showStacktrace Enables detailed logging on error pages.
showStacktrace: false

## @param sparqlEndpoint URL of the SPARQL endpoints when using a quadstore-based configuration
sparqlEndpoint: ""
## @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.
baseUrlOverride: ""

## @param customParameters An array of `flag` `value` pairs to be added to the CSS cli command for custom parameters/overwrites.
customParameters: []
# - flag: --serverKey
# value: server.key
# - flag: --serverCert
# value: server.cert

## @section Persistence parameters
## Enable persistence using Persistent Volume Claims
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
Expand Down

0 comments on commit 5ff47fe

Please sign in to comment.