fdsc-edc

by FIWARE Foundation

Helm chartv0.7.11App 2.1.1

A Helm chart for running the fdsc-edc on kubernetes.

About this chart

fdsc-edc

A Helm chart for running the fdsc-edc on kubernetes.

Maintainers

NameEmailUrl
wistefan[email protected]

Source Code

Requirements

RepositoryNameVersion
https://fiware.github.io/helm-chartscommon0.1.2

Values

KeyTypeDefaultDescription
common.autoscaling.enabledboolfalse
common.config.dcp.enabledboolfalse
common.config.dcp.scopes.catalogstringnil
common.config.dcp.scopes.negotiationstringnil
common.config.dcp.scopes.transferstringnil
common.config.dcp.scopes.versionstringnil
common.config.ebsiTir.enabledboolfalse
common.config.ebsiTir.tilAddressstringnil
common.config.edc.jsonldobject{"http":{"enabled":"trusted"},"https":{"enabled":true}}handling of edc internal json-ld resolution
common.config.edc.log.levelstring"DEBUG"
common.config.edc.participant.idstringnil
common.config.fdscTransferobject{"apisix":{"address":null,"httpsProxy":null,"token":null},"dcp":{"enabled":false,"oid":{"host":null,"jwksPath":"/.well-known/jwks","openIdPath":"/.well-known/openid-configuration"}},"enabled":true,"oid4vc":{"credentialsConfigAddress":null,"enabled":false,"odrlPapHost":"http://odrl-pap:8080","opaHost":"http://localhost:8181","verifierHost":null,"verifierInternalHost":null},"transferHost":null,"transferProtocol":"https"}configuration of the transfer process extension
common.config.fdscTransfer.apisixobject{"address":null,"httpsProxy":null,"token":null}configuration of the apisix to be confiugured for serving the process
common.config.fdscTransfer.apisix.addressstringniladdress of the management api of apisix
common.config.fdscTransfer.apisix.httpsProxystringnilin case the route should use a proxy, configure it here
common.config.fdscTransfer.apisix.tokenstringniltoken to be used as an API-Key at the mangement api
common.config.fdscTransfer.dcpobject{"enabled":false,"oid":{"host":null,"jwksPath":"/.well-known/jwks","openIdPath":"/.well-known/openid-configuration"}}configuration to be used in case provisioning of DCP secured resources is supported
common.config.fdscTransfer.dcp.enabledboolfalseshould it be enabled
common.config.fdscTransfer.dcp.oidobject{"host":null,"jwksPath":"/.well-known/jwks","openIdPath":"/.well-known/openid-configuration"}address of the dsp-jwks endpoint
common.config.fdscTransfer.dcp.oid.hoststringnilHost of the controlplane accessible from the jwt-verifier(e.g. apisix)
common.config.fdscTransfer.dcp.oid.jwksPathstring"/.well-known/jwks"path to the jwks-endpoint
common.config.fdscTransfer.dcp.oid.openIdPathstring"/.well-known/openid-configuration"path to the openid-configuration
common.config.fdscTransfer.enabledbooltrueshould it be enabled
common.config.fdscTransfer.oid4vcobject{"credentialsConfigAddress":null,"enabled":false,"odrlPapHost":"http://odrl-pap:8080","opaHost":"http://localhost:8181","verifierHost":null,"verifierInternalHost":null}configuration to be used in case provisioning of OID4VC secured resources is supported
common.config.fdscTransfer.oid4vc.credentialsConfigAddressstringniladdress of the credentials config service to be used
common.config.fdscTransfer.oid4vc.enabledboolfalseshould OID4VC provisioning be enabled
common.config.fdscTransfer.oid4vc.odrlPapHoststring"http://odrl-pap:8080"host of the ODRL-PAP to register the policies
common.config.fdscTransfer.oid4vc.opaHoststring"http://localhost:8181"internal address of the open policy agent - to be used as PDP on the incoming routes
common.config.fdscTransfer.oid4vc.verifierHoststringnilexternal host of the verifier to be used for OID4VP on transfers
common.config.fdscTransfer.oid4vc.verifierInternalHoststringnilinternal host of the verifier to be used for OID4VP on transfers, the external one can also be reused here
common.config.fdscTransfer.transferHoststringnilhost to be used for offering the transfer processes
common.config.fdscTransfer.transferProtocolstring"https"protocol to be used for offering the transfer processes
common.config.oauthobject{"clientId":null,"secretAlias":null,"tokenUrl":null}configuration of the oauht integration with the identity-services
common.config.oauth.clientIdstringnilclient id to be used
common.config.oauth.secretAliasstringnilalias of the secret used to access the token service
common.config.oauth.tokenUrlstringniladdress of the token service
common.config.odrlPap.policy.additionalContextslist[]
common.config.odrlPap.policy.additionalContextsPathstring"/etc/edc/additional-contexts.json"
common.config.odrlPap.policy.enabledboolfalse
common.config.odrlPap.policy.hoststringnil
common.config.odrlPap.policy.scopeMappingsobject{}
common.config.odrlPap.policy.scopeMappingsPathstring"/etc/edc/scope-mappings.json"
common.config.oid4vpobject{"clientId":"dsp","credentialsFolder":null,"enabled":false,"holder":{"id":null,"key":{"path":null,"type":"EC"},"kid":null,"signatureAlgorithm":"ECDH-ES"},"organizationClaim":"verifiableCredential.issuer","proxy":{"enabled":false,"host":null,"port":null},"scope":"openid","trustAll":false,"trustAnchorsFolder":null}configuration for the OID4VP extension
common.config.oid4vp.clientIdstring"dsp"client id to be used for OID4VP
common.config.oid4vp.credentialsFolderstringnilfolder of the credentials to be used for authentication
common.config.oid4vp.enabledboolfalseshould the extension be enabled
common.config.oid4vp.holderobject{"id":null,"key":{"path":null,"type":"EC"},"kid":null,"signatureAlgorithm":"ECDH-ES"}identification of the credentials holder
common.config.oid4vp.holder.idstringnilid of the holder
common.config.oid4vp.holder.keyobject{"path":null,"type":"EC"}key to be used for signing the presentations
common.config.oid4vp.holder.key.pathstringnilpath to the key
common.config.oid4vp.holder.key.typestring"EC"type of the key
common.config.oid4vp.holder.kidstringnilkid to be used for signing, often the same as id
common.config.oid4vp.holder.signatureAlgorithmstring"ECDH-ES"algorithm to be used for signing the verifiable presentations
common.config.oid4vp.organizationClaimstring"verifiableCredential.issuer"claim used inside the jwts for identifying the organization
common.config.oid4vp.proxyobject{"enabled":false,"host":null,"port":null}configuration of the proxy to be used for OID4VP authentication
common.config.oid4vp.proxy.enabledboolfalseshould a proxy be used at all
common.config.oid4vp.proxy.hoststringnilhost of the proxy
common.config.oid4vp.scopestring"openid"scope to be used
common.config.oid4vp.trustAllboolfalsetrust all certificates presented at https. DO NOT USE IN PRODUCTION
common.config.oid4vp.trustAnchorsFolderstringniladditional trust-anchors to be used for client identification(e.g. the verifier)
common.config.testExtensionobject{"controller":{"enabled":false,"path":"/tck","port":8687},"enabled":false,"identity":{"enabled":false}}configuration of the test-extension. Only relevant for running conformance tests
common.config.testExtension.controllerobject{"enabled":false,"path":"/tck","port":8687}configuration of the test controller
common.config.testExtension.controller.enabledboolfalseshould the controller providing additional test endpoints be enabled
common.config.testExtension.controller.pathstring"/tck"path that the test endpoints are available at
common.config.testExtension.controller.portint8687port that the test endpoints are available at
common.config.testExtension.enabledboolfalseshould it be enabled
common.config.testExtension.identityobject{"enabled":false}configuration of the test(e.g. no-op) identity service
common.config.testExtension.identity.enabledboolfalseshould it be enabled
common.config.tmfExtensionobject{"agreementApi":null,"catalog":{"enabled":true},"enabled":true,"partyCatalogApi":null,"productCatalogApi":null,"productInventoryApi":null,"productOrderApi":null,"quoteApi":null,"usageManagementApi":null}configuration of the TMForum extension
common.config.tmfExtension.agreementApistringniladdress of the agreement api to be used
common.config.tmfExtension.catalogobject{"enabled":true}should the tmforum extension for the catalog endpoint be enable
common.config.tmfExtension.enabledbooltrueshould the extension be enabled
common.config.tmfExtension.partyCatalogApistringniladdress of the party catalog api to be used
common.config.tmfExtension.productCatalogApistringniladdress of the product catalog api to be used
common.config.tmfExtension.productInventoryApistringniladdress of the product inventory api to be used
common.config.tmfExtension.productOrderApistringniladdress of the product ordering api to be used
common.config.tmfExtension.quoteApistringniladdress of the quote api to be used
common.config.tmfExtension.usageManagementApistringniladdress of the usage management api to be used
common.config.vault.hashicorp.enabledboolfalse
common.config.vault.hashicorp.existingSecretstring""name of a Secret holding the vault token. Takes precedence over token: the property is then omitted from the ConfigMap rather than left empty, which EDC would resolve as an empty token instead of falling through to the environment variable.
common.config.vault.hashicorp.existingSecretTokenKeystring"token"key within that Secret holding the token
common.config.vault.hashicorp.healthCheck.enabledbooltrue
common.config.vault.hashicorp.healthCheck.standbyOkbooltrue
common.config.vault.hashicorp.paths.healthstring"/v1/sys/health"
common.config.vault.hashicorp.paths.secretstring"/v1/secret"
common.config.vault.hashicorp.timeoutstringnil
common.config.vault.hashicorp.tokenstringniltoken to be used when accessing vault. Rendered into the ConfigMap, so anyone who can read ConfigMaps in the namespace can read it: acceptable for a dev deployment with a dev-mode vault, not for production. Use existingSecret instead, which injects it as an environment variable and keeps it out of the ConfigMap entirely.
common.config.vault.hashicorp.urlstringnil
common.config.web.http.catalog.pathstring"/api/catalog"
common.config.web.http.catalog.portint8083
common.config.web.http.control.pathstring"/api/control"
common.config.web.http.control.portint8082
common.config.web.http.management.pathstring"/api/v1/management"
common.config.web.http.management.portint8085
common.config.web.http.portint8081
common.config.web.http.protocol.pathstring"/api/dsp"
common.config.web.http.protocol.portint8080
common.config.web.http.version.pathstring"/api/version"
common.config.web.http.version.portint8084
common.deployment.additionalAnnotationsobject{}additional annotations for the deployment, if required
common.deployment.additionalEnvVarslist[]a list of additional env vars to be set on the container
common.deployment.additionalLabelsobject{}additional labels for the deployment, if required
common.deployment.additionalVolumeMountslist[]additional volume
common.deployment.additionalVolumeslist[]additional volumes to be added for the containers
common.deployment.affinityobject{}affinity template ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
common.deployment.argslist[]arguments to be set for the container
common.deployment.commandlist[]command to be used for starting the container
common.deployment.image.pullPolicystring"Always"specification of the image pull policy
common.deployment.image.repositorystring"quay.io/seamware/fdsc-edc-controlplane-oid4vc"image name
common.deployment.imagePullSecretslist[]secrets for pulling images from a private repository ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
common.deployment.livenessProbe.failureThresholdint3
common.deployment.livenessProbe.initialDelaySecondsint30
common.deployment.livenessProbe.periodSecondsint10
common.deployment.livenessProbe.successThresholdint1
common.deployment.livenessProbe.timeoutSecondsint30
common.deployment.nodeSelectorobject{}selector template ref: https://kubernetes.io/docs/user-guide/node-selection/
common.deploy

Deploy fdsc-edc with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has fdsc-edc 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 chartfdsc-edc is pinned at v0.7.11 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