vcverifier

by FIWARE Foundation

Helm chartv4.17.2App 6.31.1

A Helm chart for running the FIWARE VCVerifier.

About this chart

vcverifier

A Helm chart for running the FIWARE VCVerifier.

Homepage: https://github.com/fiware/vcverifier

Maintainers

NameEmailUrl
wistefan[email protected]

Source Code

Requirements

Kubernetes: >= 1.19-0

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

Values

KeyTypeDefaultDescription
configIngress.annotationsobject{}annotations to be added to the ingress
configIngress.enabledboolfalseshould there be an ingress to connect the config verifier with the public internet
configIngress.hostslist[]all hosts to be provided
configIngress.tlslist[]configure the ingress' tls
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.configRepoobject{"configEndpoint":"http://credentials-config:8080/"}config repo configuration
deployment.configServerobject{"enabled":false,"idleTimeout":120,"port":8090,"readTimeout":5,"shutdownTimeout":5,"writeTimeout":10}ConfigServer holds the configuration for the second HTTP server that serves the Credentials Config Service (CCS) REST API.
deployment.configServer.enabledboolfalseWhether the config server is enabled
deployment.configServer.idleTimeoutint120IdleTimeout is the maximum amount of time to wait for the next request (seconds)
deployment.configServer.portint8090Port to bind the config server
deployment.configServer.readTimeoutint5ReadTimeout is the maximum duration for reading the entire request (seconds)
deployment.configServer.shutdownTimeoutint5ShutdownTimeout is the time allowed for active requests to finish during shutdown (seconds)
deployment.configServer.writeTimeoutint10WriteTimeout is the maximum duration before timing out writes of the response (seconds)
deployment.database.existingSecret.namestring""
deployment.database.existingSecret.passwordKeystring""
deployment.database.existingSecret.usernameKeystring""
deployment.database.hoststring""
deployment.database.namestring""
deployment.database.portint5432
deployment.database.sslModestring"disable"
deployment.database.typestring"postgres"
deployment.database.userstring""
deployment.eidasobject{"allowStaleTrustLists":false,"countries":null,"enabled":false,"fetchTimeout":30,"lotlUrl":null,"maxWorkers":5,"refreshInterval":86400,"revocationCacheExpiry":3600,"revocationCheck":"soft","revocationTimeout":10,"statusEvaluation":"current"}eidas2.0 related configuration
deployment.eidas.allowStaleTrustListsboolfalseAccept lists past their NextUpdate.
deployment.eidas.countriesstringnilISO 3166-1 alpha-2 country filter for the national lists to be included. If empty, all countries are included.
deployment.eidas.enabledboolfalseshould eidas 2.0 compliant verification be enabled
deployment.eidas.fetchTimeoutint30HTTP timeout per trust list fetch, in seconds.
deployment.eidas.lotlUrlstringnilURL of the List of Trusted Lists. Defaults to the official EU LOTL
deployment.eidas.maxWorkersint5Concurrent national list fetches
deployment.eidas.refreshIntervalint86400Seconds between background refreshes of the lotl
deployment.eidas.revocationCacheExpiryint3600Cache lifetime of a determined status, in seconds.
deployment.eidas.revocationCheckstring"soft"selects how certificate revocation (OCSP/CRL) is handled during chain validation. Can be "soft", "hard" or "off"
deployment.eidas.revocationTimeoutint10HTTP timeout per OCSP/CRL request, in seconds.
deployment.eidas.statusEvaluationstring"current"StatusEvaluation selects the point in time at which a trust service's status is evaluated. Either current or issuance.
deployment.image.pullPolicystring"IfNotPresent"specification of the image pull policy
deployment.image.repositorystring"quay.io/fiware/vcverifier"image name
deployment.image.tagstring""tag of the image to be used
deployment.livenessProbe.failureThresholdint3
deployment.livenessProbe.initialDelaySecondsint3
deployment.livenessProbe.periodSecondsint10
deployment.livenessProbe.successThresholdint1
deployment.livenessProbe.timeoutSecondsint30
deployment.loggingobject{"jsonLogging":true,"level":"WARN","logRequests":true,"pathsToSkip":["/metrics","/health"]}logging configuration
deployment.logging.jsonLoggingbooltrueshould the log be in structured json
deployment.logging.levelstring"WARN"the log level, can be DEBUG, INFO, WARN, ERROR
deployment.logging.logRequestsbooltrueshould requests be logged
deployment.logging.pathsToSkiplist["/metrics","/health"]list of paths to be excluded from the request logging
deployment.m2mobject{"authEnabled":false,"clientId":null,"credentialPath":null,"keyPath":null,"keyType":"RSAPS256","signatureType":null,"verificationMethod":null}m2m related config
deployment.m2m.authEnabledboolfalseshould authentication be enabled for m2m interaction
deployment.m2m.clientIdstringnilid of the verifier when retrieving tokens
deployment.m2m.credentialPathstringnilpath to the credential to be used for authentication
deployment.m2m.keyPathstringnilpath to the private key to be used(in pem format)
deployment.m2m.keyTypestring"RSAPS256"type of the provided key
deployment.m2m.signatureTypestringnilsignature type to be used for the proof
deployment.m2m.verificationMethodstringnilverification method to be provided for the proof
deployment.nodeSelectorobject{}selector template ref: https://kubernetes.io/docs/user-guide/node-selection/
deployment.portint3000port to run the container at
deployment.priorityClassNamestring""priority class to be assigned to the pods ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
deployment.readinessProbe.failureThresholdint3
deployment.readinessProbe.initialDelaySecondsint4
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.serverobject{"host":"my-verifier.org","metricsPort":null,"port":3000,"staticDir":"views/static","templateDir":"views/"}configuration for server
deployment.server.hoststring"my-verifier.org"host of the verifier
deployment.server.metricsPortstringnilport to serve /metrics on; empty means the same as port. A different port serves /metrics, and a copy of /health, on its own, and the main port no longer answers /metrics: it is added to the container and the Service as metrics, not to the Ingress. A separate port requires VCVerifier 6.27.0 or later.
deployment.server.portint3000port to bind the server to
deployment.server.staticDirstring"views/static"directory to be used for static content, f.e. images referenced from the templates
deployment.server.templateDirstring"views/"directory to be used for retrieving the templates.
deployment.serverCertificatesobject{"caCert":{"bundleImage":{"bundlePath":"/etc/ssl/cert.pem","repository":"alpine","tag":"3.23.3"},"enabled":false,"key":null,"secretName":null},"clientKey":{"privateKey":null,"publicKey":null,"secretName":null},"signingKey":{"key":null,"secretName":null}}Configuration for certificates used by the verifier
deployment.serverCertificates.caCertobject{"bundleImage":{"bundlePath":"/etc/ssl/cert.pem","repository":"alpine","tag":"3.23.3"},"enabled":false,"key":null,"secretName":null}Certificate Authority bundle to add/trust for the application.
deployment.serverCertificates.caCert.bundleImageobject{"bundlePath":"/etc/ssl/cert.pem","repository":"alpine","tag":"3.23.3"}Container image used to extract base CA bundle.
deployment.serverCertificates.caCert.bundleImage.repositorystring"alpine"Image repository
deployment.serverCertificates.caCert.bundleImage.tagstring"3.23.3"Image tag to use for the bundle reader image.
deployment.serverCertificates.caCert.keystringnilKey name inside the Secret containing the CA PEM
deployment.serverCertificates.caCert.secretNamestringnilKubernetes Secret that contains the CA bundle.
deployment.serverCertificates.clientKeyobject{"privateKey":null,"publicKey":null,"secretName":null}Private key used by the verifier
deployment.serverCertificates.clientKey.privateKeystringnilkey name inside the Secret containing the private key PEM
deployment.serverCertificates.clientKey.publicKeystringnilkey name inside the Secret containing the public key PEM
deployment.serverCertificates.clientKey.secretNamestringnilName of the Kubernetes Secret that contains the client key.
deployment.serverCertificates.signingKeyobject{"key":null,"secretName":null}Private key used by the verifier to sign credentials.
deployment.serverCertificates.signingKey.keystringnilKey name inside the Secret containing the PEM
deployment.serverCertificates.signingKey.secretNamestringnilName of the Kubernetes Secret that contains the signing key.
deployment.tolerationslist[]tolerations template ref: ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
deployment.topologySpreadConstraintslist[]topology spread constraints template ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
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
deployment.verifierobject{"authorizationEndpoint":null,"clientIdentification":{"certificatePath":null,"id":null,"keyAlgorithm":null,"keyPath":null,"kid":null},"did":"did:key:myverifier","generateKey":true,"jwtExpiration":30,"keyAlgorithm":"RS256","keyPath":null,"policyConfig":{},"refreshToken":{"cleanupInterval":"60","enabled":false,"expiration":2880},"sessionExpiry":30,"supportedModes":["urlEncoded"],"tilCacheExpiry":30,"tirAddress":"http://my-tir.org","tirCacheExpiry":30,"validationMode":"none"}configuration required for the verifier functionality
deployment.verifier.authorizationEndpointstringnilpath of the authorizationEndpoint to be provided in the .well-known/openid-configuration
deployment.verifier.clientIdentificationobject{"certificatePath":null,"id":null,"keyAlgorithm":null,"keyPath":null,"kid":null}Identification to be used for the verifier.
deployment.verifier.clientIdentification.certificatePathstringniloptional path to the certifcate to embed in the jwt header
deployment.verifier.clientIdentification.idstringnilidentification used by the verifier when requesting authorization. Can be a did, but also methods like x509_san_dns
deployment.verifier.clientIdentification.keyAlgorithmstringnilalgorithm used for the request signing key
deployment.verifier.clientIdentification.keyPathstringnilpath to the did signing key(in pem format) for request object mode
deployment.verifier.clientIdentification.kidstringnilKid used when key certificate does not include it. If both are missing, id is used
deployment.verifier.didstring"did:key:myverifier"did to be used for the verifier
deployment.verifier.generateKeybooltruewhen set to true, the private key is generated on startup. Its not persisted and just kept in memory.
deployment.verifier.jwtExpirationint30expiration time in minutes for JWT tokens
deployment.verifier.keyAlgorithmstring"RS256"algorithm to be used for the jwt signatures - currently supported: RS256 and ES256
deployment.verifier.keyPathstringnilpath to the private key for jwt signatures
deployment.verifier.policyConfigobject{}policies that shall be checked
deployment.verifier.refreshToken.cleanupIntervalstring"60"purged from the database. 0 or negative disables cleanup.
deployment.verifier.refreshToken.e

Deploy vcverifier with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has vcverifier 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 chartvcverifier is pinned at v4.17.2 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