--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 name: appsources.k8s.badhouseplants.net spec: group: k8s.badhouseplants.net names: kind: AppSource listKind: AppSourceList plural: appsources singular: appsource scope: Namespaced versions: - name: v1alpha1 schema: openAPIV3Schema: description: AppSource is the Schema for the appsources API properties: apiVersion: description: |- APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: description: |- Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: description: AppSourceSpec defines the desired state of AppSource properties: argoInstance: properties: port: type: integer tokenRef: properties: key: type: string name: type: string namespace: type: string required: - key - name - namespace type: object url: type: string required: - port - tokenRef - url type: object resource: properties: api: type: string kind: type: string name: type: string namespace: type: string required: - api - kind - name - namespace type: object required: - resource type: object status: description: AppSourceStatus defines the observed state of AppSource properties: mainBranch: type: string required: - mainBranch type: object type: object served: true storage: true subresources: status: {}