From 81e17e4af1e114e2da82224cbaba323a7f4b8381 Mon Sep 17 00:00:00 2001 From: Dmitry Volodin Date: Fri, 9 Dec 2022 17:33:06 +0300 Subject: [PATCH] Remove namespace and fix errors in example manifests files (#2131) * Remove namespace and fix errors in example manifests files * Comment required section in default configuration --- manifests/e2e-storage-class.yaml | 1 - manifests/fake-teams-api.yaml | 2 -- manifests/infrastructure-roles-new.yaml | 1 - manifests/infrastructure-roles.yaml | 1 - manifests/minimal-postgres-manifest-12.yaml | 1 - manifests/minimal-postgres-manifest.yaml | 1 - manifests/platform-credentials.yaml | 1 - manifests/postgresql-operator-default-configuration.yaml | 2 +- manifests/standby-manifest.yaml | 1 - 9 files changed, 1 insertion(+), 10 deletions(-) diff --git a/manifests/e2e-storage-class.yaml b/manifests/e2e-storage-class.yaml index c8d941341..3c70c4020 100644 --- a/manifests/e2e-storage-class.yaml +++ b/manifests/e2e-storage-class.yaml @@ -1,7 +1,6 @@ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: - namespace: kube-system name: standard annotations: storageclass.kubernetes.io/is-default-class: "true" diff --git a/manifests/fake-teams-api.yaml b/manifests/fake-teams-api.yaml index 5214c58ba..33f7c6013 100644 --- a/manifests/fake-teams-api.yaml +++ b/manifests/fake-teams-api.yaml @@ -40,8 +40,6 @@ metadata: name: postgresql-operator namespace: default type: Opaque -data: -apiVersion: v1 data: read-only-token-secret: dGVzdHRva2Vu read-only-token-type: QmVhcmVy diff --git a/manifests/infrastructure-roles-new.yaml b/manifests/infrastructure-roles-new.yaml index 64b854c6a..d6b5fa9ad 100644 --- a/manifests/infrastructure-roles-new.yaml +++ b/manifests/infrastructure-roles-new.yaml @@ -8,5 +8,4 @@ data: kind: Secret metadata: name: postgresql-infrastructure-roles-new - namespace: default type: Opaque diff --git a/manifests/infrastructure-roles.yaml b/manifests/infrastructure-roles.yaml index c66d79139..975a02827 100644 --- a/manifests/infrastructure-roles.yaml +++ b/manifests/infrastructure-roles.yaml @@ -21,5 +21,4 @@ data: kind: Secret metadata: name: postgresql-infrastructure-roles - namespace: default type: Opaque diff --git a/manifests/minimal-postgres-manifest-12.yaml b/manifests/minimal-postgres-manifest-12.yaml index 3f89b765d..d578ac46d 100644 --- a/manifests/minimal-postgres-manifest-12.yaml +++ b/manifests/minimal-postgres-manifest-12.yaml @@ -2,7 +2,6 @@ apiVersion: "acid.zalan.do/v1" kind: postgresql metadata: name: acid-upgrade-test - namespace: default spec: teamId: "acid" volume: diff --git a/manifests/minimal-postgres-manifest.yaml b/manifests/minimal-postgres-manifest.yaml index f0c5ff4b5..b2a8fa2c8 100644 --- a/manifests/minimal-postgres-manifest.yaml +++ b/manifests/minimal-postgres-manifest.yaml @@ -2,7 +2,6 @@ apiVersion: "acid.zalan.do/v1" kind: postgresql metadata: name: acid-minimal-cluster - namespace: default spec: teamId: "acid" volume: diff --git a/manifests/platform-credentials.yaml b/manifests/platform-credentials.yaml index 0a320b838..44ecf7f24 100644 --- a/manifests/platform-credentials.yaml +++ b/manifests/platform-credentials.yaml @@ -2,7 +2,6 @@ apiVersion: "zalando.org/v1" kind: PlatformCredentialsSet metadata: name: postgresql-operator - namespace: acid spec: application: postgresql-operator tokens: diff --git a/manifests/postgresql-operator-default-configuration.yaml b/manifests/postgresql-operator-default-configuration.yaml index e02ef8bae..3f925f032 100644 --- a/manifests/postgresql-operator-default-configuration.yaml +++ b/manifests/postgresql-operator-default-configuration.yaml @@ -198,5 +198,5 @@ configuration: connection_pooler_number_of_instances: 2 # connection_pooler_schema: "pooler" # connection_pooler_user: "pooler" - patroni: + # patroni: # failsafe_mode: "false" diff --git a/manifests/standby-manifest.yaml b/manifests/standby-manifest.yaml index 66f515518..ac94fe897 100644 --- a/manifests/standby-manifest.yaml +++ b/manifests/standby-manifest.yaml @@ -2,7 +2,6 @@ apiVersion: "acid.zalan.do/v1" kind: postgresql metadata: name: acid-standby-cluster - namespace: default spec: teamId: "acid" volume: