From 0e4ec72570810e73587eea666570be119df74c7f Mon Sep 17 00:00:00 2001 From: Victor Barba Martin Date: Thu, 28 Oct 2021 20:53:31 +0200 Subject: [PATCH] haproxy ingress --- k8s/applications/haproxy-ingress.yaml | 21 +++++++++++++++++++++ k8s/applications/kustomization.yaml | 3 ++- k8s/haproxy/kustomization.yaml | 7 +++++++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 k8s/applications/haproxy-ingress.yaml create mode 100644 k8s/haproxy/kustomization.yaml diff --git a/k8s/applications/haproxy-ingress.yaml b/k8s/applications/haproxy-ingress.yaml new file mode 100644 index 0000000..06eef31 --- /dev/null +++ b/k8s/applications/haproxy-ingress.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: ingress-haproxy +spec: + destination: + name: '' + namespace: haproxy-ingress + server: 'https://kubernetes.default.svc' + source: + path: '' + repoURL: 'https://haproxy-ingress.github.io/charts' + targetRevision: 0.13.4 + chart: haproxy-ingress + helm: + valueFiles: [] + values: |- + controller: + hostNetwork: true + prometheus-port: "9105" + project: default diff --git a/k8s/applications/kustomization.yaml b/k8s/applications/kustomization.yaml index 233b863..76f6009 100644 --- a/k8s/applications/kustomization.yaml +++ b/k8s/applications/kustomization.yaml @@ -4,4 +4,5 @@ kind: Kustomization resources: - argocd.yaml - - cert-manager.yaml \ No newline at end of file + - cert-manager.yaml + - haproxy-ingress.yaml \ No newline at end of file diff --git a/k8s/haproxy/kustomization.yaml b/k8s/haproxy/kustomization.yaml new file mode 100644 index 0000000..233b863 --- /dev/null +++ b/k8s/haproxy/kustomization.yaml @@ -0,0 +1,7 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - argocd.yaml + - cert-manager.yaml \ No newline at end of file