Skip to content

Commit

Permalink
CORS-3295: hack: add script to verify capi CRDs (#8106)
Browse files Browse the repository at this point in the history
* CORS-3295: hack: add script to verify capi CRDs

This script will be used to create a test in CI to check that the capi
CRDs in data/data/cluster-api match what's expected from the provider
version used in cluster-api/providers.

As a side effect, this script can be used to generate the CRD, allowing
a dev to then commit the result.

* hack: add capi CRD generation to verify-capi-manifests script

* hack/verify-capi-manifests: use Golang 1.22 image

* hack: add azureaso to the manifest generation

Although we are not technically generating the manifest, only
downloading it from the upstream repo.

* data/data/cluster-api: reconcile CRDs differences

This is the diff generated by running `hack/verify-capi-manifests.sh`
  • Loading branch information
r4f4 authored Jan 15, 2025
1 parent 2fed4ed commit cbcd65f
Show file tree
Hide file tree
Showing 6 changed files with 22,145 additions and 4,513 deletions.
2 changes: 1 addition & 1 deletion data/data/cluster-api/aws-infrastructure-components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17916,7 +17916,7 @@ spec:
env:
- name: AWS_SHARED_CREDENTIALS_FILE
value: /home/.aws/credentials
image: gcr.io/k8s-staging-cluster-api-aws/cluster-api-aws-controller:v2.5.1
image: gcr.io/k8s-staging-cluster-api-aws/cluster-api-aws-controller:v2.6.0
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261521,4 +261521,4 @@ spec:
served: true
storage: true
subresources:
status: {}
status: {}
Loading

0 comments on commit cbcd65f

Please sign in to comment.