appswitcher-server

by it@M

Helm chartv2.0.5App 1.4.1Verified publisher

Server component for a Google-like app switching experience.

About this chart

appswitcher-server

Introduction

This chart bootstraps a appswitcher-server deployment on a Kubernetes cluster using the Helm package manager.

Installing the Chart

Install this chart using:

helm install my-appswitcher-release it-at-m/appswitcher-server --values values.yaml

The command deploys appswitcher-server on the Kubernetes cluster with some default configuration. The Configuration section lists the parameters that can be configured during via values.yaml.

Configuration

KeyTypeDefaultDescription
activeSpringProfilesstring""List of active spring profiles (include keycloak to activate Keycloak integration)
applicationsobject{}Map of your custom applications. See values.yaml for an example.
keycloak.issuerUristring""Issuer uri (e.g. https://keycloak.mycompany.org/auth/realms/myrealm)
keycloak.jwkSetUristring""JWK set uri (e.g. https://keycloak.mycompany.org/auth/realms/myrealm/protocol/openid-connect/certs)
keycloak.scopesstring"openid,roles"Comma-seperated list of requested scopes (e.g. openid,roles).
keycloak.ssoSessionMaxstring"36000"Maximum time in seconds before your Keycloak expires the sso sessions (e.g. '36000' for 10 hours).
credentials.existingSecretstring""secret containing keys (CLIENT_ID, CLIENT_SECRET) for Keycloak integration. If specified, this Secret will be used and no Secret will be generated.
credentials.clientIdstring""Client ID for Keycloak integration
credentials.clientSecretstring""Client Secret for Keycloak integration
existingConfigMapstring""config map with key application.yml containing a Spring Boot application.yml. If specified, this ConfigMap will be used for Spring Boot configuration and no ConfigMap will be generated.
image.imagePullSecretslist[]Image pull secrets specification
replicaCountint1Replica count
resourcesobject{}Pod resource definition
image.pullPolicystring"IfNotPresent"Image pull policy
image.repositorystring"itatm/appswitcher-server"Image to use for deploying
image.tagstring""Image tag. If not specified defaults to appVersion of the chart.
ingress.extraLabelsobject{}Extra labels for the ingress
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalseEnable ingress
ingress.hostslist[]
ingress.tlslist[]
nameOverridestring""Override chart name
podSecurityContextobject""Security Context
service.annotationsobject{}Service annotations
service.portint8080Service port
service.typestring"ClusterIP"Service type
serviceAccount.annotationsobject{}Service account annotations
serviceAccount.createboolfalseCreate service account
serviceAccount.namestring""Service account name
extraEnvVarslist[]Extra environment variables
extraVolumeslist[]Extra volumes
extraVolumeMountslist[]Extra volumeMounts for the pods
initContainerslist[]Extra initContainers for the pods
routesobject{}OpenShift Route definitions (see default values.yaml for examples)

Changelog

2.0.0

Route definition

Breaking change: route was replaced by routes (object). Example:

routes:
  main:
    host: example.com
    to:
      kind: Service
      name: my-svc

Deploy appswitcher-server with OpenTenant

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