flux2-test/manifests/podinfo.yml
Sebastian Mark 98a4c8c21a feat(podinfo): enable ingress for podinfo service
- add ingress configuration to podinfo manifest
- set replicaCount to 2 for scaling
- define host and path for ingress routing

🤖
2024-10-09 17:20:08 +02:00

38 lines
684 B
YAML

---
apiVersion: v1
kind: Namespace
metadata:
name: podinfo
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
name: podinfo
namespace: flux2
spec:
interval: 5ms
url: oci://ghcr.io/stefanprodan/charts/podinfo
ref:
tag: 6.7.1
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: podinfo
namespace: flux2
spec:
interval: 10m
targetNamespace: podinfo
chartRef:
kind: OCIRepository
name: podinfo
namespace: flux2
values:
replicaCount: 2
ingress:
enabled: true
hosts:
- host: podinfo.internal
paths:
- path: /
pathType: ImplementationSpecific