Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Exclude "spec.forProvider.privateLinkEnabled" from late-initialization #107

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

ulucinar
Copy link
Collaborator

@ulucinar ulucinar commented Dec 6, 2021

Description of your changes

Fixes #106

This PR proposes a change to exclude spec.forProvider.privateLinkEnabled from late-initialization because when the spec.forProvider.privateClusterEnabled is set, these two options conflict with each other and the Terraform resource documentation does not mention about the private_link_enabled argument.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Modified the example manifest provided in the repo for KubernetesCluster to include a spec.forProvider.privateClusterEnabled and provisioned an AKS cluster using it. After the cluster was successfully provisioned and the provider completed late-initialization, the resource was still in synced state.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot refresh private kubernetes cluster - Conflicting configuration arguments
2 participants