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, the Workload Identity mutating webhook has to be installed on your cluster and
280
-
you have to create an identity that has access to ACR. Next, establish
279
+
Ensure Workload Identity is properly setup on your cluster and the mutating webhook is installed.
280
+
Create an identity that has access to ACR. Next, establish
281
281
a federated identity between the source-controller ServiceAccount and the
282
-
identity. Patch the source-controller Pod and ServiceAccount as shown in the patch
282
+
identity. Patch the source-controller Deployment and ServiceAccount as shown in the patch
283
283
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).
284
284
285
-
##### Deprecated: AAD Pod Identity
285
+
##### Deprecated: AAD Pod Identity
286
286
287
-
**Note:** AAD Pod Identity will be archived in September 2023, and you are advised to use Workload Identity instead.
287
+
**Note:** The AAD Pod Identity project will be archived in [September 2023](https://github.com/Azure/aad-pod-identity#-announcement),
288
+
and you are advised to use Workload Identity instead.
288
289
289
290
When using aad-pod-identity to enable access to ACR, add the following patch to
290
291
your bootstrap repository, in the `flux-system/kustomization.yaml` file:
@@ -310,7 +311,7 @@ to give the `source-controller` pod access to the ACR. To do this, you have to i
310
311
`aad-pod-identity`on your cluster, create a managed identity that has access to the
311
312
container registry (this can also be the Kubelet identity if it has `AcrPull` role
312
313
assignment on the ACR), create an `AzureIdentity` and `AzureIdentityBinding` that describe
313
-
the managed identity and then label the `source-controller` pods with the name of the
314
+
the managed identity and then label the `source-controller` deployment with the name of the
314
315
AzureIdentity as shown in the patch above. Please take a look at [this guide](https://azure.github.io/aad-pod-identity/docs/)
315
316
or [this one](https://docs.microsoft.com/en-us/azure/aks/use-azure-ad-pod-identity)
316
317
if you want to use AKS pod-managed identities add-on that is in preview.
When using Workload Identity to enable access to ACR, add the following patch to
@@ -203,13 +210,18 @@ patches:
203
210
azure.workload.identity/use: "true"
204
211
```
205
212
206
-
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
213
+
Ensure Workload Identity is properly setup on your cluster and the mutating webhook is installed.
214
+
Create an identity that has access to ACR. Next, establish
215
+
a federated identity between the source-controller ServiceAccount and the
216
+
identity. Patch the source-controller Deployment and ServiceAccount as shown in the patch
210
217
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
218
212
-
##### AAD Pod Identity
219
+
##### Deprecated: AAD Pod Identity
220
+
221
+
**Note:** The AAD Pod Identity project will be archived in [September 2023](https://github.com/Azure/aad-pod-identity#-announcement),
222
+
and you are advised to use Workload Identity instead.
223
+
224
+
213
225
When using aad-pod-identity to enable access to ACR, add the following patch to
214
226
your bootstrap repository, in the `flux-system/kustomization.yaml` file:
0 commit comments