Files
kube/clusters/base/apps/infcloud/helmrelease-infcloud.yaml
T

63 lines
1.5 KiB
YAML

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: infcloud
namespace: pim
spec:
interval: 10m
chartRef:
kind: OCIRepository
name: infcloud
driftDetection:
mode: enabled
values:
controllers:
infcloud:
containers:
app:
image:
repository: waja/infcloud
tag: "0.13.1-16"
probes:
liveness:
enabled: true
readiness:
enabled: true
service:
app:
controller: infcloud
ports:
http:
port: 80
ingress:
app:
className: traefik
# this ingress owns the cert-manager request for c2.aggtaa.com;
# davical's ingress adds a second host on the same domain (for the
# /server CalDAV path) and just references the secret below.
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- host: c2.aggtaa.com
paths:
- path: /
pathType: Prefix
service:
identifier: app
port: http
tls:
- secretName: infcloud-tls
hosts:
- c2.aggtaa.com
persistence:
config:
type: configMap
name: infcloud-config
globalMounts:
- path: /srv/infcloud/config/config.js
subPath: config.js
readOnly: true