oracle/config/crd/bases/oracle.db.anthosapis.com_databases.yaml [1:200]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.9.2
  creationTimestamp: null
  name: databases.oracle.db.anthosapis.com
spec:
  group: oracle.db.anthosapis.com
  names:
    categories:
    - genericdatabases
    kind: Database
    listKind: DatabaseList
    plural: databases
    shortNames:
    - gdb
    singular: database
  scope: Namespaced
  versions:
  - additionalPrinterColumns:
    - jsonPath: .spec.instance
      name: Instance
      type: string
    - jsonPath: .status.usernames
      name: Users
      type: string
    - jsonPath: .status.phase
      name: Phase
      type: string
    - jsonPath: .status.conditions[?(@.type=="Ready")].status
      name: DatabaseReadyStatus
      type: string
    - jsonPath: .status.conditions[?(@.type=="Ready")].reason
      name: DatabaseReadyReason
      type: string
    - jsonPath: .status.conditions[?(@.type=="Ready")].message
      name: DatabaseReadyMessage
      priority: 1
      type: string
    - jsonPath: .status.conditions[?(@.type=="UserReady")].status
      name: UserReadyStatus
      type: string
    - jsonPath: .status.conditions[?(@.type=="UserReady")].reason
      name: UserReadyReason
      type: string
    - jsonPath: .status.conditions[?(@.type=="UserReady")].message
      name: UserReadyMessage
      priority: 1
      type: string
    name: v1alpha1
    schema:
      openAPIV3Schema:
        description: Database is the Schema for the databases API.
        properties:
          apiVersion:
            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'
            type: string
          kind:
            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'
            type: string
          metadata:
            type: object
          spec:
            description: DatabaseSpec defines the desired state of Database.
            properties:
              admin_password:
                description: AdminPassword is the password for the sys admin of the
                  database.
                maxLength: 30
                minLength: 5
                type: string
              adminPasswordGsmSecretRef:
                description: AdminPasswordGsmSecretRef is a reference to the secret
                  object containing sensitive information to pass to config agent.
                  This field is optional, and may be empty if plaintext password is
                  used.
                properties:
                  projectId:
                    description: ProjectId identifies the project where the secret
                      resource is.
                    type: string
                  secretId:
                    description: SecretId identifies the secret.
                    type: string
                  version:
                    description: Version is the version of the secret. If "latest"
                      is specified, underlying the latest SecretId is used.
                    type: string
                type: object
              instance:
                description: Name of the instance that the database belongs to.
                type: string
              name:
                description: Name of the database.
                type: string
              users:
                description: Users specifies an optional list of users to be created
                  in this database.
                items:
                  description: UserSpec defines the desired state of the Database
                    Users.
                  properties:
                    gsmSecretRef:
                      description: A reference to a GSM secret.
                      properties:
                        projectId:
                          description: ProjectId identifies the project where the
                            secret resource is.
                          type: string
                        secretId:
                          description: SecretId identifies the secret.
                          type: string
                        version:
                          description: Version is the version of the secret. If "latest"
                            is specified, underlying the latest SecretId is used.
                          type: string
                      type: object
                    name:
                      description: Name of the User.
                      type: string
                    password:
                      description: Plaintext password.
                      type: string
                    privileges:
                      description: Privileges specifies an optional list of privileges
                        to grant to the user.
                      items:
                        description: PrivilegeSpec defines the desired state of roles
                          and privileges.
                        type: string
                      type: array
                    secretRef:
                      description: A reference to a k8s secret.
                      properties:
                        name:
                          description: name is unique within a namespace to reference
                            a secret resource.
                          type: string
                        namespace:
                          description: namespace defines the space within which the
                            secret name must be unique.
                          type: string
                      type: object
                      x-kubernetes-map-type: atomic
                  type: object
                type: array
            type: object
          status:
            description: DatabaseStatus defines the observed state of Database.
            properties:
              UserResourceVersions:
                additionalProperties:
                  type: string
                description: 'UserResourceVersions is a map of username to user resource
                  version (plaintext or GSM). For GSM Resource version, use format:
                  "projects/{ProjectId}/secrets/{SecretId}/versions/{Version}".'
                type: object
              conditions:
                description: Conditions represents the latest available observations
                  of the Database's current state.
                items:
                  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 }"
                  properties:
                    lastTransitionTime:
                      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.
                      format: date-time
                      type: string
                    message:
                      description: message is a human readable message indicating
                        details about the transition. This may be an empty string.
                      maxLength: 32768
                      type: string
                    observedGeneration:
                      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.
                      format: int64
                      minimum: 0
                      type: integer
                    reason:
                      description: reason contains a programmatic identifier indicating
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



oracle/operator.yaml [1092:1291]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.9.2
  creationTimestamp: null
  name: databases.oracle.db.anthosapis.com
spec:
  group: oracle.db.anthosapis.com
  names:
    categories:
    - genericdatabases
    kind: Database
    listKind: DatabaseList
    plural: databases
    shortNames:
    - gdb
    singular: database
  scope: Namespaced
  versions:
  - additionalPrinterColumns:
    - jsonPath: .spec.instance
      name: Instance
      type: string
    - jsonPath: .status.usernames
      name: Users
      type: string
    - jsonPath: .status.phase
      name: Phase
      type: string
    - jsonPath: .status.conditions[?(@.type=="Ready")].status
      name: DatabaseReadyStatus
      type: string
    - jsonPath: .status.conditions[?(@.type=="Ready")].reason
      name: DatabaseReadyReason
      type: string
    - jsonPath: .status.conditions[?(@.type=="Ready")].message
      name: DatabaseReadyMessage
      priority: 1
      type: string
    - jsonPath: .status.conditions[?(@.type=="UserReady")].status
      name: UserReadyStatus
      type: string
    - jsonPath: .status.conditions[?(@.type=="UserReady")].reason
      name: UserReadyReason
      type: string
    - jsonPath: .status.conditions[?(@.type=="UserReady")].message
      name: UserReadyMessage
      priority: 1
      type: string
    name: v1alpha1
    schema:
      openAPIV3Schema:
        description: Database is the Schema for the databases API.
        properties:
          apiVersion:
            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'
            type: string
          kind:
            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'
            type: string
          metadata:
            type: object
          spec:
            description: DatabaseSpec defines the desired state of Database.
            properties:
              admin_password:
                description: AdminPassword is the password for the sys admin of the
                  database.
                maxLength: 30
                minLength: 5
                type: string
              adminPasswordGsmSecretRef:
                description: AdminPasswordGsmSecretRef is a reference to the secret
                  object containing sensitive information to pass to config agent.
                  This field is optional, and may be empty if plaintext password is
                  used.
                properties:
                  projectId:
                    description: ProjectId identifies the project where the secret
                      resource is.
                    type: string
                  secretId:
                    description: SecretId identifies the secret.
                    type: string
                  version:
                    description: Version is the version of the secret. If "latest"
                      is specified, underlying the latest SecretId is used.
                    type: string
                type: object
              instance:
                description: Name of the instance that the database belongs to.
                type: string
              name:
                description: Name of the database.
                type: string
              users:
                description: Users specifies an optional list of users to be created
                  in this database.
                items:
                  description: UserSpec defines the desired state of the Database
                    Users.
                  properties:
                    gsmSecretRef:
                      description: A reference to a GSM secret.
                      properties:
                        projectId:
                          description: ProjectId identifies the project where the
                            secret resource is.
                          type: string
                        secretId:
                          description: SecretId identifies the secret.
                          type: string
                        version:
                          description: Version is the version of the secret. If "latest"
                            is specified, underlying the latest SecretId is used.
                          type: string
                      type: object
                    name:
                      description: Name of the User.
                      type: string
                    password:
                      description: Plaintext password.
                      type: string
                    privileges:
                      description: Privileges specifies an optional list of privileges
                        to grant to the user.
                      items:
                        description: PrivilegeSpec defines the desired state of roles
                          and privileges.
                        type: string
                      type: array
                    secretRef:
                      description: A reference to a k8s secret.
                      properties:
                        name:
                          description: name is unique within a namespace to reference
                            a secret resource.
                          type: string
                        namespace:
                          description: namespace defines the space within which the
                            secret name must be unique.
                          type: string
                      type: object
                      x-kubernetes-map-type: atomic
                  type: object
                type: array
            type: object
          status:
            description: DatabaseStatus defines the observed state of Database.
            properties:
              UserResourceVersions:
                additionalProperties:
                  type: string
                description: 'UserResourceVersions is a map of username to user resource
                  version (plaintext or GSM). For GSM Resource version, use format:
                  "projects/{ProjectId}/secrets/{SecretId}/versions/{Version}".'
                type: object
              conditions:
                description: Conditions represents the latest available observations
                  of the Database's current state.
                items:
                  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 }"
                  properties:
                    lastTransitionTime:
                      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.
                      format: date-time
                      type: string
                    message:
                      description: message is a human readable message indicating
                        details about the transition. This may be an empty string.
                      maxLength: 32768
                      type: string
                    observedGeneration:
                      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.
                      format: int64
                      minimum: 0
                      type: integer
                    reason:
                      description: reason contains a programmatic identifier indicating
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



