From 77bda86adcfdf5b4260564f6d86ef038f4a45004 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 2 Apr 2023 14:35:53 -0400 Subject: [PATCH] Add podinfo for testing --- cluster/apps/kustomization.yaml | 1 + cluster/apps/podinfo/helm.yaml | 25 +++++++++++++++++++++++++ cluster/apps/podinfo/kustomization.yaml | 6 ++++++ 3 files changed, 32 insertions(+) create mode 100644 cluster/apps/podinfo/helm.yaml create mode 100644 cluster/apps/podinfo/kustomization.yaml 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