From 184e1b4d09554035c905a6eade018c92f7ae6877 Mon Sep 17 00:00:00 2001 From: Marcin Maciaszczyk Date: Wed, 27 Sep 2023 14:07:16 +0200 Subject: [PATCH] Enable OIDC issuer --- .../cluster-api-cluster/templates/azure/control-plane.yaml | 4 ++++ bootstrap/helm/cluster-api-cluster/values.yaml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/bootstrap/helm/cluster-api-cluster/templates/azure/control-plane.yaml b/bootstrap/helm/cluster-api-cluster/templates/azure/control-plane.yaml index 842739cfa..ccb77dc53 100644 --- a/bootstrap/helm/cluster-api-cluster/templates/azure/control-plane.yaml +++ b/bootstrap/helm/cluster-api-cluster/templates/azure/control-plane.yaml @@ -42,6 +42,10 @@ spec: {{- toYaml . | nindent 4 }} {{- end }} loadBalancerSKU: {{ .Values.cluster.azure.loadBalancerSKU }} + {{- with .Values.cluster.azure.oidcIssuerProfile }} + oidcIssuerProfile: + {{- toYaml . | nindent 4 }} + {{- end }} {{- with .Values.cluster.azure.aadProfile }} aadProfile: {{- toYaml . | nindent 4 }} diff --git a/bootstrap/helm/cluster-api-cluster/values.yaml b/bootstrap/helm/cluster-api-cluster/values.yaml index b365d640f..9088063e8 100644 --- a/bootstrap/helm/cluster-api-cluster/values.yaml +++ b/bootstrap/helm/cluster-api-cluster/values.yaml @@ -190,6 +190,9 @@ cluster: # SKU of the loadBalancer to be provisioned. # One of: Basic, Standard. loadBalancerSKU: Standard + # OIDC issuer profile of the cluster. + oidcIssuerProfile: + enabled: true # Azure Active Directory configuration to integrate with AKS for AAD authentication. aadProfile: {} # Profile of the cluster load balancer.