diff --git a/argocd/applications/cpng.yaml b/argocd/applications/cpng.yaml new file mode 100644 index 0000000..2fc27f7 --- /dev/null +++ b/argocd/applications/cpng.yaml @@ -0,0 +1,23 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: cnpg # aka in-cluster postgres + namespace: argocd +spec: + project: k-space.ee + source: + repoURL: https://github.com/cloudnative-pg/cloudnative-pg + targetRevision: v1.24.1 + path: releases + directory: + include: 'cnpg-1.24.1.yaml' + destination: + server: 'https://kubernetes.default.svc' + namespace: cnpg-system + syncPolicy: + # automated: + # prune: true + syncOptions: + - CreateNamespace=true + - ServerSideApply=true # Resource is too big to fit in 262144 bytes allowed annotation size. diff --git a/cnpg-system/README.md b/cnpg-system/README.md deleted file mode 100644 index 91d5f1c..0000000 --- a/cnpg-system/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# CloudNativePG - -To deploy: - -``` -kubectl apply --server-side -f \ - https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.24/releases/cnpg-1.24.1.yaml -```