updating bindable kind instance (#6363)

* updating bindable kind instance

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* update ansible yaml to use 1.18 for postgres operator

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
This commit is contained in:
Anand Kumar Singh
2022-12-06 15:26:10 +05:30
committed by GitHub
parent 3c87ecdc8f
commit 3738ca8d65
5 changed files with 48 additions and 8 deletions

View File

@@ -29,7 +29,7 @@
name: my-cloud-native-postgresql
namespace: operators
spec:
channel: stable
channel: stable-v1.18
name: cloud-native-postgresql
source: operatorhubio-catalog
sourceNamespace: olm

View File

@@ -29,7 +29,7 @@
name: my-cloud-native-postgresql
namespace: openshift-operators
spec:
channel: stable
channel: stable-v1.18
name: cloud-native-postgresql
source: certified-operators
sourceNamespace: openshift-marketplace

View File

@@ -27,7 +27,7 @@ install_postgres_operator(){
name: my-cloud-native-postgresql
namespace: $2
spec:
channel: stable
channel: stable-v1.18
name: cloud-native-postgresql
source: $3
sourceNamespace: $4

View File

@@ -3,8 +3,27 @@ kind: Cluster
metadata:
name: cluster-sample
spec:
instances: 1
logLevel: info
primaryUpdateStrategy: unsupervised
storage:
startDelay: 30
stopDelay: 30
nodeMaintenanceWindow:
inProgress: false
reusePVC: true
enableSuperuserAccess: true
monitoring:
disableDefaultQueries: false
enablePodMonitor: false
minSyncReplicas: 0
postgresGID: 26
primaryUpdateMethod: switchover
postgresUID: 26
walStorage:
resizeInUseVolumes: true
size: 1Gi
maxSyncReplicas: 0
switchoverDelay: 40000000
storage:
resizeInUseVolumes: true
size: 1Gi
primaryUpdateStrategy: unsupervised
instances: 1

View File

@@ -3,7 +3,6 @@ kind: Cluster
metadata:
name: cluster-example-initdb
spec:
instances: 1
bootstrap:
initdb:
database: appdb
@@ -12,8 +11,30 @@ spec:
name: appuser-secret
postInitApplicationSQL:
- create table users (userid SERIAL PRIMARY KEY, name TEXT, age INT, location TEXT)
storage:
logLevel: info
startDelay: 30
stopDelay: 30
nodeMaintenanceWindow:
inProgress: false
reusePVC: true
enableSuperuserAccess: true
monitoring:
disableDefaultQueries: false
enablePodMonitor: false
minSyncReplicas: 0
postgresGID: 26
primaryUpdateMethod: switchover
postgresUID: 26
walStorage:
resizeInUseVolumes: true
size: 1Gi
maxSyncReplicas: 0
switchoverDelay: 40000000
storage:
resizeInUseVolumes: true
size: 1Gi
primaryUpdateStrategy: unsupervised
instances: 1
---
apiVersion: v1
stringData: