Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26507

Zabbix Helm Chart creates Service Account secret when SA is disabled

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.0.13, 7.2.7
    • Installation (I)
    • 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:{}

      1. Install a Helm release with the default Chart values.
      2. Prepare new Chart values where only the proxy is enabled and the creation of RBAC and Service Accounts is disabled.
      3. 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.

            zit Zabbix Integration Team
            mario.z Mario Z.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: