From d5b3dbd03384c6080d8a7794e8f31e1b8916a342 Mon Sep 17 00:00:00 2001 From: James Andariese Date: Thu, 20 Jul 2023 15:39:08 -0500 Subject: [PATCH] move proxy-protocol-shim template to its own application --- template-operator/kustomization.yaml | 2 +- template-operator/proxy-protocol-shim.yaml | 26 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 template-operator/proxy-protocol-shim.yaml diff --git a/template-operator/kustomization.yaml b/template-operator/kustomization.yaml index 0d4d6de..b04f7ac 100644 --- a/template-operator/kustomization.yaml +++ b/template-operator/kustomization.yaml @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization bases: - "https://github.com/flanksource/template-operator/releases/download/v0.7.1/operator.yml" -#- git::https://github.com/strudelline-net/k8s-proxy-protocol-shim?ref=main +- proxy-protocol-shim.yaml patchesStrategicMerge: - template-operator-memory.yaml diff --git a/template-operator/proxy-protocol-shim.yaml b/template-operator/proxy-protocol-shim.yaml new file mode 100644 index 0000000..a8fb95c --- /dev/null +++ b/template-operator/proxy-protocol-shim.yaml @@ -0,0 +1,26 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: proxy-protocol-shim + namespace: argocd +spec: + destination: + name: in-cluster + namespace: default + project: default + source: + path: . + repoURL: https://github.com/strudelline-net/k8s-proxy-protocol-shim + targetRevision: 833399d0f54f5030ab8583eff86a0b3282efe37a + syncPolicy: + automated: + prune: true + selfHeal: true + retry: + backoff: + duration: 5s + factor: 2 + maxDuration: 3m0s + limit: 10 + syncOptions: + - CreateNamespace=true