activation-service

by i4Trust

Helm chartv2.3.1App 2.2.0Verified publisher

A Helm chart for running the i4Trust activation service for creating policies at an iSHARE authorisation registry or to create entries at a trusted issuers list

About this chart

activation-service

A Helm chart for running the i4Trust activation service for creating policies at an iSHARE authorisation registry or to create entries at a trusted issuers list

Homepage: https://github.com/i4trust/activation-service

Maintainers

NameEmailUrl
dwendland[email protected]

Source Code

Values

KeyTypeDefaultDescription
activationService.logLevelstring"info"Log Level
activationService.maxHeaderSizeint32768Maximum header size in bytes
activationService.portint8080Listen port
activationService.workersint1Number of (gunicorn) workers that should be created
autoscaling.enabledboolfalse
autoscaling.maxReplicasint10maximum number of running pods
autoscaling.metricslist[]metrics to react on
autoscaling.minReplicasint1minimum number of running pods
ccs.defaultOidcScopestring"defaultScope"Default scope to be used from scopes below, if none is provided
ccs.idstring"pdc-activation-service"Id of the service
ccs.oidcScopesobject{"asWrite":[{"trustedIssuersLists":["https://til.fiware.dev"],"trustedParticipantsLists":["https://tir.fiware.dev"],"type":"VerifiableCredential"}],"defaultScope":[{"trustedIssuersLists":["https://til.fiware.dev"],"trustedParticipantsLists":["https://tir.fiware.dev"],"type":"VerifiableDefaultCredential"}]}Credential configurations for particular scopes
config.apikeys.ishare.apiKeystring""API key for iSHARE flow (auto-generated if left empty)
config.apikeys.ishare.enabledCreatePolicyboolfalseEnable API-Key requirement for iSHARE flow /createpolicy endpoint (API key will be required)
config.apikeys.ishare.enabledTokenbooltrueEnable API-Key requirement for iSHARE flow /token endpoint (API key will be required)
config.apikeys.ishare.headerNamestring"AS-API-KEY"API-Key Header name for iSHARE flow
config.apikeys.issuer.apiKeystring""API key for Trusted-Issuers-List flow (auto-generated if left empty)
config.apikeys.issuer.enabledIssuerbooltrueEnable API-Key requirement for Trusted-Issuers-List flow /issuer endpoint (API key will be required)
config.apikeys.issuer.headerNamestring"AS-API-KEY"API-Key Header name for Trusted-Issuers-List flow
config.ar.delegationstring"https://ar.packetdelivery.net/delegation"Endpoint for delegation requests
config.ar.idstring"EU.EORI.NLPACKETDEL"EORI of AR
config.ar.policystring"https://ar.packetdelivery.net/policy"Endpoint for create policy requests
config.ar.tokenstring"https://ar.packetdelivery.net/connect/token"Endpoint for token request
config.client.crtstring"<pdc-certs>"Client certificate (PEM certificate chain)
config.client.idstring"EU.EORI.NLPACKETDEL"Client ID
config.client.keystring"<pdc-private-key>"Client key (PEM private key)
config.db.echobooltrueEnable SQL logging to stderr
config.db.modTrackingboolfalseEnable tracking of modifications
config.db.useMemorybooltrueUse sqlite in-memory database
config.issuer.algorithmslist["ES256"]Allowed algorithms for JWT signatures
config.issuer.clientIdstring"pdc-activation-service"clientId parameter
config.issuer.jwksPathstring"/.well-known/jwks"JWKS path at verifier
config.issuer.providerIdstring"did:key:some-key"Provider DID
config.issuer.roles.createRolestring"CREATE_ISSUER"Role for creating trusted issuer
config.issuer.roles.deleteRolestring"DELETE_ISSUER"Role for deleting trusted issuer
config.issuer.roles.updateRolestring"UPDATE_ISSUER"Role for updating trusted issuer
config.issuer.samedevicePathstring"/api/v1/samedevice"samedevice flow path at verifier
config.issuer.tilUristring"http://til.internal"URI of Trusted Issuers List service
config.issuer.verifierUristring"https://verifier.packetdelivery.net"URI of verifier
deployment.additionalAnnotationsobject{}additional annotations for the deployment, if required
deployment.additionalLabelsobject{}additional labels for the deployment, if required
deployment.affinityobject{}affinity template ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
deployment.image.pullPolicystring"IfNotPresent"specification of the image pull policy
deployment.image.repositorystring"i4trust/activation-service"image name ref: https://hub.docker.com/r/i4trust/activation-service
deployment.image.tagstring"2.2.0"tag of the image to be used
deployment.livenessProbe.initialDelaySecondsint20
deployment.livenessProbe.periodSecondsint10
deployment.livenessProbe.successThresholdint1
deployment.livenessProbe.timeoutSecondsint30
deployment.nodeSelectorobject{}selector template ref: https://kubernetes.io/docs/user-guide/node-selection/
deployment.readinessProbe.initialDelaySecondsint21
deployment.readinessProbe.periodSecondsint10
deployment.readinessProbe.successThresholdint1
deployment.readinessProbe.timeoutSecondsint30
deployment.replicaCountint1initial number of target replications, can be different if autoscaling is enabled
deployment.revisionHistoryLimitint3number of old replicas to be retained
deployment.tolerationslist[]tolerations template ref: ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
deployment.updateStrategy.rollingUpdateobject{"maxSurge":1,"maxUnavailable":0}new pods will be added gradually
deployment.updateStrategy.rollingUpdate.maxSurgeint1number of pods that can be created above the desired amount while updating
deployment.updateStrategy.rollingUpdate.maxUnavailableint0number of pods that can be unavailable while updating
deployment.updateStrategy.typestring"RollingUpdate"type of the update
fullnameOverridestring""
ingress.annotationsobject{}annotations to be added to the ingress
ingress.enabledboolfalseshould there be an ingress to connect the activation service with the public internet
ingress.hostslist[]all hosts to be provided
ingress.tlslist[]configure the ingress' tls
nameOverridestring""
route.annotationsobject{}annotations to be added to the route
route.certificateobject{}see: https://github.com/FIWARE-Ops/fiware-gitops/blob/master/doc/ROUTES.md
route.enabledboolfalse
route.tlsobject{}tls configuration for the route
service.annotationsobject{}addtional annotations, if required
service.portint8080port to be used by the service
service.typestring"ClusterIP"service type
serviceAccountobject{"create":false}if a specific service account should be used, it can be configured here ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
serviceAccount.createboolfalsespecifies if the account should be created

Autogenerated from chart metadata using helm-docs v1.12.0

Deploy activation-service with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has activation-service 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 chartactivation-service is pinned at v2.3.1 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