k3s-cluster/cluster/apps/database/postgresql/pgadmin4/helm-release.yaml

36 lines
852 B
YAML

apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: pgadmin4
namespace: database
spec:
interval: 5m
chart:
spec:
chart: pgadmin4
version: 1.14.x
sourceRef:
kind: HelmRepository
name: runix-charts
namespace: flux-system
values:
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
hosts:
- host: &host pgadm.database.${SECRET_DOMAIN}
paths:
- path: "/"
pathType: Prefix
tls:
- hosts:
- *host
secretName: wildcard-main-tls
podSecurityContext:
runAsUser: 10000
runAsGroup: 10000
fsGroup: 100
fsGroupChangePolicy: "OnRootMismatch"