Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nleconte-csgroup committed Apr 16, 2024
1 parent e66a86e commit 337a276
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 8 deletions.
21 changes: 19 additions & 2 deletions charts/rs-server-catalog-db/values.yaml
Original file line number Diff line number Diff line change
@@ -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
32 changes: 30 additions & 2 deletions charts/rs-server-catalog/values.yaml
Original file line number Diff line number Diff line change
@@ -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"
34 changes: 30 additions & 4 deletions charts/rs-server-frontend/values.yaml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 337a276

Please sign in to comment.