diff --git a/install/flux-patches/helm-controller.yaml b/install/flux-patches/helm-controller.yaml index fed0d1e60f4b4439b980ddf0946f273f48954156..c41bb06d6668ab80cb23ea52a4dfe25cac81c4fe 100644 --- a/install/flux-patches/helm-controller.yaml +++ b/install/flux-patches/helm-controller.yaml @@ -7,7 +7,7 @@ spec: - "--concurrent=3" resources: limits: - cpu: "1" + cpu: null memory: 2048Mi requests: cpu: 100m diff --git a/install/flux-patches/kustomize-controller.yaml b/install/flux-patches/kustomize-controller.yaml new file mode 100644 index 0000000000000000000000000000000000000000..41a6a40860d4770422ebbded4ab579c62a275f46 --- /dev/null +++ b/install/flux-patches/kustomize-controller.yaml @@ -0,0 +1,12 @@ +spec: + template: + spec: + containers: + - name: manager + resources: + limits: + cpu: null + memory: 1024Mi + requests: + cpu: 100m + memory: 64Mi diff --git a/install/flux-patches/source-controller.yaml b/install/flux-patches/source-controller.yaml index 87d0f58c69514208769d588c4e73a2d3b336a925..e46b8d04b5503691f0674e5464425998a57d3d44 100644 --- a/install/flux-patches/source-controller.yaml +++ b/install/flux-patches/source-controller.yaml @@ -5,7 +5,7 @@ spec: - name: manager resources: limits: - cpu: "1" + cpu: null memory: 1536Mi requests: cpu: 100m diff --git a/install/install-stackspin.sh b/install/install-stackspin.sh index dacde30341b765b95a5a631193ca631e50a5d04e..44387b22542285d9d4c608420fcc759c61fe007b 100755 --- a/install/install-stackspin.sh +++ b/install/install-stackspin.sh @@ -27,6 +27,11 @@ kubectl patch deployment \ source-controller \ --patch-file "$(dirname "$0")/flux-patches/source-controller.yaml" +kubectl patch deployment \ + -n flux-system \ + kustomize-controller \ + --patch-file "$(dirname "$0")/flux-patches/kustomize-controller.yaml" + # get current git branch name branch=${CI_COMMIT_REF_NAME:-} [ -z "$branch" ] && branch=$(git rev-parse --abbrev-ref HEAD)