switcher-slack-app

by Switcher API

Helm chartv1.1.5App latestVerified publisher

A Switcher Slack App Helm chart for Kubernetes

About this chart

Switcher Slack App Helm Charts

Deploy Switcher Slack App using switcherapi/switcher-slack-app Helm Charts.

Usage

Follow the Switcher Slack App instructions to create a Slack App before installing this Chart.

Install Switcher Slack App

helm repo add switcherapi https://switcherapi.github.io/helm-charts
helm install switcherslackapp switcherapi/switcher-slack-app \
    --namespace=switcherapi --create-namespace \
    --set app.env.slackClientId="" \
    --set app.env.switcherManagementUrl="" \
    --set app.env.switcherAPIUrl="" \
    --set app.env.switcherJwtSecret="" \
    --set app.env.slackSigningSecret="" \
    --set app.env.slackClientSecret=""

Uninstall Switcher Slack App

helm uninstall switcherslackapp --namespace switcherapi

App parameters

NameDescriptionValue
app.image.tagSwitcher Slack App Image taglatest
app.service.portApp Service port5000
NameDescriptionValue
app.env.slackClientIdSlack Client Id``
app.env.switcherManagementUrlSwitcher Management URL for callback auth``
app.env.switcherAPIUrlSwitcher API URL``
app.env.switcherCertPathSwitcher API SSL Cert Path``
app.env.switcherJwtSecretSwitcher API JWT Secret``
app.env.slackSigningSecretSlack Signing Secret``
app.env.slackClientSecretSlack Client Secret``
app.env.sslSecretNameSSL Secret Name (TLS for Switcher API)``

Local

Validate Chart from local Values

helm install -f charts/switcher-slack-app/values.yaml switcherslackapp ./charts/switcher-slack-app/ \
    --namespace=switcherapi --create-namespace \
    --set app.env.slackClientId="[CHANGE_ME]" \
    --set app.env.switcherManagementUrl="https://cloud.switcherapi.com" \
    --set app.env.switcherAPIUrl="https://switcherapi.com/api" \
    --set app.env.switcherJwtSecret="[CHANGE_ME]" \
    --set app.env.slackSigningSecret="[CHANGE_ME]" \
    --set app.env.slackClientSecret="[CHANGE_ME]"

Deploy switcher-slack-app with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has switcher-slack-app 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 chartswitcher-slack-app is pinned at v1.1.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