api-umbrella

by FIWARE Foundation

Helm chartv0.2.0App v0.18.0

A Helm chart for running api-umbrella on kubernetes.

About this chart

api-umbrella

A Helm chart for running api-umbrella on kubernetes.

Homepage: https://api-umbrella.readthedocs.io/en/latest/index.html

Maintainers

NameEmailUrl
wistefan[email protected]

Source Code

Values

KeyTypeDefaultDescription
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.imageobject{"pullPolicy":"IfNotPresent","repository":"fiware/api-umbrella","tag":"0.18.0"}configuration of the image to be used
deployment.image.pullPolicystring"IfNotPresent"specification of the image pull policy
deployment.image.tagstring"0.18.0"tag of the image to be used
deployment.livenessProbeobject{"initialDelaySeconds":30,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":30}liveness and readiness probes of the orion broker, they will be evaluated against the version endpoint ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
deployment.nodeSelectorobject{}selector template ref: https://kubernetes.io/docs/user-guide/node-selection/
deployment.priorityClassNamestring""priority class to be assigned to the pods ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
deployment.readinessProbe.initialDelaySecondsint30
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.topologySpreadConstraintslist[]topology spread constraints template ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
deployment.updateStrategyobject{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0},"type":"RollingUpdate"}configuration of the orion update strategy
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
ingress.annotationsobject{}annotations to be added to the ingress
ingress.enabledboolfalseshould there be an ingress to connect orion with the public internet
ingress.hostsstringnilall hosts to be provided
ingress.tlslist[]
nameOverridestring""option to override the name config in the _helpers.tpl
route.annotationsobject{}annotations to be added to the route
route.enabledboolfalse
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
serviceAccount.createboolfalsespecifies if the account should be created, be aware that the chart needs to run as root and sets the corresponding security context
umbrella.configobject{}configuration of the umbrella. See https://github.com/Profirator/api-umbrella/tree/master/config and https://api-umbrella.readthedocs.io/en/latest/ for more or use the out-commented part as a sane default
umbrella.jwsobject{}JWS configuration Provide information for signing and validating JWT when iSHARE-compliant authorization modes are used
umbrella.mongodb.hoststring"mongodb"host of the mongodb
umbrella.mongodb.namestring"api_umbrella"name of the database, needs to exist on startup
umbrella.mongodb.passwordstring"pass"password to authenticate with, if not set, we will create it
umbrella.mongodb.portint27017port of the mongodb
umbrella.mongodb.usernamestring"umbrella"username to authenticate with. If the user does not exist, admin config is required and a user will be created
umbrella.satelliteobject{}iSHARE Satellite Config for satellite - required if no root CA is provided in jws config
umbrella.serviceslist["router","web"]list services that should be run by api-umbrella. See https://github.com/Profirator/api-umbrella/tree/master/config and https://api-umbrella.readthedocs.io/en/latest/ for more
umbrella.webHoststring"umbrella.fiware.dev"configure the host of the frontend here

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy api-umbrella with OpenTenant

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