feat: remove postgresql-kube

This commit is contained in:
auricom
2022-08-13 23:45:33 +02:00
parent 66ebff9d5f
commit f58847c6fe
6 changed files with 4 additions and 53 deletions

View File

@@ -11,7 +11,6 @@ resources:
- mariadb
- pgadmin
- pgbackups
- postgresql-kube
- recipes
- resilio-sync
- sharry

View File

@@ -32,7 +32,7 @@ spec:
- name: POSTGRES_USER
value: postgres
- name: POSTGRES_PASSWORD
value: ${SECRET_POSTGRESQL_KUBE_POSTGRES_PASSWORD}
value: ${SECRET_POSTGRESQL_POSTGRES_PASSWORD}
- name: POSTGRES_EXTRA_OPTS
value: "-Z9 --schema=public --blobs"
- name: SCHEDULE

View File

@@ -1,28 +0,0 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: postgresql-kube
namespace: data
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://charts.bitnami.com/bitnami
chart: postgresql
version: 11.6.26
sourceRef:
kind: HelmRepository
name: bitnami-charts
namespace: flux-system
interval: 5m
values:
auth:
postgresPassword: ${SECRET_POSTGRESQL_KUBE_POSTGRES_PASSWORD}
primary:
persistence:
enabled: true
existingClaim: postgresql-kube
commonAnnotations:
prometheus.io/probe: "true"
prometheus.io/protocol: "tcp"

View File

@@ -1,5 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml
- volume.yaml

View File

@@ -1,15 +0,0 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: postgresql-kube
namespace: data
labels:
kasten-io/backup: "true"
spec:
accessModes:
- ReadWriteOnce
storageClassName: rook-ceph-block
resources:
requests:
storage: 50Gi