Skip to content

Commit

Permalink
operator [N] [CI] oracle-database-operator (1.1.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
psilberk authored Jan 13, 2025
1 parent 06c78e7 commit 9b96e07
Show file tree
Hide file tree
Showing 29 changed files with 5,056 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: apex-secret
stringData:
oracle_pwd: null
type: Opaque
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v1
data:
cdbadmin_pwd: cGFzc3dvcmQK
cdbadmin_user: cGFzc3dvcmQK
ords_pwd: cGFzc3dvcmQK
sysadmin_pwd: cGFzc3dvcmQK
webserver_pwd: cGFzc3dvcmQK
webserver_user: cGFzc3dvcmQK
kind: Secret
metadata:
name: cdb1-secret
type: Opaque
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
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: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
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
isLongTermBackup:
type: boolean
ociConfig:
description: "*********************** *\tOCI config ***********************"
properties:
configMapName:
type: string
secretName:
type: string
type: object
retentionPeriodInDays:
type: integer
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: []
Loading

0 comments on commit 9b96e07

Please sign in to comment.