helm database postgresql

- add Chart.lock to .gitignore
- update helmfile.yaml with database
- add values.yaml with postgresql
- add Chart.yaml with postgresql
This commit is contained in:
2025-07-26 15:51:46 +02:00
committed by swordsteel
parent cecdb1a627
commit 1d0346d5e2
4 changed files with 31 additions and 0 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@
cert/ cert/
http/*/http-client.env.json http/*/http-client.env.json
helm/values/*/ helm/values/*/
helm/charts/02-database/Chart.lock

View File

@@ -0,0 +1,11 @@
apiVersion: v2
name: hlaeja-database
description: A Helm chart for the hlaeja database chart wrapper
version: 0.1.0
dependencies:
# https://artifacthub.io/packages/helm/bitnami/postgresql
- name: postgresql
version: 16.7.21
repository: "oci://registry-1.docker.io/bitnamicharts"

View File

@@ -0,0 +1,13 @@
postgresql:
auth:
postgresPassword: mySecretPassword
primary:
persistence:
size: 10Gi
resources:
requests:
memory: 512Mi
cpu: 250m
# service:
# type: LoadBalancer
# loadBalancerIP: 10.0.3.31

View File

@@ -4,3 +4,9 @@ releases:
chart: ./charts/01-secrets chart: ./charts/01-secrets
values: [] values: []
historyMax: 3 historyMax: 3
- name: database
namespace: hlaeja-testing
chart: ./charts/02-database
values: []
historyMax: 3