-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to the latest upjet and crossplane-runtime versions #29
Comments
While updating to 1.17.0:
|
It appears to be tripping over the examples given here:
In previous versions, this seems to have worked: https://github.com/crossplane-contrib/provider-jet-equinix/blob/main/examples-generated/metal/portvlanattachment.yaml |
The
I do not see any changes related to VLAN / VXLAN fields here, not in |
I've discovered that examples can be skipped by modifying or removing the diff --git a/Makefile b/Makefile
index aa21d62..fbc41ab 100644
--- a/Makefile
+++ b/Makefile
@@ -125,6 +125,7 @@ pull-docs:
git clone -c advice.detachedHead=false --depth 1 --filter=blob:none --branch "v$(TERRAFORM_PROVIDER_VERSION)" --sparse "$(TERRAFORM_PROVIDER_REPO)" "$(WORK_DIR)/$(TERRAFORM_PROVIDER_SOURCE)"; \
fi
@git -C "$(WORK_DIR)/$(TERRAFORM_PROVIDER_SOURCE)" sparse-checkout set "$(TERRAFORM_DOCS_PATH)"
+ rm -f "$(WORK_DIR)/$(TERRAFORM_PROVIDER_SOURCE)/$(TERRAFORM_DOCS_PATH)/equinix_metal_port_vlan_attachment.md"
generate.init: $(TERRAFORM_PROVIDER_SCHEMA) pull-docs
This has allowed for experimentation with the examples to narrow down what is causing the problem. resource "equinix_metal_port_vlan_attachment" "test" {
device_id = equinix_metal_device_network_type.test.id
port_name = "eth1"
vlan_vnid = equinix_metal_vlan.test.vxlan
} The |
After the problem with this example, the next hurdle is:
I'm going to open a PR that only updates the provider to 1.18.0 while removing the example that can't be handled. Any other updates will follow in another PR. |
Any updates here? I am running into the same problem as described here |
@displague i managed to solve it through some help of the crossplane slack channel. It boils down to
I also need to sync internal/features/features.go and cmd/provider/main.go with the upstream upjet template. ref: https://crossplane.slack.com/archives/C05T19TB729/p1707151183413049 |
@AtzeDeVries could you open a PR with your changes? I have a couple local deviations from this branch in the #34, I applied the above changes and neither ran
|
Closed by #52 |
What problem are you facing?
This issue was originally created to track Equinix TF Provider updates. Crossplane and TF are now in sync with v1.18.0. https://github.com/equinix/terraform-provider-equinix/releases
Reframing this issue to deal with problems encountered when trying to update upjet, crossplane-runtime, and other aspects of the upjet provider template: https://github.com/upbound/upjet-provider-template/
How could Equinix Provider help solve your problem?
Update per #25
The text was updated successfully, but these errors were encountered: