Skip to content

Commit

Permalink
fix(kps): Wrap thanos.objectStorageConfig nullable level in missed if…
Browse files Browse the repository at this point in the history
… else

Signed-off-by: Grace Do <[email protected]>
  • Loading branch information
gracedo committed Jan 11, 2024
1 parent 63a5b21 commit 04917cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ spec:
objectStorageConfig:
key: "{{.Values.prometheus.prometheusSpec.thanos.objectStorageConfig.existingSecret.key }}"
name: "{{.Values.prometheus.prometheusSpec.thanos.objectStorageConfig.existingSecret.name }}"
{{- else if .Values.prometheus.prometheusSpec.thanos.objectStorageConfig.secret}}
{{- else if ((.Values.prometheus.prometheusSpec.thanos.objectStorageConfig).secret) }}
objectStorageConfig:
key: object-storage-configs.yaml
name: {{ template "kube-prometheus-stack.fullname" . }}-prometheus
Expand Down

0 comments on commit 04917cf

Please sign in to comment.