mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-03 08:59:19 -03:00
chore(common): hardfail with clear error when required operators are not found.
This commit is contained in:
@@ -15,4 +15,4 @@ maintainers:
|
||||
name: common
|
||||
sources: null
|
||||
type: library
|
||||
version: 13.2.2
|
||||
version: 14.0.0
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
{{- if eq $fetchedOpData "false" -}}
|
||||
{{/* Fail only if explicitly asked */}}
|
||||
{{- if $.Values.operator.verify.failOnError -}}
|
||||
{{- fail (printf "Operator [%s] have to be installed first" $opName) -}}
|
||||
{{- fail (printf "Operator [%s] has to be installed first" $opName) -}}
|
||||
{{- end -}}
|
||||
{{/* If $fetchedOpData is not false, we should have JSON data */}}
|
||||
{{- else -}}
|
||||
|
||||
@@ -582,8 +582,7 @@ operator:
|
||||
verify:
|
||||
enabled: true
|
||||
# -- Makes non-found operators hard-failing
|
||||
## TODO: set to true
|
||||
failOnError: false
|
||||
failOnError: true
|
||||
# -- a list of extra operators to check for
|
||||
additionalOperators: []
|
||||
## -- used as a datastore when a metallb operator is found.
|
||||
|
||||
Reference in New Issue
Block a user