File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -448,6 +448,7 @@ export IDENTITY_RESOURCE_ID="$(az identity show -n ${IDENTITY_NAME} -otsv --quer
448448` ` `
449449
450450Create an `AzureIdentity` object that references the identity created above :
451+
451452` ` ` yaml
452453---
453454apiVersion: aadpodidentity.k8s.io/v1
@@ -461,7 +462,8 @@ spec:
461462 type: 0 # user-managed identity
462463` ` `
463464
464- Create an `AzureIdentityBinding` object that binds pods with a specific selector with the `AzureIdentity` created.
465+ Create an `AzureIdentityBinding` object that binds pods with a specific selector with the `AzureIdentity` created :
466+
465467` ` ` yaml
466468apiVersion: "aadpodidentity.k8s.io/v1"
467469kind: AzureIdentityBinding
@@ -472,7 +474,7 @@ spec:
472474 selector: ${IDENTITY_NAME}
473475` ` `
474476
475- Label the source-controller correctly so that it can match an identity binding.
477+ Label the source-controller correctly so that it can match an identity binding :
476478
477479` ` ` yaml
478480apiVersion: apps/v1
@@ -487,7 +489,7 @@ spec:
487489 aadpodidbinding: ${IDENTITY_NAME} # match the AzureIdentity name
488490` ` `
489491
490- Then you don't need to reference a secret
492+ If you have set aad-pod-identity up correctly and labeled the source-controller pod, then you don't need to reference a secret.
491493
492494` ` ` yaml
493495apiVersion: source.toolkit.fluxcd.io/v1beta2
You can’t perform that action at this time.
0 commit comments