Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions helm-chart/renku/templates/_certificates-volumes.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@
path: {{ include "renku.CASecretName" . }}-internal-communication-ca.crt
{{- if $customCAsEnabled }}
{{- range $customCA := .Values.global.certificates.customCAs }}
{{- if $customCA.secret }}
- secret:
name: {{ $customCA.secret }}
{{- end -}}
{{- end -}}
{{- end -}}
{{- else if $customCA.configMap }}
- configMap:
name: {{ $customCA.configMap }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
22 changes: 13 additions & 9 deletions helm-chart/renku/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,19 @@ global:
anonymousSessions:
## Set to true to enable anonymous sessions
enabled: false
## Specify the name of an existing K8s secret that contains the certificate
## Specify the name of an existing K8s secret or configmap that contains the certificate
## if you would like to use a custom CA. The key for the secret
## should have the .crt extension otherwise it is ignored. The
## keys across all secrets are mounted as files in one location so
## keys across all secrets and configmaps are mounted as files in one location so
## the keys across all secrets have to be unique. In addition to the
## changes here modifications need to be made in the keycloak section below
certificates:
image:
repository: renku/certificates
tag: "0.0.2"
customCAs: []
# - secret:
# - secret: a-secret-name
# - configMap: a-configmap-name
## Database credentials for postgres
db:
## Used by the renku-data-services and potentially other backend services
Expand Down Expand Up @@ -291,10 +292,15 @@ keycloakx:
defaultMode: 0777
sources:
{{- range $customCA := .Values.global.certificates.customCAs }}
{{- if $customCA.secret }}
- secret:
name: {{ $customCA.secret }}
{{- end -}}
{{- end -}}
{{- else if $customCA.configMap }}
- configMap:
name: {{ $customCA.configMap }}
{{- end }}
{{- end }}
{{- end }}
## Create a demo user in keycloak? Note that the password for the demo
## user must be queried from kubernetes (see the rendered NOTES.txt
## template which is shown after a successful deployment).
Expand Down Expand Up @@ -823,8 +829,7 @@ dlf-chart:
enabled: false
dataset-operator-chart:
enabled: true
csi-rclone:
{}
csi-rclone: {}
# This section is only relevant if you are installing csi-rclone as part of Renku
## Name of the csi storage class to use for RClone/Cloudstorage. Should be unique per cluster.
# storageClassName: csi-rclone
Expand Down Expand Up @@ -1256,8 +1261,7 @@ dataService:
## The name of the BuildStrategy to use for image builds.
strategyName: renku-buildpacks-v3
## Configuration overrides for specific target platforms
platformOverrides:
{}
platformOverrides: {}
# linux/arm64:
# builderImage: "ghcr.io/swissdatasciencecenter/renku-frontend-buildpacks/cuda-selector:0.5.1"
# runImage: "ghcr.io/swissdatasciencecenter/renku-frontend-buildpacks/cuda-run-image:0.5.1"
Expand Down
Loading