Details

    • Improvement
    • Status: Done
    • Medium
    • Resolution: Fixed
    • None
    • 1.11.0
    • None
    • None
    • Yes
    • Yes

    Description

      Allow to set annotations for backup job as it was implemented for other entities.

        backup:
          enabled: true
          annotations:
            sidecar.istio.io/inject: "false"
      

       

      We testing operator with enabled Istio.

      Cron job has RestartPolicy  set to never.

      When cron job is created Istio init container requires time to configure network for istio proxy.

      backup container starts before istio-proxy  and fails as proxy is not ready yet to accept connections, backup container fails with the error:

       

      * About to connect() to 172.20.0.1 port 443 (#0)
      * Trying 172.20.0.1...
      % Total % Received % Xferd Average Speed Time Time Time Current
      Dload Upload Total Spent Left Speed
      0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connection refused
      * Failed connect to 172.20.0.1:443; Connection refused
      * Closing connection 0
      curl: (7) Failed connect to 172.20.0.1:443; Connection refused
      

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            alekskar Aliaksandr Karavai
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist