telekom-mms / cmcc-operator

Kubernetes Operator to bring up a CoreMedia Content Cloud installation
Apache License 2.0
9 stars 3 forks source link

When setting a env var without a name, an NPE occurs #71

Closed stefanbethke closed 1 year ago

stefanbethke commented 1 year ago

Describe the bug When defining an env var without a name, an NPE is thrown in com.tsystemsmms.cmcc.cmccoperator.utils.EnvVarSet:toList() at line 54.

To Reproduce Configure the cmcc to have an env var without a name (only value).

Expected behavior Invalid env vars should be reported when parsing the cmcc, and invalid values ignored later on.