github.com/giantswarm/apiextensions/v6@v6.6.0/helm/crds-common/templates/core.giantswarm.io_configs.yaml (about)

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.7.0
     8    creationTimestamp: null
     9    name: configs.core.giantswarm.io
    10  spec:
    11    group: core.giantswarm.io
    12    names:
    13      categories:
    14      - common
    15      - config
    16      - giantswarm
    17      kind: Config
    18      listKind: ConfigList
    19      plural: configs
    20      singular: config
    21    scope: Namespaced
    22    versions:
    23    - name: v1alpha1
    24      schema:
    25        openAPIV3Schema:
    26          description: Config represents configuration of an App.
    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: ConfigSpec is the spec part for the Config resource.
    42              properties:
    43                app:
    44                  description: App details for which the configuration should be generated.
    45                  properties:
    46                    catalog:
    47                      description: Catalog is the name of the App's App Catalog.
    48                      type: string
    49                    name:
    50                      description: Name is the name of the App.
    51                      type: string
    52                    version:
    53                      description: Version is the version of the App.
    54                      type: string
    55                  required:
    56                  - catalog
    57                  - name
    58                  - version
    59                  type: object
    60              required:
    61              - app
    62              type: object
    63            status:
    64              description: Status part of the Config resource.
    65              properties:
    66                app:
    67                  description: App details for which the configuration was generated.
    68                  properties:
    69                    catalog:
    70                      description: Catalog is the name of the App's App Catalog.
    71                      type: string
    72                    name:
    73                      description: Name is the name of the App.
    74                      type: string
    75                    version:
    76                      description: Version is the version of the App.
    77                      type: string
    78                  required:
    79                  - catalog
    80                  - name
    81                  - version
    82                  type: object
    83                config:
    84                  description: Config holds the references to the generated configuration.
    85                  properties:
    86                    configMapRef:
    87                      description: ConfigStatusConfigConfigMapRef contains a reference
    88                        to the generated ConfigMap.
    89                      properties:
    90                        name:
    91                          type: string
    92                        namespace:
    93                          type: string
    94                      required:
    95                      - name
    96                      - namespace
    97                      type: object
    98                    secretRef:
    99                      description: ConfigStatusConfigSecretRef contains a reference
   100                        to the generated Secret.
   101                      properties:
   102                        name:
   103                          type: string
   104                        namespace:
   105                          type: string
   106                      required:
   107                      - name
   108                      - namespace
   109                      type: object
   110                  required:
   111                  - configMapRef
   112                  - secretRef
   113                  type: object
   114                version:
   115                  description: Version of the giantswarm/config repository used to generate
   116                    the configuration.
   117                  type: string
   118              type: object
   119          required:
   120          - spec
   121          type: object
   122      served: true
   123      storage: true
   124      subresources:
   125        status: {}
   126  status:
   127    acceptedNames:
   128      kind: ""
   129      plural: ""
   130    conditions: []
   131    storedVersions: []