...
Note!
When the cluster was created, the workload identity for AGIC was set up.
For the AGIC to function properly, the Helm install command above assumes that the following service account name and namespace are used:
Service Account name is set to
appgw_ingress_controller_service_account
from terraform output in https://infozone.atlassian.net/wiki/spaces/UEPE4D/pages/251559986317685868/Set+Up+Kubernetes+Cluster+-+Azure+4.2#Create3#Create-Basic-Cluster-and-additional-infrastructure section.Namespace is set to
appgw_ingress_controller_namespace
from terraform output in https://infozone.atlassian.net/wiki/spaces/UEPE4D/pages/251559986317685868/Set+Up+Kubernetes+Cluster+-+Azure+4.2#Create3#Create-Basic-Cluster-and-additional-infrastructure section.
...
Add the bitnami helm repository by running the following command:
Code Block helm repo add bitnami https://charts.bitnami.com/bitnami
Update the helm repository to get the latest software by running the following command:
Code Block helm repo update
Create a file called
external-dns-values.yaml
, paste the following content into it, and replace the appropriate values from terraform output.Code Block language yaml azure: useWorkloadIdentityExtension: true useManagedIdentityExtension: true tenantId: <azure_tenant_id from terraform output> subscriptionId: <azure_subscription_id from terraform output> resourceGroup: <azure_resource_group from terraform output> userAssignedIdentityID: <external_dns_client_id from terraform output> domainFilters: - <aks_domain_zone_name from terraform output> policy: sync provider: azure podLabels: azure.workload.identity/use: "true" serviceAccount: annotations: azure.workload.identity/client-id: <external_dns_client_id from terraform output>
4. Install the ExternalDNS helm chart by running the following command:
Code Block helm install external-dns bitnami/external-dns -n uepe \ --version <helm chart version> -f external-dns-values.yaml
Where
<helm chart version>
is a compatible version listed in the Compatibility Matrix (4.2).
Note!
When the clsuter cluster was cratedcreated, the workload identity for ExternalDNS was set up.
For the ExternalDNS to function properly, the Helm install command above assumes that the following service account name and namespace are used:
Service Account name is set to
external_dns_service_account
from terraform output in https://infozone.atlassian.net/wiki/spaces/UEPE4D/pages/251559986317685868/Set+Up+Kubernetes+Cluster+-+Azure+4.2#Create3#Create-Basic-Cluster-and-additional-infrastructure sectionNamespace is set to
external_dns_namespace
from terraform output in https://infozone.atlassian.net/wiki/spaces/UEPE4D/pages/251559986317685868/Set+Up+Kubernetes+Cluster+-+Azure+4.2#Create3#Create-Basic-Cluster-and-additional-infrastructure section
...
Note!
This is an optional add-on, see Introduction - Azure (4.23) for additional information.
...
This section is now complete and you can proceed to the Usage Engine Private Edition Preparations - Azure (4.23) section.