appswitcher-server
by it@M
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
| Key | Type | Default | Description |
|---|---|---|---|
| activeSpringProfiles | string | "" | List of active spring profiles (include keycloak to activate Keycloak integration) |
| applications | object | {} | Map of your custom applications. See values.yaml for an example. |
| keycloak.issuerUri | string | "" | Issuer uri (e.g. https://keycloak.mycompany.org/auth/realms/myrealm) |
| keycloak.jwkSetUri | string | "" | JWK set uri (e.g. https://keycloak.mycompany.org/auth/realms/myrealm/protocol/openid-connect/certs) |
| keycloak.scopes | string | "openid,roles" | Comma-seperated list of requested scopes (e.g. openid,roles). |
| keycloak.ssoSessionMax | string | "36000" | Maximum time in seconds before your Keycloak expires the sso sessions (e.g. '36000' for 10 hours). |
| credentials.existingSecret | string | "" | secret containing keys (CLIENT_ID, CLIENT_SECRET) for Keycloak integration. If specified, this Secret will be used and no Secret will be generated. |
| credentials.clientId | string | "" | Client ID for Keycloak integration |
| credentials.clientSecret | string | "" | Client Secret for Keycloak integration |
| existingConfigMap | string | "" | 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.imagePullSecrets | list | [] | Image pull secrets specification |
| replicaCount | int | 1 | Replica count |
| resources | object | {} | Pod resource definition |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy |
| image.repository | string | "itatm/appswitcher-server" | Image to use for deploying |
| image.tag | string | "" | Image tag. If not specified defaults to appVersion of the chart. |
| ingress.extraLabels | object | {} | Extra labels for the ingress |
| ingress.annotations | object | {} | |
| ingress.className | string | "" | |
| ingress.enabled | bool | false | Enable ingress |
| ingress.hosts | list | [] | |
| ingress.tls | list | [] | |
| nameOverride | string | "" | Override chart name |
| podSecurityContext | object | "" | Security Context |
| service.annotations | object | {} | Service annotations |
| service.port | int | 8080 | Service port |
| service.type | string | "ClusterIP" | Service type |
| serviceAccount.annotations | object | {} | Service account annotations |
| serviceAccount.create | bool | false | Create service account |
| serviceAccount.name | string | "" | Service account name |
| extraEnvVars | list | [] | Extra environment variables |
| extraVolumes | list | [] | Extra volumes |
| extraVolumeMounts | list | [] | Extra volumeMounts for the pods |
| initContainers | list | [] | Extra initContainers for the pods |
| routes | object | {} | 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartappswitcher-server is pinned at v2.0.5 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