diff --git a/install/flux-patches/helm-controller.yaml b/install/flux-patches/helm-controller.yaml index 6d806cbfb29ee9c265c04f00fee9c27483ede16c..fed0d1e60f4b4439b980ddf0946f273f48954156 100644 --- a/install/flux-patches/helm-controller.yaml +++ b/install/flux-patches/helm-controller.yaml @@ -8,7 +8,7 @@ spec: resources: limits: cpu: "1" - memory: 1536Mi + memory: 2048Mi requests: cpu: 100m - memory: 256Mi + memory: 512Mi diff --git a/install/flux-patches/source-controller.yaml b/install/flux-patches/source-controller.yaml new file mode 100644 index 0000000000000000000000000000000000000000..87d0f58c69514208769d588c4e73a2d3b336a925 --- /dev/null +++ b/install/flux-patches/source-controller.yaml @@ -0,0 +1,12 @@ +spec: + template: + spec: + containers: + - name: manager + resources: + limits: + cpu: "1" + memory: 1536Mi + requests: + cpu: 100m + memory: 512Mi diff --git a/install/install-openappstack.sh b/install/install-openappstack.sh index b4a5ec04fa3e3b6485ec46d431390240e51d9a43..55fc6f049047d60ca01cdd1ca970fbd0a0c3dbe9 100755 --- a/install/install-openappstack.sh +++ b/install/install-openappstack.sh @@ -16,6 +16,11 @@ kubectl patch deployment \ helm-controller \ --patch-file "$(dirname "$0")/flux-patches/helm-controller.yaml" +kubectl patch deployment \ + -n flux-system \ + source-controller \ + --patch-file "$(dirname "$0")/flux-patches/source-controller.yaml" + # get current git branch name branch=${CI_COMMIT_REF_NAME:-} [ -z "$branch" ] && branch=$(git rev-parse --abbrev-ref HEAD)