Skip to content

Commit

Permalink
Update composition.yaml (#58)
Browse files Browse the repository at this point in the history
Use v1beta2 version of KubernetesCluster API to work around issue described in crossplane-contrib/provider-upjet-aws#975 (comment)
  • Loading branch information
cwilhit authored Sep 17, 2024
1 parent f79867a commit cd9580e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions apis/composition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ spec:
resources:
- name: kubernetesCluster
base:
apiVersion: containerservice.azure.upbound.io/v1beta1
apiVersion: containerservice.azure.upbound.io/v1beta2
kind: KubernetesCluster
spec:
forProvider:
defaultNodePool:
- name: default
name: default
identity:
- type: SystemAssigned
type: SystemAssigned
oidcIssuerEnabled: true
workloadIdentityEnabled: true
connectionDetails:
Expand Down Expand Up @@ -72,16 +72,16 @@ spec:
toFieldPath: spec.forProvider.resourceGroupNameSelector.matchLabels[azure.platform.upbound.io/network-id]
- type: FromCompositeFieldPath
fromFieldPath: spec.parameters.id
toFieldPath: spec.forProvider.defaultNodePool[0].vnetSubnetIdSelector.matchLabels[azure.platform.upbound.io/network-id]
toFieldPath: spec.forProvider.defaultNodePool.vnetSubnetIdSelector.matchLabels[azure.platform.upbound.io/network-id]
- type: FromCompositeFieldPath
fromFieldPath: spec.parameters.id
toFieldPath: spec.forProvider.dnsPrefix
- type: FromCompositeFieldPath
fromFieldPath: spec.parameters.nodes.instanceType
toFieldPath: spec.forProvider.defaultNodePool[0].vmSize
toFieldPath: spec.forProvider.defaultNodePool.vmSize
- type: FromCompositeFieldPath
fromFieldPath: spec.parameters.nodes.count
toFieldPath: spec.forProvider.defaultNodePool[0].nodeCount
toFieldPath: spec.forProvider.defaultNodePool.nodeCount
- type: FromCompositeFieldPath
fromFieldPath: spec.writeConnectionSecretToRef.namespace
toFieldPath: spec.writeConnectionSecretToRef.namespace
Expand Down

0 comments on commit cd9580e

Please sign in to comment.