apiVersion: v1 kind: Namespace metadata: labels: control-plane: controller-manager name: oracle-database-operator-system --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.6.1 creationTimestamp: null name: autonomouscontainerdatabases.database.oracle.com spec: group: database.oracle.com names: kind: AutonomousContainerDatabase listKind: AutonomousContainerDatabaseList plural: autonomouscontainerdatabases shortNames: - acd - acds singular: autonomouscontainerdatabase scope: Namespaced versions: - additionalPrinterColumns: - jsonPath: .spec.displayName name: DisplayName type: string - jsonPath: .status.lifecycleState name: State type: string - jsonPath: .status.timeCreated name: Created type: string name: v1alpha1 schema: openAPIV3Schema: description: AutonomousContainerDatabase is the Schema for the autonomouscontainerdatabases 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: AutonomousContainerDatabaseSpec defines the desired state of AutonomousContainerDatabase properties: action: enum: - SYNC - RESTART - TERMINATE type: string autonomousContainerDatabaseOCID: description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' type: string autonomousExadataVMClusterOCID: type: string compartmentOCID: type: string displayName: type: string freeformTags: additionalProperties: type: string type: object hardLink: default: false type: boolean ociConfig: description: "*********************** *\tOCI config ***********************" properties: configMapName: type: string secretName: type: string type: object patchModel: description: 'AutonomousContainerDatabasePatchModelEnum Enum with underlying type: string' enum: - RELEASE_UPDATES - RELEASE_UPDATE_REVISIONS type: string type: object status: description: AutonomousContainerDatabaseStatus defines the observed state of AutonomousContainerDatabase properties: lifecycleState: description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file' type: string timeCreated: type: string required: - lifecycleState type: object type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.6.1 creationTimestamp: null name: autonomousdatabasebackups.database.oracle.com spec: group: database.oracle.com names: kind: AutonomousDatabaseBackup listKind: AutonomousDatabaseBackupList plural: autonomousdatabasebackups shortNames: - adbbu - adbbus singular: autonomousdatabasebackup scope: Namespaced versions: - additionalPrinterColumns: - jsonPath: .status.lifecycleState name: State type: string - jsonPath: .status.dbDisplayName name: DB DisplayName type: string - jsonPath: .status.type name: Type type: string - jsonPath: .status.timeStarted name: Started type: string - jsonPath: .status.timeEnded name: Ended type: string name: v1alpha1 schema: openAPIV3Schema: description: AutonomousDatabaseBackup is the Schema for the autonomousdatabasebackups 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: AutonomousDatabaseBackupSpec defines the desired state of AutonomousDatabaseBackup properties: autonomousDatabaseBackupOCID: type: string displayName: type: string ociConfig: description: "*********************** *\tOCI config ***********************" properties: configMapName: type: string secretName: type: string type: object target: description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' properties: k8sADB: description: "*********************** *\tADB spec ***********************" properties: name: type: string type: object ociADB: properties: ocid: type: string type: object type: object type: object status: description: AutonomousDatabaseBackupStatus defines the observed state of AutonomousDatabaseBackup properties: autonomousDatabaseOCID: type: string compartmentOCID: type: string dbDisplayName: type: string dbName: type: string isAutomatic: type: boolean lifecycleState: description: 'AutonomousDatabaseBackupLifecycleStateEnum Enum with underlying type: string' type: string timeEnded: type: string timeStarted: type: string type: description: 'AutonomousDatabaseBackupTypeEnum Enum with underlying type: string' type: string required: - autonomousDatabaseOCID - compartmentOCID - dbDisplayName - dbName - isAutomatic - lifecycleState - type type: object type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.6.1 creationTimestamp: null name: autonomousdatabaserestores.database.oracle.com spec: group: database.oracle.com names: kind: AutonomousDatabaseRestore listKind: AutonomousDatabaseRestoreList plural: autonomousdatabaserestores shortNames: - adbr - adbrs singular: autonomousdatabaserestore scope: Namespaced versions: - additionalPrinterColumns: - jsonPath: .status.status name: Status type: string - jsonPath: .status.displayName name: DbDisplayName type: string - jsonPath: .status.dbName name: DbName type: string name: v1alpha1 schema: openAPIV3Schema: description: AutonomousDatabaseRestore is the Schema for the autonomousdatabaserestores 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: AutonomousDatabaseRestoreSpec defines the desired state of AutonomousDatabaseRestore properties: ociConfig: description: "*********************** *\tOCI config ***********************" properties: configMapName: type: string secretName: type: string type: object source: properties: k8sADBBackup: description: 'EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.' properties: name: type: string type: object pointInTime: properties: timestamp: description: 'The timestamp must follow this format: YYYY-MM-DD HH:MM:SS GMT' type: string type: object type: object target: description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' properties: k8sADB: description: "*********************** *\tADB spec ***********************" properties: name: type: string type: object ociADB: properties: ocid: type: string type: object type: object required: - source - target type: object status: description: AutonomousDatabaseRestoreStatus defines the observed state of AutonomousDatabaseRestore properties: dbName: type: string displayName: description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file' type: string status: description: 'WorkRequestStatusEnum Enum with underlying type: string' type: string timeAccepted: type: string timeEnded: type: string timeStarted: type: string workRequestOCID: type: string required: - dbName - displayName - status - workRequestOCID type: object type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.6.1 creationTimestamp: null name: autonomousdatabases.database.oracle.com spec: group: database.oracle.com names: kind: AutonomousDatabase listKind: AutonomousDatabaseList plural: autonomousdatabases shortNames: - adb - adbs singular: autonomousdatabase scope: Namespaced versions: - additionalPrinterColumns: - jsonPath: .spec.details.displayName name: Display Name type: string - jsonPath: .spec.details.dbName name: Db Name type: string - jsonPath: .status.lifecycleState name: State type: string - jsonPath: .spec.details.isDedicated name: Dedicated type: string - jsonPath: .spec.details.cpuCoreCount name: OCPUs type: integer - jsonPath: .spec.details.dataStorageSizeInTBs name: Storage (TB) type: integer - jsonPath: .spec.details.dbWorkload name: Workload Type type: string - jsonPath: .status.timeCreated name: Created type: string name: v1alpha1 schema: openAPIV3Schema: description: AutonomousDatabase is the Schema for the autonomousdatabases 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: 'AutonomousDatabaseSpec defines the desired state of AutonomousDatabase Important: Run "make" to regenerate code after modifying this file' properties: details: description: AutonomousDatabaseDetails defines the detail information of AutonomousDatabase, corresponding to oci-go-sdk/database/AutonomousDatabase properties: adminPassword: properties: k8sSecret: description: "*********************** *\tSecret specs ***********************" properties: name: type: string type: object ociSecret: properties: ocid: type: string type: object type: object autonomousContainerDatabase: description: ACDSpec defines the spec of the target for backup/restore runs. The name could be the name of an AutonomousDatabase or an AutonomousDatabaseBackup properties: k8sACD: description: "*********************** *\tACD specs ***********************" properties: name: type: string type: object ociACD: properties: ocid: type: string type: object type: object autonomousDatabaseOCID: type: string compartmentOCID: type: string cpuCoreCount: type: integer dataStorageSizeInTBs: type: integer dbName: type: string dbVersion: type: string dbWorkload: description: 'AutonomousDatabaseDbWorkloadEnum Enum with underlying type: string' enum: - OLTP - DW - AJD - APEX type: string displayName: type: string freeformTags: additionalProperties: type: string type: object isAutoScalingEnabled: type: boolean isDedicated: type: boolean licenseModel: description: 'AutonomousDatabaseLicenseModelEnum Enum with underlying type: string' enum: - LICENSE_INCLUDED - BRING_YOUR_OWN_LICENSE type: string lifecycleState: description: 'AutonomousDatabaseLifecycleStateEnum Enum with underlying type: string' type: string networkAccess: properties: accessControlList: items: type: string type: array accessType: enum: - "" - PUBLIC - RESTRICTED - PRIVATE type: string isAccessControlEnabled: type: boolean isMTLSConnectionRequired: type: boolean privateEndpoint: properties: hostnamePrefix: type: string nsgOCIDs: items: type: string type: array subnetOCID: type: string type: object type: object wallet: properties: name: type: string password: properties: k8sSecret: description: "*********************** *\tSecret specs ***********************" properties: name: type: string type: object ociSecret: properties: ocid: type: string type: object type: object type: object type: object hardLink: default: false type: boolean ociConfig: description: "*********************** *\tOCI config ***********************" properties: configMapName: type: string secretName: type: string type: object required: - details type: object status: description: AutonomousDatabaseStatus defines the observed state of AutonomousDatabase properties: allConnectionStrings: items: properties: connectionStrings: items: properties: connectionString: type: string tnsName: type: string type: object type: array tlsAuthentication: type: string required: - connectionStrings type: object type: array conditions: 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 \ttype FooStatus struct{ \t // Represents the observations of a foo's current state. \t // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" \t // +patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map \t // +listMapKey=type \t Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n \t // other fields \t}" 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 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. maxLength: 1024 minLength: 1 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ type: string status: description: status of the condition, one of True, False, Unknown. enum: - "True" - "False" - Unknown type: string type: 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) maxLength: 316 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])$ type: string required: - lastTransitionTime - message - reason - status - type type: object type: array x-kubernetes-list-map-keys: - type x-kubernetes-list-type: map lifecycleState: description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file' type: string timeCreated: type: string walletExpiringDate: type: string type: object type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: cert-manager.io/inject-ca-from: oracle-database-operator-system/oracle-database-operator-serving-cert controller-gen.kubebuilder.io/version: v0.6.1 name: cdbs.database.oracle.com spec: group: database.oracle.com names: kind: CDB listKind: CDBList plural: cdbs singular: cdb scope: Namespaced versions: - additionalPrinterColumns: - description: Name of the CDB jsonPath: .spec.cdbName name: CDB Name type: string - description: ' Name of the DB Server' jsonPath: .spec.dbServer name: DB Server type: string - description: DB server port jsonPath: .spec.dbPort name: DB Port type: integer - description: ' string of the tnsalias' jsonPath: .spec.dbTnsurl name: TNS STRING type: string - description: Replicas jsonPath: .spec.replicas name: Replicas type: integer - description: Status of the CDB Resource jsonPath: .status.phase name: Status type: string - description: Error message, if any jsonPath: .status.msg name: Message type: string name: v1alpha1 schema: openAPIV3Schema: description: CDB is the Schema for the cdbs 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: CDBSpec defines the desired state of CDB properties: cdbAdminPwd: description: Password for the CDB Administrator to manage PDB lifecycle properties: secret: description: CDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object cdbAdminUser: description: User in the root container with sysdba priviledges to manage PDB lifecycle properties: secret: description: CDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object cdbName: description: Name of the CDB type: string cdbTlsCrt: properties: secret: description: CDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object cdbTlsKey: properties: secret: description: CDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object dbPort: description: DB server port type: integer dbServer: description: Name of the DB server type: string dbTnsurl: type: string nodeSelector: additionalProperties: type: string description: Node Selector for running the Pod type: object ordsImage: description: ORDS Image Name type: string ordsImagePullPolicy: description: ORDS Image Pull Policy enum: - Always - Never type: string ordsImagePullSecret: description: The name of the image pull secret in case of a private docker repository. type: string ordsPort: description: ORDS server port. For now, keep it as 8888. TO BE USED IN FUTURE RELEASE. type: integer ordsPwd: description: Password for user ORDS_PUBLIC_USER properties: secret: description: CDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object replicas: description: Number of ORDS Containers to create type: integer serviceName: description: Name of the CDB Service type: string sysAdminPwd: description: Password for the CDB System Administrator properties: secret: description: CDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object webServerPwd: description: Password for the Web Server User properties: secret: description: CDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object webServerUser: description: Web Server User with SQL Administrator role to allow us to authenticate to the PDB Lifecycle Management REST endpoints properties: secret: description: CDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object type: object status: description: CDBStatus defines the observed state of CDB properties: msg: description: Message type: string phase: description: Phase of the CDB Resource type: string status: description: CDB Resource Status type: boolean required: - phase - status type: object type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.6.1 creationTimestamp: null name: databaseobservers.observability.oracle.com spec: group: observability.oracle.com names: kind: DatabaseObserver listKind: DatabaseObserverList plural: databaseobservers singular: databaseobserver scope: Namespaced versions: - additionalPrinterColumns: - jsonPath: .status.exporterConfig name: ExporterConfig type: string - jsonPath: .status.status name: Status type: string name: v1alpha1 schema: openAPIV3Schema: description: DatabaseObserver is the Schema for the databaseobservers 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: DatabaseObserverSpec defines the desired state of DatabaseObserver properties: database: description: DatabaseObserverDatabase defines the database details used for DatabaseObserver properties: dbConnectionString: properties: key: type: string secret: type: string type: object dbPassword: properties: key: type: string secret: type: string vaultOCID: type: string vaultSecretName: type: string type: object dbUser: properties: key: type: string secret: type: string type: object dbWallet: properties: key: type: string secret: type: string type: object type: object exporter: description: DatabaseObserverExporterConfig defines the configuration details related to the exporters of DatabaseObserver properties: configuration: properties: configmap: description: ConfigMapDetails defines the configmap name properties: configmapName: type: string key: type: string type: object type: object image: type: string service: description: DatabaseObserverService defines the exporter service component of DatabaseObserver properties: port: format: int32 type: integer type: object type: object ociConfig: properties: configMapName: type: string secretName: type: string type: object prometheus: description: PrometheusConfig defines the generated resources for Prometheus properties: labels: additionalProperties: type: string type: object port: type: string type: object replicas: format: int32 type: integer type: object status: description: DatabaseObserverStatus defines the observed state of DatabaseObserver properties: conditions: description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file' 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 \ttype FooStatus struct{ \t // Represents the observations of a foo's current state. \t // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" \t // +patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map \t // +listMapKey=type \t Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n \t // other fields \t}" 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 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. maxLength: 1024 minLength: 1 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ type: string status: description: status of the condition, one of True, False, Unknown. enum: - "True" - "False" - Unknown type: string type: 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) maxLength: 316 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])$ type: string required: - lastTransitionTime - message - reason - status - type type: object type: array exporterConfig: type: string replicas: type: integer status: type: string required: - conditions - exporterConfig type: object type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.6.1 creationTimestamp: null name: dataguardbrokers.database.oracle.com spec: group: database.oracle.com names: kind: DataguardBroker listKind: DataguardBrokerList plural: dataguardbrokers singular: dataguardbroker scope: Namespaced versions: - additionalPrinterColumns: - jsonPath: .status.primaryDatabase name: Primary type: string - jsonPath: .status.standbyDatabases name: Standbys type: string - jsonPath: .spec.protectionMode name: Protection Mode type: string - jsonPath: .status.clusterConnectString name: Cluster Connect Str priority: 1 type: string - jsonPath: .status.externalConnectString name: Connect Str type: string - jsonPath: .spec.primaryDatabaseRef name: Primary Database priority: 1 type: string - jsonPath: .status.status name: Status type: string name: v1alpha1 schema: openAPIV3Schema: description: DataguardBroker is the Schema for the dataguardbrokers 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: DataguardBrokerSpec defines the desired state of DataguardBroker properties: fastStartFailOver: properties: enable: type: boolean strategy: items: description: FSFO strategy properties: sourceDatabaseRef: type: string targetDatabaseRefs: type: string type: object type: array type: object loadBalancer: type: boolean nodeSelector: additionalProperties: type: string type: object primaryDatabaseRef: type: string protectionMode: enum: - MaxPerformance - MaxAvailability type: string serviceAnnotations: additionalProperties: type: string type: object setAsPrimaryDatabase: type: string standbyDatabaseRefs: items: type: string type: array required: - primaryDatabaseRef - protectionMode - standbyDatabaseRefs type: object status: description: DataguardBrokerStatus defines the observed state of DataguardBroker properties: clusterConnectString: type: string externalConnectString: type: string primaryDatabase: type: string primaryDatabaseRef: type: string protectionMode: type: string standbyDatabases: type: string status: type: string type: object type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.6.1 creationTimestamp: null name: dbcssystems.database.oracle.com spec: group: database.oracle.com names: kind: DbcsSystem listKind: DbcsSystemList plural: dbcssystems singular: dbcssystem scope: Namespaced versions: - name: v1alpha1 schema: openAPIV3Schema: description: DbcsSystem is the Schema for the dbcssystems 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: DbcsSystemSpec defines the desired state of DbcsSystem properties: dbSystem: properties: availabilityDomain: type: string backupSubnetId: type: string clusterName: type: string compartmentId: type: string cpuCoreCount: type: integer dbAdminPaswordSecret: type: string dbBackupConfig: description: DB Backup COnfig Network Struct properties: autoBackupEnabled: type: boolean autoBackupWindow: type: string backupDestinationDetails: type: string recoveryWindowsInDays: type: integer type: object dbDomain: type: string dbEdition: type: string dbName: type: string dbUniqueName: type: string dbVersion: type: string dbWorkload: type: string diskRedundancy: type: string displayName: type: string domain: type: string faultDomains: items: type: string type: array hostName: type: string initialDataStorageSizeInGB: type: integer kmsKeyId: type: string kmsKeyVersionId: type: string licenseModel: type: string nodeCount: type: integer pdbName: type: string privateIp: type: string shape: type: string sshPublicKeys: items: type: string type: array storageManagement: type: string subnetId: type: string tags: additionalProperties: type: string type: object tdeWalletPasswordSecret: type: string timeZone: type: string required: - availabilityDomain - compartmentId - dbAdminPaswordSecret - hostName - shape - sshPublicKeys - subnetId type: object hardLink: type: boolean id: type: string ociConfigMap: type: string ociSecret: type: string required: - ociConfigMap type: object status: description: DbcsSystemStatus defines the observed state of DbcsSystem properties: availabilityDomain: type: string cpuCoreCount: type: integer dataStoragePercentage: type: integer dataStorageSizeInGBs: type: integer dbEdition: type: string dbInfo: items: description: DbcsSystemStatus defines the observed state of DbcsSystem properties: dbHomeId: type: string dbName: type: string dbUniqueName: type: string dbWorkload: type: string id: type: string type: object type: array displayName: type: string id: type: string licenseModel: type: string network: properties: clientSubnet: type: string domainName: type: string hostName: type: string listenerPort: type: integer networkSG: type: string scanDnsName: type: string vcnName: type: string type: object nodeCount: type: integer recoStorageSizeInGB: type: integer shape: type: string state: type: string storageManagement: type: string subnetId: type: string timeZone: type: string workRequests: items: properties: operationId: type: string operationType: type: string percentComplete: type: string timeAccepted: type: string timeFinished: type: string timeStarted: type: string required: - operationId - operationType type: object type: array required: - state type: object type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.6.1 creationTimestamp: null name: oraclerestdataservices.database.oracle.com spec: group: database.oracle.com names: kind: OracleRestDataService listKind: OracleRestDataServiceList plural: oraclerestdataservices singular: oraclerestdataservice scope: Namespaced versions: - additionalPrinterColumns: - jsonPath: .status.status name: Status type: string - jsonPath: .spec.databaseRef name: Database type: string - jsonPath: .status.databaseApiUrl name: Database API URL type: string - jsonPath: .status.databaseActionsUrl name: Database Actions URL type: string - jsonPath: .status.apexUrl name: Apex URL type: string name: v1alpha1 schema: openAPIV3Schema: description: OracleRestDataService is the Schema for the oraclerestdataservices 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: OracleRestDataServiceSpec defines the desired state of OracleRestDataService properties: adminPassword: description: OracleRestDataServicePassword defines the secret containing Password mapped to secretKey properties: keepSecret: type: boolean secretKey: default: oracle_pwd type: string secretName: type: string required: - secretName type: object apexPassword: description: OracleRestDataServicePassword defines the secret containing Password mapped to secretKey properties: keepSecret: type: boolean secretKey: default: oracle_pwd type: string secretName: type: string required: - secretName type: object databaseRef: type: string image: description: OracleRestDataServiceImage defines the Image source and pullSecrets for POD properties: pullFrom: type: string pullSecrets: type: string version: type: string required: - pullFrom type: object loadBalancer: type: boolean nodeSelector: additionalProperties: type: string type: object oracleService: type: string ordsPassword: description: OracleRestDataServicePassword defines the secret containing Password mapped to secretKey properties: keepSecret: type: boolean secretKey: default: oracle_pwd type: string secretName: type: string required: - secretName type: object ordsUser: type: string persistence: description: OracleRestDataServicePersistence defines the storage releated params properties: accessMode: enum: - ReadWriteOnce - ReadWriteMany type: string size: type: string storageClass: type: string volumeName: type: string type: object replicas: minimum: 1 type: integer restEnableSchemas: items: description: OracleRestDataServicePDBSchemas defines the PDB Schemas to be ORDS Enabled properties: enable: type: boolean pdbName: type: string schemaName: type: string urlMapping: type: string required: - enable - schemaName type: object type: array serviceAccountName: type: string serviceAnnotations: additionalProperties: type: string type: object required: - adminPassword - databaseRef - ordsPassword type: object status: description: OracleRestDataServiceStatus defines the observed state of OracleRestDataService properties: apexConfigured: type: boolean apexUrl: type: string commonUsersCreated: type: boolean databaseActionsUrl: type: string databaseApiUrl: type: string databaseRef: type: string image: description: OracleRestDataServiceImage defines the Image source and pullSecrets for POD properties: pullFrom: type: string pullSecrets: type: string version: type: string required: - pullFrom type: object loadBalancer: type: string ordsInstalled: type: boolean replicas: type: integer serviceIP: type: string status: description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file' type: string type: object type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: cert-manager.io/inject-ca-from: oracle-database-operator-system/oracle-database-operator-serving-cert controller-gen.kubebuilder.io/version: v0.6.1 name: pdbs.database.oracle.com spec: group: database.oracle.com names: kind: PDB listKind: PDBList plural: pdbs singular: pdb scope: Namespaced versions: - additionalPrinterColumns: - description: The connect string to be used jsonPath: .status.connString name: Connect_String type: string - description: Name of the CDB jsonPath: .spec.cdbName name: CDB Name type: string - description: Name of the PDB jsonPath: .spec.pdbName name: PDB Name type: string - description: PDB Open Mode jsonPath: .status.openMode name: PDB State type: string - description: Total Size of the PDB jsonPath: .status.totalSize name: PDB Size type: string - description: Status of the PDB Resource jsonPath: .status.phase name: Status type: string - description: Error message, if any jsonPath: .status.msg name: Message type: string name: v1alpha1 schema: openAPIV3Schema: description: PDB is the Schema for the pdbs 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: PDBSpec defines the desired state of PDB properties: action: description: 'Action to be taken: Create/Clone/Plug/Unplug/Delete/Modify/Status/Map. Map is used to map a Databse PDB to a Kubernetes PDB CR.' enum: - Create - Clone - Plug - Unplug - Delete - Modify - Status - Map type: string adminName: description: The administrator username for the new PDB. This property is required when the Action property is Create. properties: secret: description: PDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object adminPwd: description: The administrator password for the new PDB. This property is required when the Action property is Create. properties: secret: description: PDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object asClone: description: Indicate if 'AS CLONE' option should be used in the command to plug in a PDB. This property is applicable when the Action property is PLUG but not required. type: boolean cdbName: description: Name of the CDB type: string cdbNamespace: description: CDB Namespace type: string cdbResName: description: Name of the CDB Custom Resource that runs the ORDS container type: string copyAction: description: To copy files or not while cloning a PDB enum: - COPY - NOCOPY - MOVE type: string dropAction: description: Specify if datafiles should be removed or not. The value can be INCLUDING or KEEP (default). enum: - INCLUDING - KEEP type: string fileNameConversions: description: Relevant for Create and Plug operations. As defined in the Oracle Multitenant Database documentation. Values can be a filename convert pattern or NONE. type: string getScript: description: Whether you need the script only or execute the script type: boolean modifyOption: description: Extra options for opening and closing a PDB enum: - IMMEDIATE - NORMAL - READ ONLY - READ WRITE - RESTRICTED type: string pdbName: description: The name of the new PDB. Relevant for both Create and Plug Actions. type: string pdbState: description: The target state of the PDB enum: - OPEN - CLOSE type: string pdbTlsCat: properties: secret: description: PDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object pdbTlsCrt: properties: secret: description: PDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object pdbTlsKey: properties: secret: description: PDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object reuseTempFile: description: Whether to reuse temp file type: boolean sourceFileNameConversions: description: This property is required when the Action property is Plug. As defined in the Oracle Multitenant Database documentation. Values can be a source filename convert pattern or NONE. type: string sparseClonePath: description: A Path specified for sparse clone snapshot copy. (Optional) type: string srcPdbName: description: Name of the Source PDB from which to clone type: string tdeExport: description: TDE export for unplug operations type: boolean tdeImport: description: TDE import for plug operations type: boolean tdeKeystorePath: description: TDE keystore path is required if the tdeImport or tdeExport flag is set to true. Can be used in plug or unplug operations. type: string tdePassword: description: TDE password if the tdeImport or tdeExport flag is set to true. Can be used in create, plug or unplug operations properties: secret: description: PDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object tdeSecret: description: TDE secret is required if the tdeImport or tdeExport flag is set to true. Can be used in plug or unplug operations. properties: secret: description: PDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object tempSize: description: Relevant for Create and Clone operations. Total size for temporary tablespace as defined in the Oracle Multitenant Database documentation. See size_clause description in Database SQL Language Reference documentation. type: string totalSize: description: Relevant for create and plug operations. Total size as defined in the Oracle Multitenant Database documentation. See size_clause description in Database SQL Language Reference documentation. type: string unlimitedStorage: description: Relevant for Create and Plug operations. True for unlimited storage. Even when set to true, totalSize and tempSize MUST be specified in the request if Action is Create. type: boolean webServerPwd: description: Password for the Web ServerPDB User properties: secret: description: PDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object webServerUser: description: Web Server User with SQL Administrator role to allow us to authenticate to the PDB Lifecycle Management REST endpoints properties: secret: description: PDBSecret defines the secretName properties: key: type: string secretName: type: string required: - key - secretName type: object required: - secret type: object xmlFileName: description: XML metadata filename to be used for Plug or Unplug operations type: string required: - action type: object status: description: PDBStatus defines the observed state of PDB properties: action: description: Last Completed Action type: string connString: description: PDB Connect String type: string modifyOption: description: Modify Option of the PDB type: string msg: description: Message type: string openMode: description: Open mode of the PDB type: string phase: description: Phase of the PDB Resource type: string status: description: PDB Resource Status type: boolean totalSize: description: Total size of the PDB type: string required: - phase - status type: object type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.6.1 creationTimestamp: null name: shardingdatabases.database.oracle.com spec: group: database.oracle.com names: kind: ShardingDatabase listKind: ShardingDatabaseList plural: shardingdatabases singular: shardingdatabase scope: Namespaced versions: - additionalPrinterColumns: - jsonPath: .status.gsm.state name: Gsm State type: string - jsonPath: .status.gsm.services name: Services type: string - jsonPath: .status.gsm.shards name: shards priority: 1 type: string name: v1alpha1 schema: openAPIV3Schema: description: ShardingDatabase is the Schema for the shardingdatabases 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: ShardingDatabaseSpec defines the desired state of ShardingDatabase properties: InvitedNodeSubnet: type: string catalog: items: description: CatalogSpec defines the desired state of CatalogSpec properties: envVars: items: description: EnvironmentVariable represents a named variable accessible for containers. properties: name: type: string value: type: string required: - name - value type: object type: array imagePullPolicy: description: PullPolicy describes a policy for if/when to pull a container image type: string isDelete: type: boolean label: type: string name: type: string nodeSelector: additionalProperties: type: string type: object pvAnnotations: additionalProperties: type: string type: object pvMatchLabels: additionalProperties: type: string type: object pvcName: type: string resources: description: ResourceRequirements describes the compute resource requirements. properties: claims: description: "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. \n This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. \n This field is immutable. It can only be set for containers." items: description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: description: Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. type: string required: - name type: object type: array x-kubernetes-list-map-keys: - name x-kubernetes-list-type: map limits: additionalProperties: anyOf: - type: integer - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true description: 'Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object requests: additionalProperties: anyOf: - type: integer - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object storageSizeInGb: format: int32 type: integer required: - name type: object type: array dbImage: type: string dbImagePullSecret: type: string dbSecret: description: Secret Details properties: encryptionType: type: string keyFileMountLocation: type: string keyFileName: type: string keySecretName: type: string name: type: string nsConfigMap: type: string nsSecret: type: string pwdFileMountLocation: type: string pwdFileName: type: string required: - name - pwdFileName type: object gsm: items: description: GsmSpec defines the desired state of GsmSpec properties: directorName: type: string envVars: description: Replicas int32 `json:"replicas,omitempty"` // Gsm Replicas. If you set OraGsmPvcName then it is set default to 1. items: description: EnvironmentVariable represents a named variable accessible for containers. properties: name: type: string value: type: string required: - name - value type: object type: array imagePullPolicy: description: PullPolicy describes a policy for if/when to pull a container image type: string isDelete: type: boolean label: type: string name: type: string nodeSelector: additionalProperties: type: string type: object pvMatchLabels: additionalProperties: type: string type: object pvcName: type: string region: type: string resources: description: ResourceRequirements describes the compute resource requirements. properties: claims: description: "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. \n This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. \n This field is immutable. It can only be set for containers." items: description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: description: Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. type: string required: - name type: object type: array x-kubernetes-list-map-keys: - name x-kubernetes-list-type: map limits: additionalProperties: anyOf: - type: integer - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true description: 'Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object requests: additionalProperties: anyOf: - type: integer - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object storageSizeInGb: format: int32 type: integer required: - name type: object type: array gsmDevMode: type: string gsmImage: type: string gsmImagePullSecret: type: string gsmService: items: description: Service Definition properties: available: type: string clbGoal: type: string commitOutcome: type: string drainTimeout: type: string dtp: type: string edition: type: string failoverDelay: type: string failoverMethod: type: string failoverPrimary: type: string failoverRestore: type: string failoverRetry: type: string failoverType: type: string gdsPool: type: string lag: type: integer locality: type: string name: type: string notification: type: string pdbName: type: string policy: type: string preferred: type: string prferredAll: type: string regionFailover: type: string retention: type: string role: type: string sessionState: type: string sqlTransactionProfile: type: string stopOption: type: string tableFamily: type: string tfaPolicy: type: string required: - name type: object type: array gsmShardGroup: items: properties: deployAs: type: string name: type: string region: type: string required: - name type: object type: array gsmShardSpace: items: description: ShardSpace Specs properties: chunks: type: integer name: type: string protectionMode: type: string shardGroup: type: string required: - name type: object type: array invitedNodeSubnetFlag: type: string isClone: type: boolean isDataGuard: type: boolean isDebug: type: boolean isDeleteOraPvc: type: boolean isDownloadScripts: type: boolean isExternalSvc: type: boolean isTdeWallet: type: boolean liveinessCheckPeriod: type: integer namespace: type: string portMappings: items: description: PortMapping is a specification of port mapping for an application deployment. properties: port: format: int32 type: integer protocol: default: TCP type: string targetPort: format: int32 type: integer required: - port - protocol - targetPort type: object type: array readinessCheckPeriod: type: integer replicationType: type: string scriptsLocation: type: string shard: description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' items: description: ShardSpec is a specification of Shards for an application deployment. properties: deployAs: type: string envVars: items: description: EnvironmentVariable represents a named variable accessible for containers. properties: name: type: string value: type: string required: - name - value type: object type: array imagePullPolicy: description: PullPolicy describes a policy for if/when to pull a container image type: string isDelete: type: boolean label: type: string name: type: string nodeSelector: additionalProperties: type: string type: object pvAnnotations: additionalProperties: type: string type: object pvMatchLabels: additionalProperties: type: string type: object pvcName: type: string resources: description: ResourceRequirements describes the compute resource requirements. properties: claims: description: "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. \n This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. \n This field is immutable. It can only be set for containers." items: description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: description: Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. type: string required: - name type: object type: array x-kubernetes-list-map-keys: - name x-kubernetes-list-type: map limits: additionalProperties: anyOf: - type: integer - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true description: 'Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object requests: additionalProperties: anyOf: - type: integer - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object shardGroup: type: string shardRegion: type: string shardSpace: type: string storageSizeInGb: format: int32 type: integer required: - name type: object type: array shardBuddyRegion: type: string shardConfigName: type: string shardRegion: items: type: string type: array shardingType: type: string stagePvcName: type: string storageClass: type: string required: - catalog - dbImage - gsm - gsmImage - shard type: object status: description: To understand Metav1.Condition, please refer the link https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1 ShardingDatabaseStatus defines the observed state of ShardingDatabase properties: catalogs: additionalProperties: type: string type: object conditions: 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 \ttype FooStatus struct{ \t // Represents the observations of a foo's current state. \t // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" \t // +patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map \t // +listMapKey=type \t Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n \t // other fields \t}" 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 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. maxLength: 1024 minLength: 1 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ type: string status: description: status of the condition, one of True, False, Unknown. enum: - "True" - "False" - Unknown type: string type: 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) maxLength: 316 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])$ type: string required: - lastTransitionTime - message - reason - status - type type: object type: array x-kubernetes-list-map-keys: - type x-kubernetes-list-type: map gsm: properties: details: additionalProperties: type: string type: object externalConnectStr: type: string internalConnectStr: type: string services: type: string shards: additionalProperties: type: string type: object state: type: string type: object shards: additionalProperties: type: string type: object type: object type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: cert-manager.io/inject-ca-from: oracle-database-operator-system/oracle-database-operator-serving-cert controller-gen.kubebuilder.io/version: v0.6.1 name: singleinstancedatabases.database.oracle.com spec: group: database.oracle.com names: kind: SingleInstanceDatabase listKind: SingleInstanceDatabaseList plural: singleinstancedatabases singular: singleinstancedatabase scope: Namespaced versions: - additionalPrinterColumns: - jsonPath: .status.edition name: Edition type: string - jsonPath: .status.sid name: Sid priority: 1 type: string - jsonPath: .status.status name: Status type: string - jsonPath: .status.role name: Role type: string - jsonPath: .status.releaseUpdate name: Version type: string - jsonPath: .status.connectString name: Connect Str type: string - jsonPath: .status.pdbConnectString name: Pdb Connect Str priority: 1 type: string - jsonPath: .status.tcpsConnectString name: TCPS Connect Str type: string - jsonPath: .status.tcpsPdbConnectString name: TCPS Pdb Connect Str priority: 1 type: string - jsonPath: .status.oemExpressUrl name: Oem Express Url type: string name: v1alpha1 schema: openAPIV3Schema: description: SingleInstanceDatabase is the Schema for the singleinstancedatabases 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: SingleInstanceDatabaseSpec defines the desired state of SingleInstanceDatabase properties: adminPassword: description: SingleInsatnceAdminPassword defines the secret containing Admin Password mapped to secretKey for Database properties: keepSecret: type: boolean secretKey: default: oracle_pwd type: string secretName: type: string required: - secretName type: object archiveLog: type: boolean charset: type: string createAs: enum: - primary - standby - clone type: string dgBrokerConfigured: type: boolean edition: enum: - standard - enterprise - express - free type: string enableTCPS: type: boolean flashBack: type: boolean forceLog: type: boolean image: description: SingleInstanceDatabaseImage defines the Image source and pullSecrets for POD properties: prebuiltDB: type: boolean pullFrom: type: string pullSecrets: type: string version: type: string required: - pullFrom type: object initParams: description: SingleInstanceDatabaseInitParams defines the Init Parameters properties: cpuCount: type: integer pgaAggregateTarget: type: integer processes: type: integer sgaTarget: type: integer type: object listenerPort: type: integer loadBalancer: type: boolean nodeSelector: additionalProperties: type: string type: object pdbName: type: string persistence: description: SingleInstanceDatabasePersistence defines the storage size and class for PVC properties: accessMode: enum: - ReadWriteOnce - ReadWriteMany type: string datafilesVolumeName: type: string scriptsVolumeName: type: string setWritePermissions: type: boolean size: type: string storageClass: type: string volumeClaimAnnotation: type: string type: object primaryDatabaseRef: type: string readinessCheckPeriod: type: integer replicas: type: integer serviceAccountName: type: string serviceAnnotations: additionalProperties: type: string type: object sid: description: SID must be alphanumeric (no special characters, only a-z, A-Z, 0-9), and no longer than 12 characters. maxLength: 12 pattern: ^[a-zA-Z0-9]+$ type: string tcpsCertRenewInterval: type: string tcpsListenerPort: type: integer tcpsTlsSecret: type: string required: - image type: object status: description: SingleInstanceDatabaseStatus defines the observed state of SingleInstanceDatabase properties: apexInstalled: type: boolean archiveLog: type: string certCreationTimestamp: type: string certRenewInterval: type: string charset: type: string clientWalletLoc: type: string clusterConnectString: type: string conditions: 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 \ttype FooStatus struct{ \t // Represents the observations of a foo's current state. \t // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" \t // +patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map \t // +listMapKey=type \t Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n \t // other fields \t}" 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 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. maxLength: 1024 minLength: 1 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ type: string status: description: status of the condition, one of True, False, Unknown. enum: - "True" - "False" - Unknown type: string type: 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) maxLength: 316 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])$ type: string required: - lastTransitionTime - message - reason - status - type type: object type: array x-kubernetes-list-map-keys: - type x-kubernetes-list-type: map connectString: type: string createdAs: type: string datafilesCreated: default: "false" type: string datafilesPatched: default: "false" type: string dgBrokerConfigured: type: boolean edition: type: string flashBack: type: string forceLog: type: string initParams: description: SingleInstanceDatabaseInitParams defines the Init Parameters properties: cpuCount: type: integer pgaAggregateTarget: type: integer processes: type: integer sgaTarget: type: integer type: object initPgaSize: type: integer initSgaSize: type: integer isTcpsEnabled: default: false type: boolean nodes: items: type: string type: array oemExpressUrl: type: string ordsReference: type: string pdbConnectString: type: string pdbName: type: string persistence: description: SingleInstanceDatabasePersistence defines the storage size and class for PVC properties: accessMode: enum: - ReadWriteOnce - ReadWriteMany type: string datafilesVolumeName: type: string scriptsVolumeName: type: string setWritePermissions: type: boolean size: type: string storageClass: type: string volumeClaimAnnotation: type: string type: object prebuiltDB: type: boolean primaryDatabase: type: string releaseUpdate: type: string replicas: type: integer role: type: string sid: type: string standbyDatabases: additionalProperties: type: string type: object status: type: string tcpsConnectString: type: string tcpsPdbConnectString: type: string tcpsTlsSecret: default: "" type: string required: - isTcpsEnabled - persistence - tcpsTlsSecret type: object type: object served: true storage: true subresources: scale: specReplicasPath: .spec.replicas statusReplicasPath: .status.replicas status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: [] --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: oracle-database-operator-leader-election-role namespace: oracle-database-operator-system rules: - apiGroups: - "" resources: - configmaps verbs: - get - list - watch - create - update - patch - delete - apiGroups: - coordination.k8s.io resources: - leases verbs: - get - list - watch - create - update - patch - delete - apiGroups: - "" resources: - configmaps/status verbs: - get - update - patch - apiGroups: - "" resources: - events verbs: - create - patch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: creationTimestamp: null name: oracle-database-operator-manager-role rules: - apiGroups: - "" resources: - configmaps - deployments - events - pods - secrets - services verbs: - create - delete - get - list - patch - update - watch - apiGroups: - "" resources: - configmaps - events - pods - pods/exec - pods/log - replicasets - services verbs: - create - delete - get - list - patch - update - watch - apiGroups: - "" resources: - configmaps - namespaces - secrets verbs: - create - delete - get - list - patch - update - watch - apiGroups: - "" resources: - configmaps - secrets verbs: - create - delete - get - list - patch - update - watch - apiGroups: - "" resources: - events verbs: - create - patch - apiGroups: - "" resources: - persistentvolumeclaims - pods - pods/exec - pods/log - services verbs: - create - delete - get - list - patch - update - watch - apiGroups: - "" resources: - persistentvolumes verbs: - get - list - apiGroups: - '''''' resources: - statefulsets/finalizers verbs: - create - delete - get - list - patch - update - watch - apiGroups: - apps resources: - configmaps - deployments - pods - services verbs: - create - delete - get - list - patch - update - watch - apiGroups: - apps resources: - replicasets verbs: - create - delete - get - list - patch - update - watch - apiGroups: - apps resources: - statefulsets verbs: - create - delete - get - list - patch - update - watch - apiGroups: - coordination.k8s.io resources: - leases verbs: - create - get - list - update - apiGroups: - "" resources: - configmaps - containers - events - namespaces - persistentvolumeclaims - pods - pods/exec - pods/log - secrets - services verbs: - create - delete - get - list - patch - update - watch - apiGroups: - "" resources: - configmaps - namespaces - pods - secrets - services verbs: - create - delete - get - list - patch - update - watch - apiGroups: - "" resources: - pods/exec verbs: - create - apiGroups: - database.oracle.com resources: - autonomouscontainerdatabases verbs: - create - delete - get - list - patch - update - watch - apiGroups: - database.oracle.com resources: - autonomouscontainerdatabases/status verbs: - get - patch - update - apiGroups: - database.oracle.com resources: - autonomousdatabasebackups verbs: - create - delete - get - list - update - watch - apiGroups: - database.oracle.com resources: - autonomousdatabasebackups/status verbs: - get - patch - update - apiGroups: - database.oracle.com resources: - autonomousdatabaserestores verbs: - create - delete - get - list - update - watch - apiGroups: - database.oracle.com resources: - autonomousdatabaserestores/status verbs: - get - patch - update - apiGroups: - database.oracle.com resources: - autonomousdatabases verbs: - create - delete - get - list - patch - update - watch - apiGroups: - database.oracle.com resources: - autonomousdatabases/status verbs: - patch - update - apiGroups: - database.oracle.com resources: - cdbs verbs: - create - delete - get - list - patch - update - watch - apiGroups: - database.oracle.com resources: - cdbs/finalizers verbs: - update - apiGroups: - database.oracle.com resources: - cdbs/status verbs: - get - patch - update - apiGroups: - database.oracle.com resources: - dataguardbrokers verbs: - create - delete - get - list - patch - update - watch - apiGroups: - database.oracle.com resources: - dataguardbrokers/finalizers verbs: - update - apiGroups: - database.oracle.com resources: - dataguardbrokers/status verbs: - get - patch - update - apiGroups: - database.oracle.com resources: - dbcssystems verbs: - create - delete - get - list - patch - update - watch - apiGroups: - database.oracle.com resources: - dbcssystems/finalizers verbs: - create - delete - get - patch - update - apiGroups: - database.oracle.com resources: - dbcssystems/status verbs: - get - patch - update - apiGroups: - database.oracle.com resources: - oraclerestdataservices verbs: - create - delete - get - list - patch - update - watch - apiGroups: - database.oracle.com resources: - oraclerestdataservices/finalizers verbs: - update - apiGroups: - database.oracle.com resources: - oraclerestdataservices/status verbs: - get - patch - update - apiGroups: - database.oracle.com resources: - pdbs verbs: - create - delete - get - list - patch - update - watch - apiGroups: - database.oracle.com resources: - pdbs/finalizers verbs: - create - delete - get - patch - update - apiGroups: - database.oracle.com resources: - pdbs/status verbs: - get - patch - update - apiGroups: - database.oracle.com resources: - shardingdatabases verbs: - create - delete - get - list - patch - update - watch - apiGroups: - database.oracle.com resources: - shardingdatabases/finalizers verbs: - create - delete - get - patch - update - apiGroups: - database.oracle.com resources: - shardingdatabases/status verbs: - get - patch - update - apiGroups: - database.oracle.com resources: - singleinstancedatabases verbs: - create - delete - get - list - patch - update - watch - apiGroups: - database.oracle.com resources: - singleinstancedatabases/finalizers verbs: - update - apiGroups: - database.oracle.com resources: - singleinstancedatabases/status verbs: - get - patch - update - apiGroups: - monitoring.coreos.com resources: - prometheusrules - servicemonitors verbs: - create - delete - get - list - patch - update - watch - apiGroups: - observability.oracle.com resources: - databaseobservers verbs: - create - delete - get - list - patch - update - watch - apiGroups: - observability.oracle.com resources: - databaseobservers/finalizers verbs: - update - apiGroups: - observability.oracle.com resources: - databaseobservers/status verbs: - get - patch - update - apiGroups: - storage.k8s.io resources: - storageclasses verbs: - get - list - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: oracle-database-operator-metrics-reader rules: - nonResourceURLs: - /metrics verbs: - get --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: oracle-database-operator-oracle-database-operator-proxy-role rules: - apiGroups: - authentication.k8s.io resources: - tokenreviews verbs: - create - apiGroups: - authorization.k8s.io resources: - subjectaccessreviews verbs: - create --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: oracle-database-operator-oracle-database-operator-leader-election-rolebinding namespace: oracle-database-operator-system roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: oracle-database-operator-leader-election-role subjects: - kind: ServiceAccount name: default namespace: oracle-database-operator-system --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: oracle-database-operator-oracle-database-operator-manager-rolebinding namespace: oracle-database-operator-system roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: oracle-database-operator-manager-role subjects: - kind: ServiceAccount name: default namespace: oracle-database-operator-system --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: oracle-database-operator-proxy-rolebinding roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: oracle-database-operator-oracle-database-operator-proxy-role subjects: - kind: ServiceAccount name: default namespace: oracle-database-operator-system --- apiVersion: v1 kind: Service metadata: labels: control-plane: controller-manager name: oracle-database-operator-controller-manager-metrics-service namespace: oracle-database-operator-system spec: ports: - name: https port: 8443 targetPort: https selector: control-plane: controller-manager --- apiVersion: v1 kind: Service metadata: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system spec: ports: - port: 443 protocol: TCP targetPort: 9443 selector: control-plane: controller-manager --- apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: oracle-database-operator-serving-cert namespace: oracle-database-operator-system spec: dnsNames: - oracle-database-operator-webhook-service.oracle-database-operator-system.svc - oracle-database-operator-webhook-service.oracle-database-operator-system.svc.cluster.local issuerRef: kind: Issuer name: oracle-database-operator-selfsigned-issuer secretName: webhook-server-cert --- apiVersion: cert-manager.io/v1 kind: Issuer metadata: name: oracle-database-operator-selfsigned-issuer namespace: oracle-database-operator-system spec: selfSigned: {} --- apiVersion: admissionregistration.k8s.io/v1 kind: MutatingWebhookConfiguration metadata: annotations: cert-manager.io/inject-ca-from: oracle-database-operator-system/oracle-database-operator-serving-cert name: oracle-database-operator-mutating-webhook-configuration webhooks: - admissionReviewVersions: - v1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /mutate-database-oracle-com-v1alpha1-autonomousdatabase failurePolicy: Fail name: mautonomousdatabase.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - autonomousdatabases sideEffects: None - admissionReviewVersions: - v1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /mutate-database-oracle-com-v1alpha1-autonomousdatabasebackup failurePolicy: Fail name: mautonomousdatabasebackup.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - autonomousdatabasebackups sideEffects: None - admissionReviewVersions: - v1 - v1beta1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /mutate-database-oracle-com-v1alpha1-cdb failurePolicy: Fail name: mcdb.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - cdbs sideEffects: None - admissionReviewVersions: - v1 - v1beta1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /mutate-database-oracle-com-v1alpha1-dataguardbroker failurePolicy: Fail name: mdataguardbroker.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - dataguardbrokers sideEffects: None - admissionReviewVersions: - v1 - v1beta1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /mutate-database-oracle-com-v1alpha1-oraclerestdataservice failurePolicy: Fail name: moraclerestdataservice.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - oraclerestdataservices sideEffects: None - admissionReviewVersions: - v1 - v1beta1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /mutate-database-oracle-com-v1alpha1-pdb failurePolicy: Fail name: mpdb.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - pdbs sideEffects: None - admissionReviewVersions: - v1 - v1beta1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /mutate-database-oracle-com-v1alpha1-singleinstancedatabase failurePolicy: Fail name: msingleinstancedatabase.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - singleinstancedatabases sideEffects: None --- apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingWebhookConfiguration metadata: annotations: cert-manager.io/inject-ca-from: oracle-database-operator-system/oracle-database-operator-serving-cert name: oracle-database-operator-validating-webhook-configuration webhooks: - admissionReviewVersions: - v1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /validate-database-oracle-com-v1alpha1-autonomouscontainerdatabase failurePolicy: Fail name: vautonomouscontainerdatabase.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - autonomouscontainerdatabases sideEffects: None - admissionReviewVersions: - v1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /validate-database-oracle-com-v1alpha1-autonomousdatabase failurePolicy: Fail name: vautonomousdatabase.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - autonomousdatabases sideEffects: None - admissionReviewVersions: - v1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /validate-database-oracle-com-v1alpha1-autonomousdatabasebackup failurePolicy: Fail name: vautonomousdatabasebackup.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - autonomousdatabasebackups sideEffects: None - admissionReviewVersions: - v1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /validate-database-oracle-com-v1alpha1-autonomousdatabaserestore failurePolicy: Fail name: vautonomousdatabaserestore.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - autonomousdatabaserestores sideEffects: None - admissionReviewVersions: - v1 - v1beta1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /validate-database-oracle-com-v1alpha1-cdb failurePolicy: Fail name: vcdb.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - cdbs sideEffects: None - admissionReviewVersions: - v1 - v1beta1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /validate-database-oracle-com-v1alpha1-dataguardbroker failurePolicy: Fail name: vdataguardbroker.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - dataguardbrokers sideEffects: None - admissionReviewVersions: - v1 - v1beta1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /validate-database-oracle-com-v1alpha1-oraclerestdataservice failurePolicy: Fail name: voraclerestdataservice.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - oraclerestdataservices sideEffects: None - admissionReviewVersions: - v1 - v1beta1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /validate-database-oracle-com-v1alpha1-pdb failurePolicy: Fail name: vpdb.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - pdbs sideEffects: None - admissionReviewVersions: - v1 - v1beta1 clientConfig: service: name: oracle-database-operator-webhook-service namespace: oracle-database-operator-system path: /validate-database-oracle-com-v1alpha1-singleinstancedatabase failurePolicy: Fail name: vsingleinstancedatabase.kb.io rules: - apiGroups: - database.oracle.com apiVersions: - v1alpha1 operations: - CREATE - UPDATE - DELETE resources: - singleinstancedatabases sideEffects: None --- apiVersion: apps/v1 kind: Deployment metadata: labels: control-plane: controller-manager name: oracle-database-operator-controller-manager namespace: oracle-database-operator-system spec: replicas: 3 selector: matchLabels: control-plane: controller-manager template: metadata: labels: control-plane: controller-manager spec: containers: - args: - --enable-leader-election command: - /manager env: - name: WATCH_NAMESPACE value: "" image: container-registry.oracle.com/database/operator:latest imagePullPolicy: Always name: manager ports: - containerPort: 9443 name: webhook-server protocol: TCP resources: limits: cpu: 400m memory: 400Mi requests: cpu: 400m memory: 400Mi volumeMounts: - mountPath: /tmp/k8s-webhook-server/serving-certs name: cert readOnly: true terminationGracePeriodSeconds: 10 volumes: - name: cert secret: defaultMode: 420 secretName: webhook-server-cert ---