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

Helm chart deploy zabbix proxy with incorrect affinities

XMLWordPrintable

    • 1

      Helmchart deploys zabbixProxy with incorrect affinities caused by wrong indentation

       

      Steps to reproduce:

      Deploy helmchart with zabbixProxy affinity

      ```yaml
      zabbixProxy:
      affinity:
      nodeAffinity:
      preferredDuringSchedulingIgnoredDuringExecution:
      - preference:
      matchExpressions:
      - key: "node-role.kubernetes.io/control-plane"
      operator: "Exists"
      ```

      generate in zabbix-proxy deployment:

       

      ```yaml
      spec:
      template:
      spec:
      affinity: null
      nodeAffinity:
      preferredDuringSchedulingIgnoredDuringExecution:
      - preference:
      matchExpressions:
      - key: node-role.kubernetes.io/control-plane
      operator: Exists
      ```
       

      caused by :

      https://git.zabbix.com/projects/ZT/repos/kubernetes-helm/browse/templates/zabbix-proxy.yaml#86

       

      expected : indent 8 not 6

            egordymov Evgenii Gordymov
            benbout benjamin boutoille
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 5h Original Estimate - 5h
                5h
                Remaining:
                Time Spent - 7h Remaining Estimate - 0.1h
                0.1h
                Logged:
                Time Spent - 7h Remaining Estimate - 0.1h
                7h