Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nleconte-csgroup committed Apr 15, 2024
1 parent d902081 commit 4b59f32
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 14 deletions.
11 changes: 1 addition & 10 deletions charts/mockup-station-adgs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,21 @@ namespace: processing
# -- Number of replicas for the deployment
replicaCount: 1

# -- Configuration for the service
service:
# -- Port for the service
port: 8080

# -- Configuration for the application
app:
# -- Port for the application
port: 5000
# -- Working directory for the application
workDir: /app
# -- Config directory for the application
confDir: /opt/adgs/config
# -- Auth file configuration for the application
# -- Auth configuration file for the application
authConfigFile: auth.json

# -- Kubernetes probes configuration
probe:
# -- Liveness probe configuration
liveness:
# -- Path for the liveness probe
path: /health
Expand All @@ -34,7 +30,6 @@ probe:
periodSeconds: 30
# -- timeoutSeconds for the liveness probe
timeoutSeconds: 5
# -- Readiness probe configuration
readiness:
# -- Path for the readiness probe
path: /health
Expand All @@ -47,7 +42,6 @@ probe:
# -- timeoutSeconds for the readiness probe
timeoutSeconds: 5

# -- Image details
image:
# -- Image registry
registry: ghcr.io
Expand All @@ -61,15 +55,12 @@ image:
PullPolicy: Always
#imagePullSecrets: regcred

# -- Pod resources details
resources:
# -- Pod request resources details
request:
# -- Pod memory request
ram: "256Mi"
# -- Pod CPU request
cpu: "100m"
# -- Pod limit resources details
limit:
# -- Pod memory limit
ram: "1000Mi"
Expand Down
29 changes: 28 additions & 1 deletion charts/mockup-station-cadip/values.yaml
Original file line number Diff line number Diff line change
@@ -1,43 +1,70 @@
# -- 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: 5000
# -- Working directory for the application
workDir: /app
# -- Config directory for the application
confDir: /opt/cadip/config
# -- Auth configuration file for the application
authConfigFile: auth.json
# -- Name of the station for the application
stationName: cadip

probe:
liveness:
# -- Path for the liveness probe
path: /health
# -- Port for the liveness probe
port: 5000
# -- 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: 5000
# -- 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-testmeans_cadip-station-mock
# -- Image tag version
tag: latest
# -- Image pull policy
PullPolicy: Always
#imagePullSecrets: regcred

resources:
request:
request:
# -- Pod memory request
ram: "256Mi"
# -- Pod CPU request
cpu: "100m"
limit:
# -- Pod memory limit
ram: "1000Mi"
# -- Pod CPU limit
cpu: "500m"
47 changes: 46 additions & 1 deletion charts/rs-server-adgs/values.yaml
Original file line number Diff line number Diff line change
@@ -1,72 +1,117 @@
# -- 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
# -- Working directory for the application
workDir: /app
# -- Config directory for the application
confDir: /app/conf
# -- Station configuration file for the application
stationConfigFile: stations_cfg.json
# -- EODAG configuration file for the application
eodagConfigFile: adgs_ws_config.yaml
station:
endpoint:
# -- ADGS URL
url: http://mockup-station-adgs-svc.processing.svc.cluster.local:8080/Products
secret:
# -- Username to authenticate with the ADGS endpoint
username: test
# -- Password to authenticate with the ADGS endpoint
password: test
# -- 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

postgres:
# -- PostgreSQL port
port: "5432"
# -- PostgreSQL database name
db: rspydemo
# -- PostgreSQL service URL
host: postgresql-cluster-rw.database.svc.cluster.local
secret:
# -- Username to authenticate with the PostgreSQL service
user: test
# -- Password to authenticate with the PostgreSQL service
pass: test

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

image:
#imagePullSecrets: regcred
# -- Image registry
registry: ghcr.io
# -- Image repository
repository: rs-python
# -- Image name
name: rs-server-adgs
# -- 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
path: /adgs

resources:
request:
request:
# -- Pod memory request
ram: "256Mi"
# -- Pod CPU request
cpu: "100m"
limit:
# -- Pod memory limit
ram: "1000Mi"
# -- Pod CPU limit
cpu: "500m"
51 changes: 49 additions & 2 deletions charts/rs-server-cadip/values.yaml
Original file line number Diff line number Diff line change
@@ -1,85 +1,132 @@
# -- 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
# -- Working directory for the application
workDir: /app
# -- Config directory for the application
confDir: /app/conf
# -- Station configuration file for the application
stationConfigFile: stations_cfg.json
# -- EODAG configuration file for the application
eodagConfigFile: cadip_ws_config.yaml
station:
# -- CADIP station name
cadip:
endpoint:
# -- CADIP station URL
url: http://mockup-station-cadip-svc.processing.svc.cluster.local:8080/Files
secret:
# -- Username to authenticate with the CADIP station
username: test
# -- Password to authenticate with the CADIP station
password: test
# @ignored
sgs:
endpoint:
url: http://mockup-station-cadip-svc.processing.svc.cluster.local:8080/Files
secret:
username: test
password: test
# @ignored
mti:
endpoint:
url: http://mockup-station-cadip-svc.processing.svc.cluster.local:8080/Files
secret:
username: test
password: test
# -- 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

postgres:
# -- PostgreSQL port
port: "5432"
# -- PostgreSQL database name
db: rspydemo
# -- PostgreSQL service URL
host: postgresql-cluster-rw.database.svc.cluster.local
secret:
# -- Username to authenticate with the PostgreSQL service
user: test
# -- Password to authenticate with the PostgreSQL service
pass: test

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

image:
#imagePullSecrets: regcred
# -- Image registry
registry: ghcr.io
# -- Image repository
repository: rs-python
# -- Image name
name: rs-server-cadip
# -- 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
path: /cadip

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 4b59f32

Please sign in to comment.