refactor: split applications and charts into separte folders

This commit is contained in:
Jonas Juselius
2024-02-06 12:12:56 +01:00
parent 10a06fd058
commit 7450a9903e
231 changed files with 27 additions and 27 deletions
+64
View File
@@ -0,0 +1,64 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
annotations:
linkerd.io/inject: disabled
name: dexdb
spec:
enableSuperuserAccess: true
instances: 2
logLevel: info
# bootstrap:
# initdb:
# database: archivistdb
# owner: archivist
# secret:
# name: archivistdb-secret
storage:
pvcTemplate:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: managed-nfs-storage
volumeMode: Filesystem
resizeInUseVolumes: true
size: 1Gi
# superuserSecret:
# name: dexdb-secret
# ---
# apiVersion: v1
# data:
# # phei2beiRei0
# password: cGhlaTJiZWlSZWkwCg==
# username: YXJjaGl2aXN0Cg==
# kind: Secret
# metadata:
# name: archivistdb-secret
# type: kubernetes.io/basic-auth
# ---
# apiVersion: v1
# data:
# password: ZW4gdG8gdHJlIGZpcmUK
# kind: Secret
# metadata:
# name: dexdb-secret
# type: kubernetes.io/basic-auth
---
apiVersion: v1
kind: Service
metadata:
name: dexdb-nodeport
spec:
ports:
- name: psql
nodePort: 30432
port: 5432
protocol: TCP
targetPort: 5432
selector:
cnpg.io/cluster: dexdb
cnpg.io/instanceName: dexdb-1
sessionAffinity: None
type: NodePort