mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
add shared resources
This commit is contained in:
3
shared/charts/postgres-cluster/Chart.yaml
Normal file
3
shared/charts/postgres-cluster/Chart.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
apiVersion: v2
|
||||
version: 1.0.0
|
||||
name: postgres-cluster
|
||||
10
shared/charts/postgres-cluster/templates/cluster.yaml
Normal file
10
shared/charts/postgres-cluster/templates/cluster.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}"
|
||||
namespace: "{{ .Release.Namespace }}"
|
||||
spec:
|
||||
instances: 1
|
||||
storage:
|
||||
storageClass: "{{ .Values.globals.storageClass }}"
|
||||
size: 2Gi
|
||||
1
shared/charts/postgres-cluster/values.yaml
Normal file
1
shared/charts/postgres-cluster/values.yaml
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
Reference in New Issue
Block a user