From 8c320715fe379c173d19c9fe3ef0685637ed44fc Mon Sep 17 00:00:00 2001 From: "Yauheny Boika[EPAM / GCP]" <yauheny_boika@epam.com> Date: Thu, 22 Jun 2023 13:04:45 +0000 Subject: [PATCH] [GONRG-7275]-Change request of memory --- NOTICE | 4 +--- devops/gc/deploy/templates/opa-deployment.yaml | 2 +- devops/gc/deploy/values.yaml | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/NOTICE b/NOTICE index 129556c6..5cc410b4 100644 --- a/NOTICE +++ b/NOTICE @@ -80,7 +80,6 @@ The following software have components provided under the terms of this license: - click (from https://palletsprojects.com/p/click/) - jinja2 -- kubernetes (from https://github.com/kubernetes-client/python) - requests-oauthlib (from https://github.com/requests/requests-oauthlib) ======================================================================== @@ -104,13 +103,12 @@ The following software have components provided under the terms of this license: - coloredlogs (from https://coloredlogs.readthedocs.io) - coverage (from https://github.com/nedbat/coveragepy) - exceptiongroup (from https://pypi.org/project/exceptiongroup/1.0.1/, https://pypi.org/project/exceptiongroup/1.1.1/) -- fastapi (from https://pypi.org/project/fastapi/0.86.0/, https://pypi.org/project/fastapi/0.96.0/) +- fastapi (from https://pypi.org/project/fastapi/0.86.0/, https://pypi.org/project/fastapi/0.97.0/) - h11 - humanfriendly (from https://humanfriendly.readthedocs.io) - iniconfig (from http://github.com/RonnyPfannschmidt/iniconfig, https://pypi.org/project/iniconfig/2.0.0/) - jmespath (from https://github.com/jmespath/jmespath.py) - jsonschema -- kubernetes (from https://github.com/kubernetes-client/python) - msal (from https://github.com/AzureAD/microsoft-authentication-library-for-python) - msal-extensions (from https://pypi.org/project/msal-extensions/1.0.0/) - munch (from https://github.com/Infinidat/munch) diff --git a/devops/gc/deploy/templates/opa-deployment.yaml b/devops/gc/deploy/templates/opa-deployment.yaml index f19d7289..bbf29b0d 100644 --- a/devops/gc/deploy/templates/opa-deployment.yaml +++ b/devops/gc/deploy/templates/opa-deployment.yaml @@ -38,7 +38,7 @@ spec: resources: requests: cpu: "{{ .Values.data.requestsCpu }}" - memory: "{{ .Values.data.requestsMemory }}" + memory: "{{ .Values.opa.data.requestsMemory }}" limits: cpu: "{{ .Values.data.limitsCpu }}" memory: "{{ .Values.data.limitsMemory }}" diff --git a/devops/gc/deploy/values.yaml b/devops/gc/deploy/values.yaml index 5deaad86..59a63013 100644 --- a/devops/gc/deploy/values.yaml +++ b/devops/gc/deploy/values.yaml @@ -37,6 +37,7 @@ conf: opa: data: + requestsMemory: "200Mi" image: "docker.io/openpolicyagent/opa:latest-rootless" serviceAccountName: "opa" conf: -- GitLab