We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a8870e + 0283fc2 commit 82d3e26Copy full SHA for 82d3e26
1 file changed
clustergroup/templates/_helpers.tpl
@@ -195,7 +195,7 @@ spec:
195
{{- if or (empty $operatorgroupExcludes) (not (has . $operatorgroupExcludes)) }}
196
{{- range $k, $v := $ns }}{{- /* We loop here even though the map has always just one key */}}
197
{{- if $v }}
198
- {{- if $v.operatorGroup }}{{- /* Checks if the user sets operatorGroup: false */}}
+ {{- if or $v.operatorGroup (not (hasKey $v "operatorGroup")) }}{{- /* Checks if the user sets operatorGroup: false */}}
199
apiVersion: operators.coreos.com/v1
200
kind: OperatorGroup
201
metadata:
0 commit comments