Skip to content

Instantly share code, notes, and snippets.

@iamNoah1
Last active November 24, 2020 14:38
Show Gist options
  • Save iamNoah1/f2c4552bad17bdb6adb21967b40b3976 to your computer and use it in GitHub Desktop.
Save iamNoah1/f2c4552bad17bdb6adb21967b40b3976 to your computer and use it in GitHub Desktop.
create azure identity binding
apiVersion: aadpodidentity.k8s.io/v1
kind: AzureIdentity
metadata:
name: "aks-kv-identity"
spec:
type: 0
resourceID: /subscriptions/<subscription id>/resourcegroups/aks2akvrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/aks2kvIdentity
clientID: "<clientId>"
---
apiVersion: aadpodidentity.k8s.io/v1
kind: AzureIdentityBinding
metadata:
name: azure-pod-identity-binding
spec:
azureIdentity: "aks-kv-identity"
selector: azure-pod-identity-binding-selector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment