github.com/redhat-appstudio/release-service@v0.0.0-20240507143925-083712697924/config/crd/bases/appstudio.redhat.com_releaseplans.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      controller-gen.kubebuilder.io/version: v0.8.0
     7    creationTimestamp: null
     8    name: releaseplans.appstudio.redhat.com
     9  spec:
    10    group: appstudio.redhat.com
    11    names:
    12      kind: ReleasePlan
    13      listKind: ReleasePlanList
    14      plural: releaseplans
    15      shortNames:
    16      - rp
    17      singular: releaseplan
    18    scope: Namespaced
    19    versions:
    20    - additionalPrinterColumns:
    21      - jsonPath: .spec.application
    22        name: Application
    23        type: string
    24      - jsonPath: .spec.target
    25        name: Target
    26        type: string
    27      name: v1alpha1
    28      schema:
    29        openAPIV3Schema:
    30          description: ReleasePlan is the Schema for the ReleasePlans API.
    31          properties:
    32            apiVersion:
    33              description: 'APIVersion defines the versioned schema of this representation
    34                of an object. Servers should convert recognized schemas to the latest
    35                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    36              type: string
    37            kind:
    38              description: 'Kind is a string value representing the REST resource this
    39                object represents. Servers may infer this from the endpoint the client
    40                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    41              type: string
    42            metadata:
    43              type: object
    44            spec:
    45              description: ReleasePlanSpec defines the desired state of ReleasePlan.
    46              properties:
    47                application:
    48                  description: Application is a reference to the application to be released
    49                    in the managed namespace
    50                  pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
    51                  type: string
    52                data:
    53                  description: Data is an unstructured key used for providing data for
    54                    the managed Release Pipeline
    55                  type: object
    56                  x-kubernetes-preserve-unknown-fields: true
    57                pipelineRef:
    58                  description: PipelineRef is an optional reference to a Pipeline that
    59                    would be executed before the managed Release Pipeline
    60                  properties:
    61                    params:
    62                      description: Params is a slice of parameters for a given resolver
    63                      items:
    64                        description: Param defines the parameters for a given resolver
    65                          in PipelineRef
    66                        properties:
    67                          name:
    68                            description: Name is the name of the parameter
    69                            type: string
    70                          value:
    71                            description: Value is the value of the parameter
    72                            type: string
    73                        required:
    74                        - name
    75                        - value
    76                        type: object
    77                      type: array
    78                    resolver:
    79                      description: Resolver is the name of a Tekton resolver to be used
    80                        (e.g. git)
    81                      type: string
    82                  required:
    83                  - params
    84                  - resolver
    85                  type: object
    86                releaseGracePeriodDays:
    87                  default: 7
    88                  description: ReleaseGracePeriodDays is the number of days a Release
    89                    should be kept This value is used to define the Release ExpirationTime
    90                  type: integer
    91                serviceAccount:
    92                  description: ServiceAccount is the name of the service account to
    93                    use in the Pipeline to gain elevated privileges
    94                  pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
    95                  type: string
    96                target:
    97                  description: Target references where to send the release requests
    98                  pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
    99                  type: string
   100              required:
   101              - application
   102              - target
   103              type: object
   104            status:
   105              description: ReleasePlanStatus defines the observed state of ReleasePlan.
   106              properties:
   107                conditions:
   108                  description: Conditions represent the latest available observations
   109                    for the releasePlan
   110                  items:
   111                    description: "Condition contains details for one aspect of the current
   112                      state of this API Resource. --- This struct is intended for direct
   113                      use as an array at the field path .status.conditions.  For example,
   114                      \n type FooStatus struct{ // Represents the observations of a
   115                      foo's current state. // Known .status.conditions.type are: \"Available\",
   116                      \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
   117                      // +listType=map // +listMapKey=type Conditions []metav1.Condition
   118                      `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
   119                      protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
   120                    properties:
   121                      lastTransitionTime:
   122                        description: lastTransitionTime is the last time the condition
   123                          transitioned from one status to another. This should be when
   124                          the underlying condition changed.  If that is not known, then
   125                          using the time when the API field changed is acceptable.
   126                        format: date-time
   127                        type: string
   128                      message:
   129                        description: message is a human readable message indicating
   130                          details about the transition. This may be an empty string.
   131                        maxLength: 32768
   132                        type: string
   133                      observedGeneration:
   134                        description: observedGeneration represents the .metadata.generation
   135                          that the condition was set based upon. For instance, if .metadata.generation
   136                          is currently 12, but the .status.conditions[x].observedGeneration
   137                          is 9, the condition is out of date with respect to the current
   138                          state of the instance.
   139                        format: int64
   140                        minimum: 0
   141                        type: integer
   142                      reason:
   143                        description: reason contains a programmatic identifier indicating
   144                          the reason for the condition's last transition. Producers
   145                          of specific condition types may define expected values and
   146                          meanings for this field, and whether the values are considered
   147                          a guaranteed API. The value should be a CamelCase string.
   148                          This field may not be empty.
   149                        maxLength: 1024
   150                        minLength: 1
   151                        pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
   152                        type: string
   153                      status:
   154                        description: status of the condition, one of True, False, Unknown.
   155                        enum:
   156                        - "True"
   157                        - "False"
   158                        - Unknown
   159                        type: string
   160                      type:
   161                        description: type of condition in CamelCase or in foo.example.com/CamelCase.
   162                          --- Many .condition.type values are consistent across resources
   163                          like Available, but because arbitrary conditions can be useful
   164                          (see .node.status.conditions), the ability to deconflict is
   165                          important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
   166                        maxLength: 316
   167                        pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
   168                        type: string
   169                    required:
   170                    - lastTransitionTime
   171                    - message
   172                    - reason
   173                    - status
   174                    - type
   175                    type: object
   176                  type: array
   177                releasePlanAdmission:
   178                  description: ReleasePlanAdmission contains the information of the
   179                    releasePlanAdmission this ReleasePlan is matched to
   180                  properties:
   181                    active:
   182                      description: Active indicates whether the ReleasePlanAdmission
   183                        is set to auto-release or not
   184                      type: boolean
   185                    name:
   186                      description: Name contains the namespaced name of the releasePlanAdmission
   187                      type: string
   188                  type: object
   189              type: object
   190          type: object
   191      served: true
   192      storage: true
   193      subresources:
   194        status: {}
   195  status:
   196    acceptedNames:
   197      kind: ""
   198      plural: ""
   199    conditions: []
   200    storedVersions: []