XMLWordPrintable

    • False
    • None
    • False

      Will require following

      • fork webhook
      • make part of build process + OCP build dockerfile receival
      • write CCO controller which deploys the webhook

      https://azure.github.io/azure-workload-identity/docs/installation/mutating-admission-webhook.html

      Background

      • We deploy the AWS STS pod identity webhook as a customer convenience for configuring their applications to utilize service account tokens minted by a cluster that supports STS. When you create a pod that references a service account, the webhook looks for annotations on that service account and if found, the webhook mutates the deployment in order to set environment variables + mounts the service account token on that deployment so that the pod has everything it needs to make an API client.
      • Our temporary access token (using TAT in place of STS because STS is AWS specific) enablement for (select) third party operators does not rely on the webhook and is instead using CCO to create a secret containing the variables based on the credentials requests. The service account token is also explicitly mounted for those operators. Pod identity webhooks were considered as an alternative to this approach but weren't chosen.
      • Basically, if we deploy this webhook it will be for customer convenience and will enable us to potentially use the Azure pod identity webhook in the future if we so chose. Note that AKS provides this webhook and other clouds like Google offer a webhook solution for configuring customer applications.
      • This is about providing parity with other solutions but not required for anything directly related to the product.
      • If we don't provide this Azure pod identity webhook method, customer would need to get the details via some other way like a secret or set explicitly as environment variables. With the webhook, you just annotate your service account.

            itsoiref@redhat.com Igal Tsoiref
            mworthin@redhat.com Mike Worthington
            Mingxia Huang
            Jianping Shu Jianping Shu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: