Sebastian Mark
53b17f5141
- create a new namespace for podinfo
- ensure isolation of podinfo resources
- improve organization of Kubernetes resources
🤖
31 lines
527 B
YAML
31 lines
527 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
|