credentials-config-service

by FIWARE Foundation

Helm chartv2.8.1App 3.5.0

A Helm chart for running the credentials-config-service on kubernetes.

About this chart

credentials-config-service

A Helm chart for running the credentials-config-service on kubernetes.

Maintainers

NameEmailUrl
wistefan[email protected]

Source Code

Requirements

Kubernetes: >= 1.19-0

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

Values

KeyTypeDefaultDescription
additionalEnvVarslist[]a list of additional env vars to be set, check the til docu for all available options
autoscaling.apiVersionstring"v2"apiVersion of the HorizontalPodAutoscaler resource emitted by the common.hpa.tpl helper. override this to "v2".
autoscaling.enabledboolfalse
autoscaling.maxReplicasint10maximum number of running pods
autoscaling.metricslist[]metrics to react on
autoscaling.minReplicasint1minimum number of running pods
configobject{}configuration to be included in the application.yaml file
database.dialectstring"mysql"database dialect. Support mysql or postgres
database.existingSecretobject{"enabled":false,"key":"password","name":"the-secret"}existing secret to retrieve the db password
database.existingSecret.enabledboolfalseshould an existing secret be used
database.existingSecret.keystring"password"key to retrieve the password from
database.existingSecret.namestring"the-secret"name of the secret
database.hoststring"mysql"host of the database to be connected - will be ignored if persistence is disabled
database.namestring"ccs-db"name of the database-schema to be accessed - will be ignored if persistence is disabled
database.passwordstring"password"passowrd to connect the db - ignored if existing secret is configured
database.persistenceboolfalseshould the database support persistence? If disabled, a H2-InMemory-Database will be used.
database.portint3306port of the database to be connected - will be ignored if persistence is disabled
database.usernamestring"user"username to conncet the db - ignored if existing secret is configured
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.healthPortint9090port to request health information at
deployment.image.pullPolicystring"IfNotPresent"specification of the image pull policy
deployment.image.repositorystring"quay.io/fiware/credentials-config-service"til image name ref: https://quay.io/repository/fiware/credentials-config-service
deployment.image.tagstring""tag of the image to be used. If empty, AppVersion is used
deployment.livenessProbe.failureThresholdint3
deployment.livenessProbe.initialDelaySecondsint30
deployment.livenessProbe.periodSecondsint10
deployment.livenessProbe.successThresholdint1
deployment.livenessProbe.timeoutSecondsint30
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.failureThresholdint3
deployment.readinessProbe.initialDelaySecondsint31
deployment.readinessProbe.periodSecondsint10
deployment.readinessProbe.successThresholdint1
deployment.readinessProbe.timeoutSecondsint30
deployment.replicaCountint1initial number of target replications, can be different if autoscaling is enabled
deployment.resourcesobject{}
deployment.revisionHistoryLimitint3number of old replicas to be retained
deployment.startupProbe.enabledbooltrueshould the startup probe be configured
deployment.startupProbe.failureThresholdint36failures tolerated before the container is restarted. Together with periodSeconds, the time the service is given to start (3 minutes by default).
deployment.startupProbe.periodSecondsint5how often to probe, in seconds
deployment.startupProbe.timeoutSecondsint5seconds after which the probe times out
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
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 til 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
portint8080port that the til container uses
prometheus.enabledbooltrueshould prometheus scrape be enabled
prometheus.pathstring"/prometheus"path for prometheus scrape
prometheus.portint9090port prometheus scrape is available at
registration.backoffLimitint10how often should the job be executed before failing
registration.enabledboolfalseshould automatic registration be enabled
registration.prepScriptstringniloptional prepariation script
registration.servicesstringnilconfiguration of the services (and scopes) to be registred
route.annotationsobject{}annotations to be added to the route
route.certificateobject{}
route.enabledboolfalse
route.tlsobject{}tls configuration for the route
service.annotationsobject{}additional annotations, if required
service.portint8080port to be used by the service
service.typestring"ClusterIP"service type
serviceAccountobject{"create":false}if a til 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.14.2

Deploy credentials-config-service with OpenTenant

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