From 5bb97c35702e358a6205b03026f97b9c55a49271 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 | 9 +++++++++ base/postgresql/namespace.yaml | 4 ++++ 3 files changed, 14 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..9b43c90 --- /dev/null +++ b/base/postgresql/kustomization.yaml @@ -0,0 +1,9 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: postgresql-operator + +resources: + - 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