aias-services

by gisaia

Helm chartv29.0.0App 0.23.0Verified publisher

A Helm Chart to deploy ARLAS AIAS Services

About this chart

aias-services

A Helm Chart to deploy ARLAS AIAS Services

Values

KeyTypeDefaultDescription
cors.allowedCredentialsbooltrueCORS Allowed Credentials or not
cors.allowedHeadersstring"arlas-user,arlas-groups,arlas-organization,arlas-org-filter,X-Requested-With,Content-Type,Accept,Origin,Authorization,X-Forwarded-User"CORS Allowed Headers
cors.allowedHostsstring"0.0.0.0"
cors.allowedMethodsstring"OPTIONS,GET,PUT,POST,DELETE,HEAD"Allowed hosts
cors.allowedOriginsstring"\"*\""CORS Allowed Origins
cors.exposedHeadersstring"Content-Type,Authorization,X-Requested-With,Content-Length,Accept,Origin,Location,WWW-Authenticate"CORS Exposed Headers
dnsDomainstring"localhost"DNS domain hosting ARLAS
elastic.clusterstring"elastic"Elasticsearch cluster name
elastic.endpointstring"https://elasticsearch:9200"Elasticsearch endpoint URL for AIRS and APROC services
elastic.existingSecretstring"arlas-stack-secret"Name of the secret containing the environment variables that hold the login and password for connecting to Elasticsearch
elastic.loginstring"$ARLAS_APP_ELASTIC_LOGIN"Name of the environment variable contained within the existingSecret that holds the login
elastic.passwordstring"$ARLAS_APP_ELASTIC_PASSWORD"Name of the environment variable contained within the existingSecret that holds the password
initBucketsboolfalseWhether to initialize the S3 buckets used by AIRS service at startup or not
logger.loggingConsoleLevelstring"INFO"Default console logging level
logger.loggingLevelstring"INFO"Default logging level
otel.attributesstring"deployment.environment={{ .Values.dnsDomain }}"Resource attributes attached to all telemetry (comma-separated key=value pairs, e.g. deployment.environment=dev)
otel.auth.enabledbooltrueSend an Authorization: Bearer header built from a Secret. Disable if the Server token authentication is disabled
otel.auth.secretKeystring"secret-token"Key of the token in the Secret
otel.auth.secretNamestring"apm-server-apm-token"Name of the Secret holding the token.
otel.endpointstring"http://apm-server-apm-http:8200"OTLP endpoint
otel.extraEnvobject{}Additional environment variables for the OTel agent, as a name: value map
otel.ignoredUserAgentsstring"GoogleHC/*, kube-probe/*, curl*, GoogleStackdriverMonitoring*"User agents ignored by the HTTP server instrumentation (regex, e.g. Kubernetes probes)
otel.protocolstring"http/protobuf"OTLP protocol used by the agent (grpc, http/protobuf)
protocolstring"http"HTTP protocol used to access AIAS services
services.agate.affinityobject{}Affinity for AGATE service pods
services.agate.configuration.arlasUrlSearchstring"http://arlas-server:8000/arlas/explore/{collection}/_search?f=id:eq:{item}"ARLAS endpoint used by AGATE to check whether an item is accessible or not
services.agate.configuration.methodHeaderstring"x-forwarded-method"URBAC HTTP header containing the method of the original request
services.agate.configuration.nbWorkersint4Number of worker processes for AGATE
services.agate.configuration.roles.group/publicobject{"description":["Public group"],"permissions":["r:session:DELETE","r:permissions:GET","r:organisations:GET,POST","r:organisations/check:GET","r:users/.*:GET,PUT,DELETE"]}Public role. See example at https://raw.githubusercontent.com/gisaia/ARLAS-server/master/arlas-commons/src/main/resources/roles.yaml
services.agate.configuration.roles.role/arlas/builderobject{"description":["Building dashboards in ARLAS"],"permissions":["r:collections:GET","r:collections/.*:PATCH,PUT,DELETE","r:collections/_export:GET","r:collections/_import:POST","r:persist/resource/.*:PUT,POST,DELETE"]}ARLAS Builder role
services.agate.configuration.roles.role/arlas/datasetsobject{"description":["Managing data (ingest, update and enrich) in ARLAS"],"permissions":["r:datasets/.*:GET,PUT,POST,DELETE","r:/aproc/processes/ingest:GET","r:/aproc/processes/ingest/execution:POST","r:/aproc/processes/enrich:GET","r:/aproc/processes/enrich/execution:POST","r:/aproc/processes/directory_ingest:GET","r:/aproc/processes/directory_ingest/execution:POST","r:/aproc/processes/dc3build:GET","r:/aproc/processes/dc3build/execution:POST","r:/fam/.*:GET,POST","r:/aproc/jobs/.*:GET,DELETE","r:/aproc/jobs:GET","r:/airs/collections:GET","r:/airs/collections/.*:GET,POST,PUT,DELETE"]}ARLAS Datasets role
services.agate.configuration.roles.role/arlas/downloaderobject{"description":["Download data from ARLAS"],"permissions":["r:/aproc/processes/download:GET","r:/aproc/processes/download/execution:POST","r:/aproc/jobs/.*:GET,DELETE"]}ARLAS Downloader role
services.agate.configuration.roles.role/arlas/ownerobject{"description":["Managing users and permissions of ARLAS"],"permissions":["r:permissions:GET","r:collections:GET","r:organisations:GET,POST","r:organisations/.*:GET,POST,PUT,DELETE","r:users/.*:GET,PUT,DELETE","r:session:DELETE"]}ARLAS Owner role
services.agate.configuration.roles.role/arlas/taggerobject{"description":["Tagging data in ARLAS"],"permissions":["r:write/.*:POST","r:status/.*:GET"]}ARLAS Tagger role
services.agate.configuration.roles.role/arlas/userobject{"description":["Viewing data in ARLAS"],"permissions":["h:arlas-organization:${org}","h:arlas-workspace:${ws}","r:explore/.*:GET,POST","r:collections/.*:GET","r:explore/_list:GET","r:explore/ogc/opensearch/.*:GET","r:ogc/.*:GET","r:stac:GET","r:openapi.json:GET","r:stac/.*:GET,POST","r:persist/resource/.*:GET","r:persist/groups/.*:GET","r:persist/resources/.*:GET","r:authorize/resources:GET"]}ARLAS User role
services.agate.configuration.roles.role/iam/adminobject{"description":["IAM admin"],"permissions":["r:organisations:GET,POST","r:organisations/.*:GET,POST,DELETE","r:users/.*:GET,PUT,DELETE","r:session:DELETE","r:permissions:GET"]}IAM Admin role
services.agate.configuration.roles.role/m2m/importer.description[0]string"M2M account for importing collections"
services.agate.configuration.roles.role/m2m/importer.permissions[0]string"r:collections:GET"
services.agate.configuration.roles.role/m2m/importer.permissions[1]string"r:collections/.*:PATCH,PUT,DELETE"
services.agate.configuration.roles.role/m2m/importer.permissions[2]string"r:collections/_import:POST"
services.agate.configuration.roles.role/m2m/importer.permissions[3]string"r:organisations/.*:GET"
services.agate.configuration.roles.role/m2m/importer.permissions[4]string"r:persist/resource/.*:POST,PUT"
services.agate.configuration.services.airs-storage.jwt_locationlist["headers"]Locations where to find the JWT token for storage access
services.agate.configuration.services.airs-storage.jwt_namestring"authorization"Name of the header containing the JWT token
services.agate.configuration.services.airs-storage.privatelist[{"part":"path","pattern":"(/airs-storage/)(?P<collection>[^/]+)/items/(?P<item>[^/]+)/assets/overview"},{"part":"path","pattern":"(/airs-storage/)(?P<collection>[^/]+)/items/(?P<item>[^/]+)/assets/cog"}]Patterns for private assets
services.agate.configuration.services.airs-storage.publiclist[{"part":"path","pattern":"(/airs-storage/)(?P<collection>[^/]+)/items/(?P<item>[^/]+)/assets/thumbnail"}]Patterns for private assets
services.agate.configuration.services.cogobject{"jwt_location":["headers","query_params"],"jwt_name":"authorization","private":[{"part":"query.url.url.path","pattern":"(/airs-storage/)(?P<collection>[^/]+)/items/(?P<item>[^/]+)/assets/(?P<asset>[^/]+)"}]}Configuration for accessing private COG assets
services.agate.configuration.services.cog.jwt_locationlist["headers","query_params"]Locations where to find the JWT token for COG access
services.agate.configuration.services.cog.jwt_namestring"authorization"Name of the header containing the JWT token for COG access
services.agate.configuration.services.cog.privatelist[{"part":"query.url.url.path","pattern":"(/airs-storage/)(?P<collection>[^/]+)/items/(?P<item>[^/]+)/assets/(?P<asset>[^/]+)"}]Patterns for private COG assets
services.agate.configuration.services.titiler_public.publiclist[{"part":"path","pattern":"(/colorMaps/)(.*)"}]Patterns for public COG statistics access
services.agate.configuration.urbac.jwks_uristring"https://keycloak.arlas.k8s/realms/arlas/protocol/openid-connect/certs"Keys endpoint
services.agate.configuration.urbac.jwtAudiencestring"arlas-backend"Expected audience in the JWT token
services.agate.configuration.urbac.jwtHeaderstring"authorization"URBAC HTTP header containing the JWT token of the original request
services.agate.configuration.urbac.verifyJwtbooltrueWhether to verify the JWT signature or not
services.agate.configuration.urbac.verifySslbooltrueWhether to verify the SSL certificate of the OpenID Provider or not
services.agate.configuration.urlHeaderstring"x-forwarded-uri"HTTP header containing the original request URL
services.agate.enabledbooltrue
services.agate.extraContainerslist[]
services.agate.extraEnvstringnil
services.agate.extraInitContainersstringnil
services.agate.extraVolumeMountsstringnil
services.agate.extraVolumesstringnil
services.agate.imagestring"gisaia/agate:0.23.0"
services.agate.imagePullSecretslist[]Extra environment variables for the agate container
services.agate.nodeSelectorobject{}Node selector for AGATE service pods
services.agate.otelboolfalseWhether OpenTelemetry should be activated or not
services.agate.replicaCountint1Number of AGATE service replicas
services.agate.resourcesobject{"limits":{"cpu":0.25,"memory":"256Mi"},"requests":{"cpu":0.1,"memory":"50Mi"}}Resources configuration for AGATE service
services.agate.serviceBindingstring"0.0.0.0"
services.agate.serviceNamestring"arlas-agate"
services.agate.tolerationslist[]Tolerations for AGATE service pods
services.agate.urlPrefixstring"/agate"
services.airs.affinityobject{}Affinity for AIRS service pods
services.airs.configuration.arlaseoCollectionUrlstring"https://raw.githubusercontent.com/gisaia/aias/refs/tags/0.23.0/conf/collection.json"ARLAS-EO collection URL used for initializing new collections.
services.airs.configuration.arlaseoMappingUrlstring"/app/mappings/arlas_eo_mapping.json"ARLAS-EO mapping and collection URLs used for initializing new indices of new collections
services.airs.configuration.indexCollectionPrefixstring"org.com@airs"Prefix for elasticsearch indices created for AIRS collections. This MUST contain the organization name followed by '@' followed by a custom suffix, e.g. org.com@airs
services.airs.configuration.s3.accessKeyIdstring"$ARLAS_APP_SEAWEEDFS_LOGIN"Name of the environment variable contained within the airs existingSecret that holds the s3 access key id
services.airs.configuration.s3.assetHttpEndpointUrlstring"https://arlas-stack-seaweedfs-s3:8333/{}/{}"Public URL Pattern to access assets over HTTPS, must look like http(s)://your-s3-endpoint/{}/{} where first {} is the bucket, second {} is the path to the object. This is used to generate the asset URLs in the STAC item
services.airs.configuration.s3.bucketstring"airs-storage"S3 bucket name for storing and accessing the STAC collections, items and managed assets
services.airs.configuration.s3.endpointUrlstring"http://arlas-stack-seaweedfs-s3:8333"S3 internal endpoint URL, e.g. http://seaweedfs:8333
services.airs.configuration.s3.platformstring"SeaweedFS"S3 platform type. This value is provided in the item properties of the STAC item
services.airs.configuration.s3.regionstringnilS3 bucket's region. This value is provided in the item properties of the STAC item
services.airs.configuration.s3.secretAccessKeystring"$ARLAS_APP_SEAWEEDFS_PASSWORD"Name of the environment variable contained within the airs existingSecret that holds the s3 access key secret
services.airs.configuration.s3.tierstring"Standard"S3 bucket's tier. This value is provided in the item properties of the STAC item
services.airs.configuration.s3.writablePathslist["/"]List of writable paths in the S3 bucket
services.airs.enabledbooltrue
services.airs.existingSecretstring"arlas-stack-secret"Name of the secret containing the environment variables that hold the login and password for connecting to s3
services.airs.extraContainerslist[]
services.airs.extraEnvlist[]
services.airs.extraInitContainerslist[]
services.airs.extraVolumeMountslist[]
services.airs.extraVolumeslist[]
services.airs.imagestring"gisaia/airs:0.23.0"
services.airs.imagePullSecretslist[]
services.airs.nodeSelectorobject{}Node selector for AIRS

Deploy aias-services with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has aias-services on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartaias-services is pinned at v29.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply