github.com/redhat-appstudio/release-service@v0.0.0-20240507143925-083712697924/config/crd/bases/appstudio.redhat.com_releaseplanadmissions.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: releaseplanadmissions.appstudio.redhat.com
     9  spec:
    10    group: appstudio.redhat.com
    11    names:
    12      kind: ReleasePlanAdmission
    13      listKind: ReleasePlanAdmissionList
    14      plural: releaseplanadmissions
    15      shortNames:
    16      - rpa
    17      singular: releaseplanadmission
    18    scope: Namespaced
    19    versions:
    20    - additionalPrinterColumns:
    21      - jsonPath: .spec.environment
    22        name: Environment
    23        type: string
    24      - jsonPath: .spec.origin
    25        name: Origin
    26        type: string
    27      name: v1alpha1
    28      schema:
    29        openAPIV3Schema:
    30          description: ReleasePlanAdmission is the Schema for the ReleasePlanAdmissions
    31            API.
    32          properties:
    33            apiVersion:
    34              description: 'APIVersion defines the versioned schema of this representation
    35                of an object. Servers should convert recognized schemas to the latest
    36                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    37              type: string
    38            kind:
    39              description: 'Kind is a string value representing the REST resource this
    40                object represents. Servers may infer this from the endpoint the client
    41                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    42              type: string
    43            metadata:
    44              type: object
    45            spec:
    46              description: ReleasePlanAdmissionSpec defines the desired state of ReleasePlanAdmission.
    47              properties:
    48                applications:
    49                  description: Applications is a list of references to applications
    50                    to be released in the managed namespace
    51                  items:
    52                    type: string
    53                  type: array
    54                data:
    55                  description: Data is an unstructured key used for providing data for
    56                    the managed Release Pipeline
    57                  type: object
    58                  x-kubernetes-preserve-unknown-fields: true
    59                environment:
    60                  description: Environment defines which Environment will be used to
    61                    release the Application
    62                  pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
    63                  type: string
    64                origin:
    65                  description: Origin references where the release requests should come
    66                    from
    67                  pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
    68                  type: string
    69                pipeline:
    70                  description: Pipeline contains all the information about the managed
    71                    Pipeline
    72                  properties:
    73                    pipelineRef:
    74                      description: PipelineRef is the reference to the Pipeline
    75                      properties:
    76                        params:
    77                          description: Params is a slice of parameters for a given resolver
    78                          items:
    79                            description: Param defines the parameters for a given resolver
    80                              in PipelineRef
    81                            properties:
    82                              name:
    83                                description: Name is the name of the parameter
    84                                type: string
    85                              value:
    86                                description: Value is the value of the parameter
    87                                type: string
    88                            required:
    89                            - name
    90                            - value
    91                            type: object
    92                          type: array
    93                        resolver:
    94                          description: Resolver is the name of a Tekton resolver to
    95                            be used (e.g. git)
    96                          type: string
    97                      required:
    98                      - params
    99                      - resolver
   100                      type: object
   101                    serviceAccountName:
   102                      description: ServiceAccount is the ServiceAccount to use during
   103                        the execution of the Pipeline
   104                      pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
   105                      type: string
   106                    timeouts:
   107                      description: Timeouts defines the different Timeouts to use in
   108                        the PipelineRun execution
   109                      properties:
   110                        finally:
   111                          description: Finally sets the maximum allowed duration of
   112                            this pipeline's finally
   113                          type: string
   114                        pipeline:
   115                          description: Pipeline sets the maximum allowed duration for
   116                            execution of the entire pipeline. The sum of individual
   117                            timeouts for tasks and finally must not exceed this value.
   118                          type: string
   119                        tasks:
   120                          description: Tasks sets the maximum allowed duration of this
   121                            pipeline's tasks
   122                          type: string
   123                      type: object
   124                  required:
   125                  - pipelineRef
   126                  type: object
   127                policy:
   128                  description: Policy to validate before releasing an artifact
   129                  pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
   130                  type: string
   131              required:
   132              - applications
   133              - origin
   134              - pipeline
   135              - policy
   136              type: object
   137            status:
   138              description: ReleasePlanAdmissionStatus defines the observed state of
   139                ReleasePlanAdmission.
   140              properties:
   141                conditions:
   142                  description: Conditions represent the latest available observations
   143                    for the releasePlanAdmission
   144                  items:
   145                    description: "Condition contains details for one aspect of the current
   146                      state of this API Resource. --- This struct is intended for direct
   147                      use as an array at the field path .status.conditions.  For example,
   148                      \n type FooStatus struct{ // Represents the observations of a
   149                      foo's current state. // Known .status.conditions.type are: \"Available\",
   150                      \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
   151                      // +listType=map // +listMapKey=type Conditions []metav1.Condition
   152                      `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
   153                      protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
   154                    properties:
   155                      lastTransitionTime:
   156                        description: lastTransitionTime is the last time the condition
   157                          transitioned from one status to another. This should be when
   158                          the underlying condition changed.  If that is not known, then
   159                          using the time when the API field changed is acceptable.
   160                        format: date-time
   161                        type: string
   162                      message:
   163                        description: message is a human readable message indicating
   164                          details about the transition. This may be an empty string.
   165                        maxLength: 32768
   166                        type: string
   167                      observedGeneration:
   168                        description: observedGeneration represents the .metadata.generation
   169                          that the condition was set based upon. For instance, if .metadata.generation
   170                          is currently 12, but the .status.conditions[x].observedGeneration
   171                          is 9, the condition is out of date with respect to the current
   172                          state of the instance.
   173                        format: int64
   174                        minimum: 0
   175                        type: integer
   176                      reason:
   177                        description: reason contains a programmatic identifier indicating
   178                          the reason for the condition's last transition. Producers
   179                          of specific condition types may define expected values and
   180                          meanings for this field, and whether the values are considered
   181                          a guaranteed API. The value should be a CamelCase string.
   182                          This field may not be empty.
   183                        maxLength: 1024
   184                        minLength: 1
   185                        pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
   186                        type: string
   187                      status:
   188                        description: status of the condition, one of True, False, Unknown.
   189                        enum:
   190                        - "True"
   191                        - "False"
   192                        - Unknown
   193                        type: string
   194                      type:
   195                        description: type of condition in CamelCase or in foo.example.com/CamelCase.
   196                          --- Many .condition.type values are consistent across resources
   197                          like Available, but because arbitrary conditions can be useful
   198                          (see .node.status.conditions), the ability to deconflict is
   199                          important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
   200                        maxLength: 316
   201                        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])$
   202                        type: string
   203                    required:
   204                    - lastTransitionTime
   205                    - message
   206                    - reason
   207                    - status
   208                    - type
   209                    type: object
   210                  type: array
   211                releasePlans:
   212                  description: ReleasePlan is a list of releasePlans matched to the
   213                    ReleasePlanAdmission
   214                  items:
   215                    description: MatchedReleasePlan defines the relevant information
   216                      for a matched ReleasePlan.
   217                    properties:
   218                      active:
   219                        description: Active indicates whether the ReleasePlan is set
   220                          to auto-release or not
   221                        type: boolean
   222                      name:
   223                        description: Name contains the namespaced name of the ReleasePlan
   224                        pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?\/[a-z0-9]([-a-z0-9]*[a-z0-9])?$
   225                        type: string
   226                    type: object
   227                  type: array
   228              type: object
   229          type: object
   230      served: true
   231      storage: true
   232      subresources:
   233        status: {}
   234  status:
   235    acceptedNames:
   236      kind: ""
   237      plural: ""
   238    conditions: []
   239    storedVersions: []