keycloak-application-platform-config
by KvalitetsIT
Helm chartv0.0.29App 0.0.29Verified publisher
A Helm chart for deploying helm-keycloak-application-platform-config
About this chart
Service Helm Chart
Deploys a generic service
Automatic generated readme.md
The readme.md file is automatic generated from the documentation-folder using github actions.
Installing
First add KvalitetsIT Helm repo to Helm
$ helm repo add KvalitetsIT https://raw.githubusercontent.com/KvalitetsIT/helm-repo/master/
$ helm repo update
Create values.yaml file with the parameters specified
Run Helm command:
$ helm install web-service KvalitetsIT/service -f myValues.yaml --version 1.0.3
Configuration
The following table, lists the configurable parameters.
| Parameter | Description | Example |
|---|---|---|
| Basics | ||
fullnameOverride | Name of the service | |
namespace | Namespace to deploy into | |
podSecurityContext | podSecurityContext | |
podAnnotations | Annotations for the pod fx prometheus | prometheus.io/path: actuator prometheus prometheus.io/scrape: "true" |
serviceAccountName | serviceAccountName | |
imagePullSecrets | imagePullSecrets | |
image.repository | Name of the web-service image | |
image.tag | Web-service image tag | |
autoscaling.enabled | Enable autoscaling | true or false |
replicaCount | Number of replicas - Not used if autoscaling is enabled | 1, 2, 3 .. |
deploymentStrategy | Enables to set deployment strategy | Recreate |
affinity | Affinity for pod assignment. | |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: ``, soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: ``,soft or hard | soft |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match Ignored if affinity is set. | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set. | [] |
| Deployment | ||
deployment.enabled | Enables the deployment | true or false |
deployment.hostAliases | hostAliases | |
deployment.containerPort | Port on web-service | 8080 |
deployment.extraContainerPort | Extra port on deployment | Port1: 8051 |
deployment.configMapMountPaths | Set value if config map needs to mount on deployment | /config |
deplyment.extraVolumeMounts | Extra volume mounts | |
deplyment.readinessProbe | Set values under this to config readiness probe | |
deplyment.livenessProbe | Set values under this to config liveness probe | |
deplyment.commands | List of cronjob commands | - /bin/bash |
deplyment.args | List of arguments to the commands | |
| Deployment - Environment variables | ||
deployment.env | Map of environment variables | |
deployment.env.{name} | Name of the environment variables | |
deployment.env.{name}.value | Value of the environment variable | |
deployment.env.{name}.type | Optional: specify type of the environment variables if it should be read from a secret or configmap. One of fieldPath, secretKeyRef, configMapKeyRef | type: secretKeyRef |
deployment.env.{name}.fieldPath | Optional: Value of fieldPath | |
deployment.env.{name}.name | Optional: Name of the SecretKeyRef or ConfigMapKeyRef | |
deployment.env.{name}.key | Optional: Key for the SecretKeyRef or ConfigMapKeyRef | |
deployment.envFrom | Map of environment variables | |
deployment.envFrom.configMapRef | List of ConfigMaps to read environment variables -from | configMapRef: - my-configmap |
| Deployment - Volume mounts | ||
deployment.extraVolumeMounts | Extra volume mounts | |
deployment.extraVolumeMounts.{name} | Name of the extra volume mount. This must match the name of 'deployment.extraVolumes.{name}' | |
deployment.extraVolumeMounts.{name}.mountPath | Mountpath for the extra volume |
Deploy keycloak-application-platform-config with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has keycloak-application-platform-config 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkeycloak-application-platform-config is pinned at v0.0.29 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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