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
// GetAuthorizer returns an Azure authorizer based on the provided azure identity. It delegates to AzureCredentialsProvider with AzureCluster metadata.
returnnil, errors.New("AzureClusterIdentity is not of type Service Principal")
123
+
}
124
+
125
+
return&ManagedControlPlaneCredentialsProvider{
126
+
AzureCredentialsProvider{
127
+
Client: kubeClient,
128
+
Identity: identity,
129
+
},
130
+
managedControlPlane,
131
+
}, nil
132
+
}
133
+
134
+
// GetAuthorizer returns an Azure authorizer based on the provided azure identity. It delegates to AzureCredentialsProvider with AzureManagedControlPlane metadata.
Copy file name to clipboardExpand all lines: config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanes.yaml
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -192,6 +192,31 @@ spec:
192
192
dnsServiceIP:
193
193
description: DNSServiceIP is an IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
194
194
type: string
195
+
identityRef:
196
+
description: IdentityRef is a reference to a AzureClusterIdentity to be used when reconciling this cluster
197
+
properties:
198
+
apiVersion:
199
+
description: API version of the referent.
200
+
type: string
201
+
fieldPath:
202
+
description: 'If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.'
203
+
type: string
204
+
kind:
205
+
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
206
+
type: string
207
+
name:
208
+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
209
+
type: string
210
+
namespace:
211
+
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
212
+
type: string
213
+
resourceVersion:
214
+
description: 'Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
215
+
type: string
216
+
uid:
217
+
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
218
+
type: string
219
+
type: object
195
220
loadBalancerSKU:
196
221
description: LoadBalancerSKU is the SKU of the loadBalancer to be provisioned.
0 commit comments