Skip to content

Commit

Permalink
feat: corrected boolean handling and set false by default (#2174)
Browse files Browse the repository at this point in the history
Solves PZ-3409
  • Loading branch information
infojohn authored Dec 2, 2024
1 parent b0885be commit 53305cc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion helm/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ data:
SUBSYSTEM_OPENTELEMETRY__SAMPLER_TYPE: {{ ((.Values.opentelemetry_zaakafhandelcomponent).sampler_type) | default "-off" }}
SUBSYSTEM_OPENTELEMETRY__ENDPOINT: {{ ((.Values.opentelemetry_zaakafhandelcomponent).endpoint) | default (printf "http://%s-opentelemetry-collector:4317" .Release.Name) }}
{{- end }}
SMARTDOCUMENTS_ENABLED: {{ required "Valid .Values.smartDocuments.enabled entry required!" .Values.smartDocuments.enabled }}
{{- if .Values.smartDocuments.enabled }}
SMARTDOCUMENTS_ENABLED: true
{{- else }}
SMARTDOCUMENTS_ENABLED: false
{{- end }}
SMARTDOCUMENTS_CLIENT_MP_REST_URL: {{ required "Valid .Values.smartDocuments.url entry required!" .Values.smartDocuments.url }}
{{- if .Values.smartDocuments.fixedUserName }}
SMARTDOCUMENTS_FIXED_USER_NAME: {{ .Values.smartDocuments.fixedUserName }}
Expand Down

0 comments on commit 53305cc

Please sign in to comment.