You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use Workload Identity, you have to install the Workload Identity
274
+
mutating webhook and create an identity that has access to ACR. Next, establish
275
+
a federated identity between the source-controller ServiceAccount and the
276
+
identity. Patch the source-controller Pod and ServiceAccount as shown in the patch
277
+
above. Please take a look at this [guide](https://azure.github.io/azure-workload-identity/docs/quick-start.html#6-establish-federated-identity-credential-between-the-identity-and-the-service-account-issuer--subject).
278
+
279
+
##### AAD Pod Identity
280
+
230
281
When using aad-pod-identity to enable access to ACR, add the following patch to
231
282
your bootstrap repository, in the `flux-system/kustomization.yaml` file:
232
283
@@ -261,9 +312,13 @@ if you want to use AKS pod-managed identities add-on that is in preview.
261
312
The `gcp` provider can be used to authenticate automatically using OAuth scopes or
262
313
Workload Identity, and by extension gain access to GCR or Artifact Registry.
263
314
315
+
#### Access Scopes
316
+
264
317
When the GKE nodes have the appropriate OAuth scope for accessing GCR and Artifact Registry,
265
318
source-controller running on it will also have access to them.
266
319
320
+
#### GKE Workload Identity
321
+
267
322
When using Workload Identity to enable access to GCR or Artifact Registry, add the
268
323
following patch to your bootstrap repository, in the `flux-system/kustomization.yaml`
To use Workload Identity, you have to install the Workload Identity
207
+
mutating webhook and create an identity that has access to ACR. Next, establish
208
+
a federated identity between the source-controller ServiceAccount and the
209
+
identity. Patch the source-controller Pod and ServiceAccount as shown in the patch
210
+
above. Please take a look at this [guide](https://azure.github.io/azure-workload-identity/docs/quick-start.html#6-establish-federated-identity-credential-between-the-identity-and-the-service-account-issuer--subject).
211
+
212
+
##### AAD Pod Identity
167
213
When using aad-pod-identity to enable access to ACR, add the following patch to
168
214
your bootstrap repository, in the `flux-system/kustomization.yaml` file:
0 commit comments