Files
auricom-home-cluster/kubernetes/apps/ngnode/landing-page/app/helmrelease.yaml
2025-04-04 00:05:38 +02:00

67 lines
1.7 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app ngnode-landing-page
spec:
interval: 1h
chartRef:
kind: OCIRepository
name: app-template
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
values:
controllers:
ngnode-landing-page:
containers:
app:
image:
repository: ghcr.io/ngnodehq/landing-page
tag: v0.1.4@sha256:87e6e0c73a0a97b1ad47d9d09d006c1b56257964561f2f47c9111f3cfb54399a
resources:
requests:
cpu: 5m
memory: 10Mi
limits:
memory: 400Mi
service:
app:
controller: *app
ports:
http:
port: 3000
ingress:
app:
enabled: true
className: external
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_EXTERNAL_DOMAIN}"
paths:
- path: /
service:
identifier: app
port: http
- host: www.ngnode.com
paths:
- path: /
service:
identifier: app
port: http
- host: ngnode.com
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host