File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ func (r *Storage) ValidateCreate() error {
248248 }
249249 }
250250
251- if ( authEnabled && r .Spec .OperatorConnection == nil ) || ( ! authEnabled && r . Spec . OperatorConnection != nil ) {
251+ if authEnabled && r .Spec .OperatorConnection == nil {
252252 return fmt .Errorf ("field 'spec.operatorConnection' does not satisfy with config option `enforce_user_token_requirement: %t`" , authEnabled )
253253 }
254254
@@ -362,7 +362,7 @@ func (r *Storage) ValidateUpdate(old runtime.Object) error {
362362 }
363363 }
364364
365- if ( authEnabled && r .Spec .OperatorConnection == nil ) || ( ! authEnabled && r . Spec . OperatorConnection != nil ) {
365+ if authEnabled && r .Spec .OperatorConnection == nil {
366366 return fmt .Errorf ("field 'spec.operatorConnection' does not align with config option `enforce_user_token_requirement: %t`" , authEnabled )
367367 }
368368
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 0.5.27
18+ version : 0.5.28
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
2222# follow Semantic Versioning. They should reflect the version the application is using.
2323# It is recommended to use it with quotes.
24- appVersion : " 0.5.27 "
24+ appVersion : " 0.5.28 "
You can’t perform that action at this time.
0 commit comments