flux2-hub-spoke-example/apps/podinfo.yaml
Stefan Prodan f57ac9377a
Add infra controllers
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-04-10 12:08:02 +03:00

34 lines
683 B
YAML

---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: podinfo
spec:
interval: 12h
type: oci
url: oci://ghcr.io/stefanprodan/charts
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: podinfo
spec:
targetNamespace: podinfo
storageNamespace: podinfo
releaseName: podinfo
chart:
spec:
chart: podinfo
sourceRef:
kind: HelmRepository
name: podinfo
interval: 50m
install:
remediation:
retries: 3
# Default values
# https://github.com/stefanprodan/podinfo/blob/master/charts/podinfo/values.yaml
values:
ingress:
enabled: true
className: nginx