...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_notebooksenvironments.notebooks.cnrm.cloud.google.com.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/config/crds/resources

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  annotations:
     5    cnrm.cloud.google.com/version: 0.0.0-dev
     6  creationTimestamp: null
     7  labels:
     8    cnrm.cloud.google.com/managed-by-kcc: "true"
     9    cnrm.cloud.google.com/stability-level: alpha
    10    cnrm.cloud.google.com/system: "true"
    11    cnrm.cloud.google.com/tf2crd: "true"
    12  name: notebooksenvironments.notebooks.cnrm.cloud.google.com
    13spec:
    14  group: notebooks.cnrm.cloud.google.com
    15  names:
    16    categories:
    17    - gcp
    18    kind: NotebooksEnvironment
    19    plural: notebooksenvironments
    20    shortNames:
    21    - gcpnotebooksenvironment
    22    - gcpnotebooksenvironments
    23    singular: notebooksenvironment
    24  preserveUnknownFields: false
    25  scope: Namespaced
    26  versions:
    27  - additionalPrinterColumns:
    28    - jsonPath: .metadata.creationTimestamp
    29      name: Age
    30      type: date
    31    - description: When 'True', the most recent reconcile of the resource succeeded
    32      jsonPath: .status.conditions[?(@.type=='Ready')].status
    33      name: Ready
    34      type: string
    35    - description: The reason for the value in 'Ready'
    36      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    37      name: Status
    38      type: string
    39    - description: The last transition time for the value in 'Status'
    40      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    41      name: Status Age
    42      type: date
    43    name: v1alpha1
    44    schema:
    45      openAPIV3Schema:
    46        properties:
    47          apiVersion:
    48            description: 'apiVersion defines the versioned schema of this representation
    49              of an object. Servers should convert recognized schemas to the latest
    50              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    51            type: string
    52          kind:
    53            description: 'kind is a string value representing the REST resource this
    54              object represents. Servers may infer this from the endpoint the client
    55              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    56            type: string
    57          metadata:
    58            type: object
    59          spec:
    60            properties:
    61              containerImage:
    62                description: Use a container image to start the notebook instance.
    63                properties:
    64                  repository:
    65                    description: |-
    66                      The path to the container image repository.
    67                      For example: gcr.io/{project_id}/{imageName}.
    68                    type: string
    69                  tag:
    70                    description: The tag of the container image. If not specified,
    71                      this defaults to the latest tag.
    72                    type: string
    73                required:
    74                - repository
    75                type: object
    76              description:
    77                description: A brief description of this environment.
    78                type: string
    79              displayName:
    80                description: Display name of this environment for the UI.
    81                type: string
    82              locationRef:
    83                oneOf:
    84                - not:
    85                    required:
    86                    - external
    87                  required:
    88                  - name
    89                - not:
    90                    anyOf:
    91                    - required:
    92                      - name
    93                    - required:
    94                      - namespace
    95                  required:
    96                  - external
    97                properties:
    98                  external:
    99                    description: 'Allowed value: The `name` field of a `NotebooksLocation`
   100                      resource.'
   101                    type: string
   102                  name:
   103                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   104                    type: string
   105                  namespace:
   106                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   107                    type: string
   108                type: object
   109              postStartupScript:
   110                description: |-
   111                  Path to a Bash script that automatically runs after a notebook instance fully boots up.
   112                  The path must be a URL or Cloud Storage path. Example: "gs://path-to-file/file-name".
   113                type: string
   114              projectRef:
   115                description: The project that this resource belongs to.
   116                oneOf:
   117                - not:
   118                    required:
   119                    - external
   120                  required:
   121                  - name
   122                - not:
   123                    anyOf:
   124                    - required:
   125                      - name
   126                    - required:
   127                      - namespace
   128                  required:
   129                  - external
   130                properties:
   131                  external:
   132                    description: 'Allowed value: The `name` field of a `Project` resource.'
   133                    type: string
   134                  name:
   135                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   136                    type: string
   137                  namespace:
   138                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   139                    type: string
   140                type: object
   141              resourceID:
   142                description: Immutable. Optional. The name of the resource. Used for
   143                  creation and acquisition. When unset, the value of `metadata.name`
   144                  is used as the default.
   145                type: string
   146              vmImage:
   147                description: Use a Compute Engine VM image to start the notebook instance.
   148                properties:
   149                  imageFamily:
   150                    description: Use this VM image family to find the image; the newest
   151                      image in this family will be used.
   152                    type: string
   153                  imageName:
   154                    description: Use VM image name to find the image.
   155                    type: string
   156                  project:
   157                    description: |-
   158                      The name of the Google Cloud project that this VM image belongs to.
   159                      Format: projects/{project_id}.
   160                    type: string
   161                required:
   162                - project
   163                type: object
   164            required:
   165            - locationRef
   166            - projectRef
   167            type: object
   168          status:
   169            properties:
   170              conditions:
   171                description: Conditions represent the latest available observation
   172                  of the resource's current state.
   173                items:
   174                  properties:
   175                    lastTransitionTime:
   176                      description: Last time the condition transitioned from one status
   177                        to another.
   178                      type: string
   179                    message:
   180                      description: Human-readable message indicating details about
   181                        last transition.
   182                      type: string
   183                    reason:
   184                      description: Unique, one-word, CamelCase reason for the condition's
   185                        last transition.
   186                      type: string
   187                    status:
   188                      description: Status is the status of the condition. Can be True,
   189                        False, Unknown.
   190                      type: string
   191                    type:
   192                      description: Type is the type of the condition.
   193                      type: string
   194                  type: object
   195                type: array
   196              createTime:
   197                description: Instance creation time.
   198                type: string
   199              observedGeneration:
   200                description: ObservedGeneration is the generation of the resource
   201                  that was most recently observed by the Config Connector controller.
   202                  If this is equal to metadata.generation, then that means that the
   203                  current reported status reflects the most recent desired state of
   204                  the resource.
   205                type: integer
   206            type: object
   207        required:
   208        - spec
   209        type: object
   210    served: true
   211    storage: true
   212    subresources:
   213      status: {}
   214status:
   215  acceptedNames:
   216    kind: ""
   217    plural: ""
   218  conditions: []
   219  storedVersions: []

View as plain text