diff --git a/cluster/apps/kustomization.yaml b/cluster/apps/kustomization.yaml index 86f7852..7ab6ed6 100644 --- a/cluster/apps/kustomization.yaml +++ b/cluster/apps/kustomization.yaml @@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./traefik +- ./podinfo \ No newline at end of file diff --git a/cluster/apps/podinfo/helm.yaml b/cluster/apps/podinfo/helm.yaml new file mode 100644 index 0000000..961584f --- /dev/null +++ b/cluster/apps/podinfo/helm.yaml @@ -0,0 +1,25 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: podinfo + namespace: flux-system +spec: + interval: 1m + url: https://stefanprodan.github.io/podinfo +--- +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: podinfo + namespace: default +spec: + interval: 5m + chart: + spec: + chart: podinfo + version: '4.0.x' + sourceRef: + kind: HelmRepository + name: podinfo + namespace: flux-system + interval: 1m \ No newline at end of file diff --git a/cluster/apps/podinfo/kustomization.yaml b/cluster/apps/podinfo/kustomization.yaml new file mode 100644 index 0000000..addb03d --- /dev/null +++ b/cluster/apps/podinfo/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- ./traefik-secrets.sops.yaml +- ./helm-repository.yaml +- ./helm-release.yaml