Skip to content
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

Add cluster api OCI CRD #432

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add cluster api OCI CRD #432

wants to merge 1 commit into from

Conversation

afarbos
Copy link
Contributor

@afarbos afarbos commented Dec 4, 2024

CRD location: https://github.com/oracle/cluster-api-provider-oci/tree/main/config/crd

Generated with:

git clone https://github.com/oracle/cluster-api-provider-oci.git --depth 1 --branch main && \
 export FILENAME_FORMAT="{fullgroup}__{kind}_{version}" && \
 kubectl kustomize cluster-api-provider-oci/config/crd/ > crd.yaml && \
 curl -s https://raw.githubusercontent.com/yannh/kubeconform/master/scripts/openapi2jsonschema.py | \
 python3 ~/Repos/kubeconform/scripts/openapi2jsonschema.py crd.yaml | \
 awk '{ print $(NF) }' | \
 xargs -I {} sh -c 'f=$0; mkdir -p $(dirname $(echo $f | sed "s|__|/|")) && \
 mv $f $(echo $f | sed "s|__|/|")' '{}' && \
 rm crd.yaml && \
 rm -rf cluster-api-provider-oci

@afarbos afarbos force-pushed the af/CAPIOCI branch 2 times, most recently from cda4961 to b776818 Compare December 4, 2024 22:36
@eyarz
Copy link
Member

eyarz commented Dec 8, 2024

@afarbos can you please add a link to the crd origin on github?

@afarbos
Copy link
Contributor Author

afarbos commented Dec 8, 2024

@afarbos can you please add a link to the crd origin on github?

You can find them here: https://github.com/oracle/cluster-api-provider-oci/tree/main/config/crd

@afarbos
Copy link
Contributor Author

afarbos commented Dec 17, 2024

@eyarz would need anything else?

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

Successfully merging this pull request may close these issues.

2 participants