-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
7.0.13, 7.2.7
-
None
The Zabbix Helm Chart contains a secret.yaml definition that creates a JWT for the Zabbix Service Account. The secret is created in any case even if the creation of the Service Account is disabled (via serviceAccount.create=false). That leads to issues if the Chart is being reused for example to only install an additional proxy where the Service Account is not needed a second time.
Steps to reproduce:{}
- Install a Helm release with the default Chart values.
- Prepare new Chart values where only the proxy is enabled and the creation of RBAC and Service Accounts is disabled.
- Try to install a new release with the new values.
Result:
Error "Unable to continue with install: Secret "zabbix-service-account" in namespace "xyz" exists and cannot be imported into the current release." is displayed.
Expected:
If the creation of the Service Account is disabled (serviceAccount.create=false), I'd expect the secret not to be created as well.