pdc-portal

by i4Trust

Helm chartv2.3.2App 2.0.0Verified publisher

A Helm chart for running the Packet Delivery Portal application on kubernetes.

About this chart

pdc-portal

A Helm chart for running the Packet Delivery Portal application on kubernetes.

Homepage: https://github.com/i4trust/pdc-portal

Maintainers

NameEmailUrl
dwendland[email protected]

Source Code

Values

KeyTypeDefaultDescription
autoscaling.enabledboolfalseshould autoscaling be enabled for the activation service
autoscaling.maxReplicasint10maximum number of running pods
autoscaling.metricslist[]metrics to react on
autoscaling.minReplicasint1minimum number of running pods
ccs.defaultOidcScopestring"defaultOidcScope"Default scope to be used from scopes below, if none is provided
ccs.idstring"pdc"Id of the service
config.cb.endpointstring"https://localhost/ngsi-ld/v1"Endpoint of (API-Umbrella protected) NGSI-LD API
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.express.portint7000Port (Internal port of the express web server)
config.external.hoststring"http://localhost"Host (Hostname for external access)
config.idp[0].authorize_endpointstring"https://idp.happypets.com/authorize"
config.idp[0].idstring"EU.EORI.NLHAPPYPETS"
config.idp[0].namestring"Happy Pets Inc."
config.idp[0].token_endpointstring"https://idp.happypets.com/token"
config.idp[0].urlstring"https://idp.happypets.com"
config.idp[1].authorize_endpointstring"https://idp.nocheaper.com/authorize"
config.idp[1].idstring"EU.EORI.NLNOCHEAPER"
config.idp[1].namestring"No Cheaper Inc."
config.idp[1].token_endpointstring"https://idp.nocheaper.com/token"
config.idp[1].urlstring"https://idp.nocheaper.com"
config.oidc.acrstring"urn:http://eidas.europa.eu/LoA/NotNotified/high"ACR values
config.oidc.redirect_pathstring"/openid_connect1.0/return"Path for OIDC redirect callback
config.titlestring"Packet Delivery Portal"Title of application
debug.enabledboolfalse
debug.outputstring"portal:*"
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/pdc-portal"image name ref: https://hub.docker.com/r/i4trust/pdc-portal
deployment.image.tagstring"2.0.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""option to override the fullname config in the _helpers.tpl for the whole chart
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""option to override the name config in the _helpers.tpl for the whole chart
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.enabledboolfalseshould the deployment create openshift routes
route.tlsobject{}tls configuration for the route
service.annotationsobject{}addtional annotations, if required
service.portint80port 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 pdc-portal with OpenTenant

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