-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat(): refactor, add XIRSA composition, optional path for xservice gitops locations #8
Conversation
f182e45
to
158f01a
Compare
Signed-off-by: Christopher Haar <[email protected]>
4885a76
to
b70fdab
Compare
/test-examples=".up/examples/gcp/spoke-cluster.yaml" |
/test-examples=".up/examples/azure/spoke-cluster.yaml" |
/test-examples=".up/examples/aws/spoke-cluster.yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put the whole stuff through the validation webhook:
find . -iname '*.yaml' |grep -v crossplane.yaml | xargs -n1 kubectl apply -f 2>&1 | grep Invalid
The Composition "xnetworks.azure.caas.upbound.io" is invalid: spec.resources[2].patches[3].patchSets[3].patches[0].toFieldPath: Invalid value: "spec.forProvider.location": field 'location' is not valid according to the schema
* spec.resources[1].patches[1].patchSets[1].patches[0].toFieldPath: Invalid value: "spec.deletionPolicy": field 'deletionPolicy' is not valid according to the schema
* spec.resources[2].patches[1].patchSets[1].patches[0].toFieldPath: Invalid value: "spec.deletionPolicy": field 'deletionPolicy' is not valid according to the schema
* spec.resources[0].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
* spec.resources[1].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
* spec.resources[0].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
* spec.resources[1].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
* spec.resources[2].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
The Composition "xclusters.azure.caas.upbound.io" is invalid: spec.resources[2].patches[0].toFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
* spec.resources[0].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
* spec.resources[1].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
* spec.resources[0].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
* spec.resources[1].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
* spec.resources[2].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
The Composition "xclusters.gcp.caas.upbound.io" is invalid: spec.resources[2].patches[0].toFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
* spec.resources[0].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
* spec.resources[1].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
* spec.resources[0].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
* spec.resources[1].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
* spec.resources[2].patches[0].patchSets[0].patches[3].fromFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
The Composition "xclusters.aws.caas.upbound.io" is invalid: spec.resources[2].patches[0].toFieldPath: Invalid value: "spec.parameters.deletionPolicy": field 'parameters' is not valid according to the schema
It looks like spec.parameters.deletionPolicy
should be changed spec.deletionPolicy
in multiple places
Signed-off-by: Christopher Haar <[email protected]>
Signed-off-by: Christopher Haar <[email protected]>
|
/test-examples=".up/examples/aws/spoke-cluster.yaml" |
/test-examples=".up/examples/azure/spoke-cluster.yaml" |
/test-examples=".up/examples/gcp/spoke-cluster.yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the fixes, LGTM!
Description of your changes
Refactor:
size
toinstanceType
Additions:
Fixes #
I have:
make reviewable
to ensure this PR is ready for review.backport release-x.y
labels to auto-backport this PR, as appropriate.How has this code been tested