Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-453

Sidecar not injected if pods created immediately after project

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • operator
    • None

      If you create a new project and deploy pods immediately (e.g. in shell script), the sidecar doesn't get injected.

      This is caused by a race between the operator adding the maistra.io/member-of label to the namespace and the creation of the pods. The operator usually loses the race, requiring the pods to be deleted and recreated.

      The operator should install a mutating webhook for namespaces that will add the label synchronously during the creation of the namespace. The webhook policy can be configured not to fail if the webhook isn't accessible.

              Unassigned Unassigned
              mluksa@redhat.com Marko Luksa
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: