Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator [N] [CI] oracle-database-operator (1.1.0) #5136

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: '[base64 encode value]'
cdbadmin_user: '[base64 encode value]'
ords_pwd: '[base64 encode value]'
sysadmin_pwd: '[base64 encode value]'
webserver_pwd: '[base64 encode values]'
webserver_user: '[base64 encode values]'
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
Loading