Created
July 18, 2023 08:53
-
-
Save muvaf/26b26830b86993607be65c41382bea6e to your computer and use it in GitHub Desktop.
Example YAMLs to reproduce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apiextensions.crossplane.io/v1 | |
kind: CompositeResourceDefinition | |
metadata: | |
name: eks.example.org | |
spec: | |
group: example.org | |
names: | |
kind: EKS | |
plural: eks | |
versions: | |
- name: v1alpha1 | |
served: true | |
referenceable: true | |
schema: | |
openAPIV3Schema: | |
type: object | |
properties: | |
spec: | |
type: object | |
properties: | |
parameters: | |
type: object | |
properties: | |
storageGB: | |
type: integer | |
required: | |
- storageGB | |
required: | |
- parameters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apiextensions.crossplane.io/v1 | |
kind: CompositeResourceDefinition | |
metadata: | |
name: eks.example.org | |
spec: | |
group: example.org | |
names: | |
kind: EKS | |
plural: eks | |
claimNames: | |
kind: EKSCluster | |
plural: eksclusters | |
versions: | |
- name: v1alpha1 | |
served: true | |
referenceable: true | |
schema: | |
openAPIV3Schema: | |
type: object | |
properties: | |
spec: | |
type: object | |
properties: | |
parameters: | |
type: object | |
properties: | |
storageGB: | |
type: integer | |
required: | |
- storageGB | |
required: | |
- parameters |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
> kubectl get xrd NAME ESTABLISHED OFFERED AGE eks.example.org True True 2m42s
> kubectl get crd compositeresourcedefinitions.apiextensions.crossplane.io 2023-07-18T08:49:40Z compositionrevisions.apiextensions.crossplane.io 2023-07-18T08:49:40Z compositions.apiextensions.crossplane.io 2023-07-18T08:49:40Z configurationrevisions.pkg.crossplane.io 2023-07-18T08:49:40Z configurations.pkg.crossplane.io 2023-07-18T08:49:40Z controllerconfigs.pkg.crossplane.io 2023-07-18T08:49:40Z eks.example.org 2023-07-18T08:51:37Z eksclusters.example.org 2023-07-18T08:52:30Z environmentconfigs.apiextensions.crossplane.io 2023-07-18T08:49:40Z locks.pkg.crossplane.io 2023-07-18T08:49:40Z providerrevisions.pkg.crossplane.io 2023-07-18T08:49:40Z providers.pkg.crossplane.io 2023-07-18T08:49:40Z storeconfigs.secrets.crossplane.io 2023-07-18T08:49:40Z