Skip to content
Snippets Groups Projects
Commit 12cb4f23 authored by Siarhei Poliak [EPAM / GCP]'s avatar Siarhei Poliak [EPAM / GCP] Committed by Oleksandr Kosse (EPAM)
Browse files

Gonrg 9103 decline the data partition id variable as a system partition

parent d4abf357
No related branches found
No related tags found
1 merge request!466Gonrg 9103 decline the data partition id variable as a system partition
......@@ -21,7 +21,7 @@ The following software have components provided under the terms of this license:
- cryptography (from https://github.com/pyca/cryptography)
- elasticsearch (from https://github.com/elastic/elasticsearch, https://github.com/elastic/elasticsearch-py, https://repo1.maven.org/maven2/org/elasticsearch/elasticsearch)
- elasticsearch-dsl (from https://github.com/elasticsearch/elasticsearch-dsl-py)
- fastapi (from https://pypi.org/project/fastapi/0.104.1/, https://pypi.org/project/fastapi/0.86.0/)
- fastapi (from https://pypi.org/project/fastapi/0.109.0/, https://pypi.org/project/fastapi/0.86.0/)
- google-api-core (from https://github.com/googleapis/python-api-core)
- google-auth (from https://github.com/GoogleCloudPlatform/google-auth-library-python, https://github.com/googleapis/google-auth-library-python)
- google-cloud-core (from https://github.com/googleapis/python-cloud-core)
......@@ -66,7 +66,7 @@ The following software have components provided under the terms of this license:
- click (from https://palletsprojects.com/p/click/)
- cryptography (from https://github.com/pyca/cryptography)
- httpcore (from https://github.com/encode/httpcore, https://pypi.org/project/httpcore/0.18.0/, https://pypi.org/project/httpcore/1.0.2/)
- httpx (from https://pypi.org/project/httpx/0.23.1/, https://pypi.org/project/httpx/0.25.2/)
- httpx (from https://pypi.org/project/httpx/0.23.1/, https://pypi.org/project/httpx/0.26.0/)
- idna (from https://pypi.org/project/idna/3.4/, https://pypi.org/project/idna/3.6/)
- isodate (from http://cheeseshop.python.org/pypi/isodate, https://github.com/gweis/isodate/)
- jinja2
......@@ -79,8 +79,8 @@ The following software have components provided under the terms of this license:
- python-dateutil (from https://github.com/dateutil/dateutil)
- python-dotenv (from https://github.com/theskumar/python-dotenv)
- sniffio (from https://github.com/python-trio/sniffio)
- starlette (from https://pypi.org/project/starlette/0.22.0/, https://pypi.org/project/starlette/0.33.0/)
- uvicorn (from https://github.com/tomchristie/uvicorn, https://pypi.org/project/uvicorn/0.24.0.post1/, https://www.uvicorn.org/)
- starlette (from https://pypi.org/project/starlette/0.22.0/, https://pypi.org/project/starlette/0.35.1/)
- uvicorn (from https://github.com/tomchristie/uvicorn, https://pypi.org/project/uvicorn/0.26.0/, https://www.uvicorn.org/)
========================================================================
ISC
......@@ -97,8 +97,8 @@ The following software have components provided under the terms of this license:
- PyJWT (from http://github.com/jpadilla/pyjwt, https://github.com/jpadilla/pyjwt)
- PyYAML (from http://pyyaml.org/wiki/PyYAML)
- annotated-types (from https://pypi.org/project/annotated-types/0.5.0/, https://pypi.org/project/annotated-types/0.6.0/)
- anyio (from https://pypi.org/project/anyio/3.3.0/, https://pypi.org/project/anyio/4.1.0/)
- attrs (from https://attrs.readthedocs.io/, https://pypi.org/project/attrs/23.1.0/, https://www.attrs.org/)
- anyio (from https://pypi.org/project/anyio/3.3.0/, https://pypi.org/project/anyio/4.2.0/)
- attrs (from https://attrs.readthedocs.io/, https://pypi.org/project/attrs/23.2.0/, https://www.attrs.org/)
- azure-common (from https://github.com/Azure/azure-sdk-for-python)
- azure-core (from https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-core)
- azure-identity (from https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity)
......@@ -110,7 +110,7 @@ The following software have components provided under the terms of this license:
- charset-normalizer (from https://github.com/Ousret/charset_normalizer)
- coverage (from https://github.com/nedbat/coveragepy)
- exceptiongroup (from https://pypi.org/project/exceptiongroup/1.0.1/, https://pypi.org/project/exceptiongroup/1.2.0/)
- fastapi (from https://pypi.org/project/fastapi/0.104.1/, https://pypi.org/project/fastapi/0.86.0/)
- fastapi (from https://pypi.org/project/fastapi/0.109.0/, https://pypi.org/project/fastapi/0.86.0/)
- h11
- iniconfig (from http://github.com/RonnyPfannschmidt/iniconfig, https://pypi.org/project/iniconfig/2.0.0/)
- jmespath (from https://github.com/jmespath/jmespath.py)
......@@ -119,7 +119,7 @@ The following software have components provided under the terms of this license:
- msal-extensions (from https://pypi.org/project/msal-extensions/1.0.0/)
- munch (from http://github.com/Infinidat/munch, https://github.com/Infinidat/munch)
- pluggy
- pydantic (from https://github.com/samuelcolvin/pydantic, https://pypi.org/project/pydantic/2.5.2/)
- pydantic (from https://github.com/samuelcolvin/pydantic, https://pypi.org/project/pydantic/2.5.3/)
- pydantic-core (from https://github.com/pydantic/pydantic-core)
- pyrsistent (from https://github.com/tobgu/pyrsistent/)
- pytest (from http://pytest.org, https://docs.pytest.org/en/latest/)
......
......@@ -34,6 +34,7 @@ First you need to set variables in **values.yaml** file using any code editor. S
**global.domain** | your domain for the external endpoint, ex `example.com` | string | - | yes
**global.onPremEnabled** | whether baremetal is enabled | boolean | false | yes
**global.limitsEnabled** | whether CPU and memory limits are enabled | boolean | true | yes
**global.dataPartitionId** | data partition id | string | - | yes
### Common variables
......@@ -69,7 +70,6 @@ First you need to set variables in **values.yaml** file using any code editor. S
**conf.appName** | name of the app | string | policy | yes
**conf.configmap** | configmap to be used | string | policy-config | yes
**conf.bootstrapSecretName** | secret name for the bootstrap | string | "minio-bootstrap-secret" | yes
**data.dataPartitionId** | data partition id | string | - | yes
**data.dataPartitionIdList** | list of secondary data partition ids in case of multipartition | string | - | yes
**conf.minDelaySeconds** | min delay for bundle download | num | 6 | yes
**conf.maxDelaySeconds** | max delay for bundle download | num | 12 | yes
......
......@@ -7,6 +7,10 @@ metadata:
namespace: "{{ .Release.Namespace }}"
data:
POLICY_BUCKET: "{{ .Values.data.bucketName }}"
DATA_PARTITION: "{{ .Values.data.dataPartitionId }}"
DATA_PARTITION: {{- if not .Values.global.onPremEnabled }}
{{ "system" }}
{{- else }}
{{ .Values.global.dataPartitionId | quote }}
{{- end }}
PARTITION_BASE_URL: {{ .Values.data.partitionHost | quote }}
ONPREM_ENABLED: "{{ .Values.global.onPremEnabled }}"
......@@ -3,6 +3,8 @@ global:
domain: ''
onPremEnabled: false
limitsEnabled: true
dataPartitionId: ""
data:
# Deployment resources
requestsCpu: 5m
......@@ -22,7 +24,6 @@ data:
partitionHost: http://partition
bucketName: ''
useBundles: 'yes'
dataPartitionId: ''
# baremetal only
minioHost: http://minio:9000
conf:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment