Files
auricom-home-cluster/cluster/apps/data/pgadmin/helm-release.yaml
2022-07-02 20:12:38 +02:00

51 lines
1.1 KiB
YAML

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: pgadmin
namespace: data
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://helm.runix.net
chart: pgadmin4
version: 1.11.0
sourceRef:
kind: HelmRepository
name: runix-charts
namespace: flux-system
interval: 5m
values:
env:
email: ${SECRET_PGADMIN_EMAIL}
password: ${SECRET_PGADMIN_PASSWORD}
strategy:
type: Recreate
persistentVolume:
enabled: true
existingClaim: pgadmin-config
ingress:
enabled: true
hosts:
- host: "pgadmin.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- "pgadmin.${SECRET_CLUSTER_DOMAIN}"
postRenderers:
- kustomize:
patchesJson6902:
- target:
kind: Ingress
name: pgadmin-pgadmin4
patch:
- op: add
path: /spec/ingressClassName
value: nginx