|
| 1 | + |
| 2 | +--- |
| 3 | +apiVersion: apiextensions.k8s.io/v1 |
| 4 | +kind: CustomResourceDefinition |
| 5 | +metadata: |
| 6 | + annotations: |
| 7 | + controller-gen.kubebuilder.io/version: v0.6.2 |
| 8 | + creationTimestamp: null |
| 9 | + name: gitrepositories.devops.kubesphere.io |
| 10 | +spec: |
| 11 | + group: devops.kubesphere.io |
| 12 | + names: |
| 13 | + kind: GitRepository |
| 14 | + listKind: GitRepositoryList |
| 15 | + plural: gitrepositories |
| 16 | + singular: gitrepository |
| 17 | + scope: Namespaced |
| 18 | + versions: |
| 19 | + - additionalPrinterColumns: |
| 20 | + - jsonPath: .spec.server |
| 21 | + name: Server |
| 22 | + type: string |
| 23 | + name: v1alpha3 |
| 24 | + schema: |
| 25 | + openAPIV3Schema: |
| 26 | + description: GitRepository is the Schema for the webhook API |
| 27 | + properties: |
| 28 | + apiVersion: |
| 29 | + description: 'APIVersion defines the versioned schema of this representation |
| 30 | + of an object. Servers should convert recognized schemas to the latest |
| 31 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 32 | + type: string |
| 33 | + kind: |
| 34 | + description: 'Kind is a string value representing the REST resource this |
| 35 | + object represents. Servers may infer this from the endpoint the client |
| 36 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 37 | + type: string |
| 38 | + metadata: |
| 39 | + type: object |
| 40 | + spec: |
| 41 | + description: GitRepositorySpec represents the desired state of a GitRepository |
| 42 | + properties: |
| 43 | + provider: |
| 44 | + type: string |
| 45 | + secret: |
| 46 | + description: SecretReference represents a Secret Reference. It has |
| 47 | + enough information to retrieve secret in any namespace |
| 48 | + properties: |
| 49 | + name: |
| 50 | + description: Name is unique within a namespace to reference a |
| 51 | + secret resource. |
| 52 | + type: string |
| 53 | + namespace: |
| 54 | + description: Namespace defines the space within which the secret |
| 55 | + name must be unique. |
| 56 | + type: string |
| 57 | + type: object |
| 58 | + url: |
| 59 | + type: string |
| 60 | + webhooks: |
| 61 | + items: |
| 62 | + description: LocalObjectReference contains enough information to |
| 63 | + let you locate the referenced object inside the same namespace. |
| 64 | + properties: |
| 65 | + name: |
| 66 | + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 67 | + TODO: Add other useful fields. apiVersion, kind, uid?' |
| 68 | + type: string |
| 69 | + type: object |
| 70 | + type: array |
| 71 | + type: object |
| 72 | + type: object |
| 73 | + served: true |
| 74 | + storage: true |
| 75 | + subresources: {} |
| 76 | +status: |
| 77 | + acceptedNames: |
| 78 | + kind: "" |
| 79 | + plural: "" |
| 80 | + conditions: [] |
| 81 | + storedVersions: [] |
0 commit comments