From ac5638b5279b55947c645c0ebf31e5ea6f21d4db Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Tue, 25 Oct 2022 07:38:31 +0200 Subject: [PATCH] feat(base): adding zalando postgresql operator --- base/kustomization.yaml | 1 + base/postgresql/kustomization.yaml | 10 ++++++++++ base/postgresql/namespace.yaml | 4 ++++ 3 files changed, 15 insertions(+) create mode 100644 base/postgresql/kustomization.yaml create mode 100644 base/postgresql/namespace.yaml diff --git a/base/kustomization.yaml b/base/kustomization.yaml index a8380c5..98cb31f 100644 --- a/base/kustomization.yaml +++ b/base/kustomization.yaml @@ -4,6 +4,7 @@ kind: Kustomization bases: - https://raw.githubusercontent.com/flannel-io/flannel/master/Documentation/kube-flannel.yml - https://github.com/cert-manager/cert-manager/releases/download/v1.10.0/cert-manager.yaml + - ./postgresql - ./metallb - ./minio - ./nginx diff --git a/base/postgresql/kustomization.yaml b/base/postgresql/kustomization.yaml new file mode 100644 index 0000000..184631d --- /dev/null +++ b/base/postgresql/kustomization.yaml @@ -0,0 +1,10 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: postgresql-operator + +resources: + - namespace.yaml + - github.com/zalando/postgres-operator/manifests + - github.com/zalando/postgres-operator/ui/manifests + + diff --git a/base/postgresql/namespace.yaml b/base/postgresql/namespace.yaml new file mode 100644 index 0000000..c5efe20 --- /dev/null +++ b/base/postgresql/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: postgresql-operator