From 337a2769ec6195a11397c053a13c2f59aab34185 Mon Sep 17 00:00:00 2001 From: nleconte-csgroup Date: Tue, 16 Apr 2024 11:47:32 +0200 Subject: [PATCH] wip --- charts/rs-server-catalog-db/values.yaml | 21 +++++++++++++-- charts/rs-server-catalog/values.yaml | 32 +++++++++++++++++++++-- charts/rs-server-frontend/values.yaml | 34 ++++++++++++++++++++++--- 3 files changed, 79 insertions(+), 8 deletions(-) diff --git a/charts/rs-server-catalog-db/values.yaml b/charts/rs-server-catalog-db/values.yaml index cd82f42..73268a2 100644 --- a/charts/rs-server-catalog-db/values.yaml +++ b/charts/rs-server-catalog-db/values.yaml @@ -1,31 +1,48 @@ +# -- Namespace for the deployment namespace: database service: + # -- Port for the service port: 5432 postgres: + # -- PostgreSQL port port: "5432" + # -- PostgreSQL database name db: catalog secret: + # -- Username to authenticate with the PostgreSQL service user: postgres + # -- Password to authenticate with the PostgreSQL service pass: password image: + # -- Image registry registry: ghcr.io + # -- Image repository repository: stac-utils + # -- Image name name: pgstac + # -- Image tag version tag: v0.7.10 + # -- Image pull policy PullPolicy: Always -resources: - request: + request: + # -- Pod memory request ram: "256Mi" + # -- Pod CPU request cpu: "100m" limit: + # -- Pod memory limit ram: "1000Mi" + # -- Pod CPU limit cpu: "500m" volume: + # -- Size of the database volume size: "20Gi" + # -- AccessMode of the database volume accessModes: ReadWriteOnce + # -- StorageClass of the database volume storageClassName: csi-cinder-sc-retain \ No newline at end of file diff --git a/charts/rs-server-catalog/values.yaml b/charts/rs-server-catalog/values.yaml index 5a74072..d5150c3 100644 --- a/charts/rs-server-catalog/values.yaml +++ b/charts/rs-server-catalog/values.yaml @@ -1,51 +1,79 @@ +# -- Namespace for the deployment namespace: processing +# -- Number of replicas for the deployment replicaCount: 1 service: + # -- Port for the service port: 8080 app: + # -- Port for the application port: 8000 + # -- URL of the API Key Manager service uacURL: http://apikeymanager.processing.svc.cluster.local:8000/check/api_key + # -- Object Storage bucket for the catalog catalogBucket: rs-cluster-catalog obs: + # -- URL of the object storage service endpoint endpoint: http://minio.minio.svc.cluster.local:9000 + # -- Region of the object storage service region: sbg secret: + # -- Access Key to authenticate with the object storage service ak: TDr8foJqSygBQ9YFmWDy + # -- Secret Key to authenticate with the object storage service sk: z2RaqjFttnVZRTsLLqmy4PE6PzJOKzPsE47alDBs postgres: + # -- PostgreSQL port port: "5432" + # -- PostgreSQL database name db: catalog host: + # -- PostgreSQL service URL for Read Write rw: rs-server-catalog-db-svc.database.svc.cluster.local + # -- PostgreSQL service URL for Read Only ro: rs-server-catalog-db-svc.database.svc.cluster.local secret: + # -- Username to authenticate with the PostgreSQL service user: postgres + # -- Password to authenticate with the PostgreSQL service pass: password image: + # -- Image registry registry: ghcr.io + # -- Image repository repository: rs-python + # -- Image name name: rs-server-catalog + # -- Image tag version tag: auth + # -- Image pull policy PullPolicy: Always #imagePullSecrets: regcred ingress: issuer: + # -- Ingress Issuer type type: cluster-issuer + # -- Ingress Issuer name name: letsencrypt-prod + # -- Ingress host name host: subdomain.example.com + # -- Ingress path path: /catalog -resources: - request: + request: + # -- Pod memory request ram: "256Mi" + # -- Pod CPU request cpu: "100m" limit: + # -- Pod memory limit ram: "1000Mi" + # -- Pod CPU limit cpu: "500m" \ No newline at end of file diff --git a/charts/rs-server-frontend/values.yaml b/charts/rs-server-frontend/values.yaml index ae53ecc..6002402 100644 --- a/charts/rs-server-frontend/values.yaml +++ b/charts/rs-server-frontend/values.yaml @@ -1,50 +1,76 @@ +# -- Namespace for the deployment namespace: processing +# -- Number of replicas for the deployment replicaCount: 1 service: + # -- Port for the service port: 8080 app: + # -- Port for the application port: 8000 - # app.docsUrl must be the same value as ingress.path + # -- URL suffix for the application. Must be the same value as ingress.path docsUrl: /docs + # -- URL of the API Key Manager service uacURL: http://apikeymanager.processing.svc.cluster.local:8000/check/api_key probe: liveness: + # -- Path for the liveness probe path: /health + # -- Port for the liveness probe port: 8000 + # -- InitialDelaySeconds for the liveness probe initialDelaySeconds: 30 + # -- periodSeconds for the liveness probe periodSeconds: 30 + # -- timeoutSeconds for the liveness probe timeoutSeconds: 5 readiness: + # -- Path for the readiness probe path: /health + # -- Port for the readiness probe port: 8000 + # -- InitialDelaySeconds for the readiness probe initialDelaySeconds: 30 + # -- periodSeconds for the readiness probe periodSeconds: 30 + # -- timeoutSeconds for the readiness probe timeoutSeconds: 5 image: + # -- Image registry registry: ghcr.io + # -- Image repository repository: rs-python + # -- Image name name: rs-server-frontend + # -- Image tag version tag: latest + # -- Image pull policy PullPolicy: Always #imagePullSecrets: regcred ingress: issuer: + # -- Ingress Issuer type type: cluster-issuer + # -- Ingress Issuer name name: letsencrypt-prod + # -- Ingress host name host: subdomain.example.com - # ingress.path must be the same value as app.docsUrl + # -- Ingress path for the application. Must be the same value as app.docsUrl. path: /docs -resources: - request: + request: + # -- Pod memory request ram: "256Mi" + # -- Pod CPU request cpu: "100m" limit: + # -- Pod memory limit ram: "1000Mi" + # -- Pod CPU limit cpu: "500m" \ No newline at end of file