...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/secretmanager_v1beta1_secretmanagersecretversion.yaml

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

     1# Copyright 2020 Google LLC
     2#
     3# Licensed under the Apache License, Version 2.0 (the "License");
     4# you may not use this file except in compliance with the License.
     5# You may obtain a copy of the License at
     6#
     7#     http://www.apache.org/licenses/LICENSE-2.0
     8#
     9# Unless required by applicable law or agreed to in writing, software
    10# distributed under the License is distributed on an "AS IS" BASIS,
    11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12# See the License for the specific language governing permissions and
    13# limitations under the License.
    14
    15apiVersion: apiextensions.k8s.io/v1
    16kind: CustomResourceDefinition
    17metadata:
    18  annotations:
    19    cnrm.cloud.google.com/version: 1.106.0
    20  creationTimestamp: null
    21  labels:
    22    cnrm.cloud.google.com/managed-by-kcc: "true"
    23    cnrm.cloud.google.com/stability-level: stable
    24    cnrm.cloud.google.com/system: "true"
    25    cnrm.cloud.google.com/tf2crd: "true"
    26  name: secretmanagersecretversions.secretmanager.cnrm.cloud.google.com
    27spec:
    28  group: secretmanager.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: SecretManagerSecretVersion
    33    plural: secretmanagersecretversions
    34    shortNames:
    35    - gcpsecretmanagersecretversion
    36    - gcpsecretmanagersecretversions
    37    singular: secretmanagersecretversion
    38  scope: Namespaced
    39  versions:
    40  - additionalPrinterColumns:
    41    - jsonPath: .metadata.creationTimestamp
    42      name: Age
    43      type: date
    44    - description: When 'True', the most recent reconcile of the resource succeeded
    45      jsonPath: .status.conditions[?(@.type=='Ready')].status
    46      name: Ready
    47      type: string
    48    - description: The reason for the value in 'Ready'
    49      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    50      name: Status
    51      type: string
    52    - description: The last transition time for the value in 'Status'
    53      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    54      name: Status Age
    55      type: date
    56    name: v1beta1
    57    schema:
    58      openAPIV3Schema:
    59        properties:
    60          apiVersion:
    61            description: 'apiVersion defines the versioned schema of this representation
    62              of an object. Servers should convert recognized schemas to the latest
    63              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    64            type: string
    65          kind:
    66            description: 'kind is a string value representing the REST resource this
    67              object represents. Servers may infer this from the endpoint the client
    68              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    69            type: string
    70          metadata:
    71            type: object
    72          spec:
    73            properties:
    74              enabled:
    75                description: The current state of the SecretVersion.
    76                type: boolean
    77              resourceID:
    78                description: Immutable. Optional. The service-generated name of the
    79                  resource. Used for acquisition only. Leave unset to create a new
    80                  resource.
    81                type: string
    82              secretData:
    83                description: Immutable. The secret data. Must be no larger than 64KiB.
    84                oneOf:
    85                - not:
    86                    required:
    87                    - valueFrom
    88                  required:
    89                  - value
    90                - not:
    91                    required:
    92                    - value
    93                  required:
    94                  - valueFrom
    95                properties:
    96                  value:
    97                    description: Value of the field. Cannot be used if 'valueFrom'
    98                      is specified.
    99                    type: string
   100                  valueFrom:
   101                    description: Source for the field's value. Cannot be used if 'value'
   102                      is specified.
   103                    properties:
   104                      secretKeyRef:
   105                        description: Reference to a value with the given key in the
   106                          given Secret in the resource's namespace.
   107                        properties:
   108                          key:
   109                            description: Key that identifies the value to be extracted.
   110                            type: string
   111                          name:
   112                            description: Name of the Secret to extract a value from.
   113                            type: string
   114                        required:
   115                        - name
   116                        - key
   117                        type: object
   118                    type: object
   119                type: object
   120              secretRef:
   121                description: Secret Manager secret resource
   122                oneOf:
   123                - not:
   124                    required:
   125                    - external
   126                  required:
   127                  - name
   128                - not:
   129                    anyOf:
   130                    - required:
   131                      - name
   132                    - required:
   133                      - namespace
   134                  required:
   135                  - external
   136                properties:
   137                  external:
   138                    description: 'Allowed value: The `name` field of a `SecretManagerSecret`
   139                      resource.'
   140                    type: string
   141                  name:
   142                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   143                    type: string
   144                  namespace:
   145                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   146                    type: string
   147                type: object
   148            required:
   149            - secretData
   150            - secretRef
   151            type: object
   152          status:
   153            properties:
   154              conditions:
   155                description: Conditions represent the latest available observation
   156                  of the resource's current state.
   157                items:
   158                  properties:
   159                    lastTransitionTime:
   160                      description: Last time the condition transitioned from one status
   161                        to another.
   162                      type: string
   163                    message:
   164                      description: Human-readable message indicating details about
   165                        last transition.
   166                      type: string
   167                    reason:
   168                      description: Unique, one-word, CamelCase reason for the condition's
   169                        last transition.
   170                      type: string
   171                    status:
   172                      description: Status is the status of the condition. Can be True,
   173                        False, Unknown.
   174                      type: string
   175                    type:
   176                      description: Type is the type of the condition.
   177                      type: string
   178                  type: object
   179                type: array
   180              createTime:
   181                description: The time at which the Secret was created.
   182                type: string
   183              destroyTime:
   184                description: The time at which the Secret was destroyed. Only present
   185                  if state is DESTROYED.
   186                type: string
   187              name:
   188                description: |-
   189                  The resource name of the SecretVersion. Format:
   190                  'projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}'.
   191                type: string
   192              observedGeneration:
   193                description: ObservedGeneration is the generation of the resource
   194                  that was most recently observed by the Config Connector controller.
   195                  If this is equal to metadata.generation, then that means that the
   196                  current reported status reflects the most recent desired state of
   197                  the resource.
   198                type: integer
   199              version:
   200                description: The version of the Secret.
   201                type: string
   202            type: object
   203        required:
   204        - spec
   205        type: object
   206    served: true
   207    storage: true
   208    subresources:
   209      status: {}
   210status:
   211  acceptedNames:
   212    kind: ""
   213    plural: ""
   214  conditions: []
   215  storedVersions: []

View as plain text