Skip to content

Commit

Permalink
[sophora-importer] add secret "saxon-licence" only if "useSaxon" is s…
Browse files Browse the repository at this point in the history
…et, remove "optional: false"
  • Loading branch information
muffl0n committed Dec 1, 2023
1 parent e2d6336 commit 2c831c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/sophora-importer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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.2.0
version: 1.2.1

# 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
Expand Down
5 changes: 3 additions & 2 deletions charts/sophora-importer/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,15 @@ spec:
{{- with .Values.additionalVolumes }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- if .Values.transformation.data.useSaxon }}
- name: saxon-licence
secret:
secretName: {{ .Values.transformation.data.saxonLicenceSecretName }}
optional: true
{{- end }}
{{ if .Values.importPvcSpec }}
volumeClaimTemplates:
- metadata:
name: local-import-folders
spec:
{{- toYaml .Values.importPvcSpec | nindent 8 }}
{{ end }}
{{ end }}

0 comments on commit 2c831c8

Please sign in to comment.