diff --git a/clusters/my-cluster/ingress-nginx/kustomization.yaml b/clusters/my-cluster/ingress-nginx/kustomization.yaml new file mode 100644 index 0000000..7a01325 --- /dev/null +++ b/clusters/my-cluster/ingress-nginx/kustomization.yaml @@ -0,0 +1,8 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: ingress-nginx +resources: + - namespace.yaml + - repository.yaml + - release.yaml diff --git a/clusters/my-cluster/ingress-nginx/namespace.yaml b/clusters/my-cluster/ingress-nginx/namespace.yaml new file mode 100644 index 0000000..2485512 --- /dev/null +++ b/clusters/my-cluster/ingress-nginx/namespace.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: ingress-nginx diff --git a/clusters/my-cluster/ingress-nginx/release.yaml b/clusters/my-cluster/ingress-nginx/release.yaml new file mode 100644 index 0000000..2d609fb --- /dev/null +++ b/clusters/my-cluster/ingress-nginx/release.yaml @@ -0,0 +1,15 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: ingress-nginx + namespace: ingress-nginx +spec: + chart: + spec: + chart: ingress-nginx + sourceRef: + kind: HelmRepository + name: ingress-nginx + version: 1.11.1 + interval: 1m diff --git a/clusters/my-cluster/ingress-nginx/repository.yaml b/clusters/my-cluster/ingress-nginx/repository.yaml new file mode 100644 index 0000000..982478a --- /dev/null +++ b/clusters/my-cluster/ingress-nginx/repository.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: ingress-nginx + namespace: ingress-nginx +spec: + interval: 5m + url: https://kubernetes.github.io/ingress-nginx