...

Text file src/github.com/openshift/api/helm/v1beta1/0000_10-project-helm-chart-repository.crd.yaml

Documentation: github.com/openshift/api/helm/v1beta1

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  annotations:
     5    api-approved.openshift.io: https://github.com/openshift/api/pull/1084
     6    include.release.openshift.io/ibm-cloud-managed: "true"
     7    include.release.openshift.io/self-managed-high-availability: "true"
     8    include.release.openshift.io/single-node-developer: "true"
     9  name: projecthelmchartrepositories.helm.openshift.io
    10spec:
    11  group: helm.openshift.io
    12  names:
    13    kind: ProjectHelmChartRepository
    14    listKind: ProjectHelmChartRepositoryList
    15    plural: projecthelmchartrepositories
    16    singular: projecthelmchartrepository
    17  scope: Namespaced
    18  versions:
    19    - name: v1beta1
    20      schema:
    21        openAPIV3Schema:
    22          description: "ProjectHelmChartRepository holds namespace-wide configuration for proxied Helm chart repository \n Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer)."
    23          type: object
    24          required:
    25            - spec
    26          properties:
    27            apiVersion:
    28              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'
    29              type: string
    30            kind:
    31              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'
    32              type: string
    33            metadata:
    34              type: object
    35            spec:
    36              description: spec holds user settable values for configuration
    37              type: object
    38              properties:
    39                connectionConfig:
    40                  description: Required configuration for connecting to the chart repo
    41                  type: object
    42                  properties:
    43                    basicAuthConfig:
    44                      description: basicAuthConfig is an optional reference to a secret by name that contains the basic authentication credentials to present when connecting to the server. The key "username" is used locate the username. The key "password" is used to locate the password. The namespace for this secret must be same as the namespace where the project helm chart repository is getting instantiated.
    45                      type: object
    46                      required:
    47                        - name
    48                      properties:
    49                        name:
    50                          description: name is the metadata.name of the referenced secret
    51                          type: string
    52                    ca:
    53                      description: ca is an optional reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. The key "ca-bundle.crt" is used to locate the data. If empty, the default system roots are used. The namespace for this configmap must be same as the namespace where the project helm chart repository is getting instantiated.
    54                      type: object
    55                      required:
    56                        - name
    57                      properties:
    58                        name:
    59                          description: name is the metadata.name of the referenced config map
    60                          type: string
    61                    tlsClientConfig:
    62                      description: tlsClientConfig is an optional reference to a secret by name that contains the PEM-encoded TLS client certificate and private key to present when connecting to the server. The key "tls.crt" is used to locate the client certificate. The key "tls.key" is used to locate the private key. The namespace for this secret must be same as the namespace where the project helm chart repository is getting instantiated.
    63                      type: object
    64                      required:
    65                        - name
    66                      properties:
    67                        name:
    68                          description: name is the metadata.name of the referenced secret
    69                          type: string
    70                    url:
    71                      description: Chart repository URL
    72                      type: string
    73                      maxLength: 2048
    74                      pattern: ^https?:\/\/
    75                description:
    76                  description: Optional human readable repository description, it can be used by UI for displaying purposes
    77                  type: string
    78                  maxLength: 2048
    79                  minLength: 1
    80                disabled:
    81                  description: If set to true, disable the repo usage in the namespace
    82                  type: boolean
    83                name:
    84                  description: Optional associated human readable repository name, it can be used by UI for displaying purposes
    85                  type: string
    86                  maxLength: 100
    87                  minLength: 1
    88            status:
    89              description: Observed status of the repository within the namespace..
    90              type: object
    91              properties:
    92                conditions:
    93                  description: conditions is a list of conditions and their statuses
    94                  type: array
    95                  items:
    96                    description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions.  For example, \n type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
    97                    type: object
    98                    required:
    99                      - lastTransitionTime
   100                      - message
   101                      - reason
   102                      - status
   103                      - type
   104                    properties:
   105                      lastTransitionTime:
   106                        description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
   107                        type: string
   108                        format: date-time
   109                      message:
   110                        description: message is a human readable message indicating details about the transition. This may be an empty string.
   111                        type: string
   112                        maxLength: 32768
   113                      observedGeneration:
   114                        description: observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
   115                        type: integer
   116                        format: int64
   117                        minimum: 0
   118                      reason:
   119                        description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
   120                        type: string
   121                        maxLength: 1024
   122                        minLength: 1
   123                        pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
   124                      status:
   125                        description: status of the condition, one of True, False, Unknown.
   126                        type: string
   127                        enum:
   128                          - "True"
   129                          - "False"
   130                          - Unknown
   131                      type:
   132                        description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
   133                        type: string
   134                        maxLength: 316
   135                        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])$
   136      served: true
   137      storage: true
   138      subresources:
   139        status: {}

View as plain text