From d10598cfb494b98ca7d0eb42dbee3bd684d3ea71 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Mon, 5 Aug 2024 14:09:50 -0500 Subject: [PATCH] init flux --- .../my-cluster/flux-system/kustomization.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/clusters/my-cluster/flux-system/kustomization.yaml b/clusters/my-cluster/flux-system/kustomization.yaml index 3842229..0762c2e 100644 --- a/clusters/my-cluster/flux-system/kustomization.yaml +++ b/clusters/my-cluster/flux-system/kustomization.yaml @@ -1,5 +1,25 @@ +--- apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - gotk-components.yaml - gotk-sync.yaml +patches: + - patch: | + apiVersion: apps/v1 + kind: Deployment + metadata: + name: all + spec: + template: + spec: + containers: + - name: manager + env: + - name: "HTTPS_PROXY" + value: "https://proxy-lb.lab.kill0.net:3128" + - name: "NO_PROXY" + value: ".cluster.local.,.cluster.local,.svc" + target: + kind: Deployment + labelSelector: app.kubernetes.io/part-of=flux