mirror of
https://github.com/aramperes/ts-activity.git
synced 2025-09-09 06:18:31 -04:00
Compare commits
6 commits
Author | SHA1 | Date | |
---|---|---|---|
7aba36c064 | |||
abfc92385a | |||
9fbbd2cd22 | |||
71ed01df58 | |||
7e93beb132 | |||
db407c0ef5 |
5 changed files with 267 additions and 57 deletions
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
|
@ -38,16 +38,3 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||||
echo "version is: ${{ env.VERSION }}"
|
echo "version is: ${{ env.VERSION }}"
|
||||||
|
|
||||||
- name: Update Helm chart version
|
|
||||||
shell: bash
|
|
||||||
run: sed -i 's/0\.0\.0/${{ env.VERSION }}/g' helm/ts-activity/Chart.yaml
|
|
||||||
|
|
||||||
- name: Build and push Helm chart
|
|
||||||
uses: goodsmileduck/helm-push-action@ec9f29cbf16a4773438b3ea98790aa5b5ca3e749
|
|
||||||
env:
|
|
||||||
SOURCE_DIR: './helm'
|
|
||||||
CHART_FOLDER: 'ts-activity'
|
|
||||||
CHARTMUSEUM_URL: 'https://charts.momoperes.ca'
|
|
||||||
CHARTMUSEUM_USER: '${{ secrets.CHARTMUSEUM_USER }}'
|
|
||||||
CHARTMUSEUM_PASSWORD: ${{ secrets.CHARTMUSEUM_PASSWORD }}
|
|
||||||
|
|
51
README.md
Normal file
51
README.md
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
# ts-activity
|
||||||
|
|
||||||
|
This program will post notifications to Discord when someone joins or leaves your TeamSpeak server.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
You will have to create ServerQuery credentials on an account that has permissions to login & view clients in the server. You can do this from the `Tools -> ServerQuery Login` menu in TeamSpeak 3.
|
||||||
|
|
||||||
|
This program is configured using environment variables:
|
||||||
|
|
||||||
|
- `TS_QUERY_ADDR`: Address to the TeamSpeak ServerQuery port. Example: `127.0.0.1:10011`
|
||||||
|
- `TS_QUERY_USER`: The username you selected for ServerQuery in the setup
|
||||||
|
- `TS_QUERY_PASS`: The password TeamSpeak generated for ServerQuery in the setup
|
||||||
|
- `TS_QUERY_SERVER_ID`: Virtual server ID to monitor. Defaults to `1`
|
||||||
|
- `TS_DISCORD_WEBHOOK`: Webhook URL for Discord. You can create this from the channel "Integrations" page
|
||||||
|
- `TS_DISCORD_AVATAR`: Optional URL for Discord bot avatar
|
||||||
|
- `TS_DISCORD_USERNAME`: Optional nickname for Discord bot
|
||||||
|
|
||||||
|
## Run it
|
||||||
|
[](https://hub.docker.com/r/aramperes/ts-activity)
|
||||||
|
|
||||||
|
To build and run locally:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
go mod download
|
||||||
|
go run .
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, using the [Docker image](https://hub.docker.com/r/aramperes/ts-activity):
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker run --rm --name ts-activity \
|
||||||
|
-e TS_DISCORD_WEBHOOK='https://discord.com/api/webhooks/...' \
|
||||||
|
-e TS_QUERY_ADDR=127.0.0.1:10011 \
|
||||||
|
-e TS_QUERY_USER=Jeff \
|
||||||
|
-e TS_QUERY_PASS=******* \
|
||||||
|
aramperes/ts-activity
|
||||||
|
```
|
||||||
|
|
||||||
|
There is also a Helm chart. You can create a `Secret` containing `username`, `password`, and `discord`, and then:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
helm upgrade --install ts-activity momoperes/ts-activity \
|
||||||
|
--set config.serverQueryAddr=teamspeak:10011 \
|
||||||
|
--set config.discordUsername=Jeff \
|
||||||
|
--set config.serverQuerySecret=ts-activity \
|
||||||
|
--set config.webhookSecret=ts-activity
|
||||||
|
```
|
244
cmd.go
244
cmd.go
|
@ -1,35 +1,115 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
"slices"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
"strings"
|
||||||
|
|
||||||
"github.com/gtuk/discordwebhook"
|
"github.com/gtuk/discordwebhook"
|
||||||
"github.com/multiplay/go-ts3"
|
"github.com/multiplay/go-ts3"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// App holds the configuration
|
||||||
|
type App struct {
|
||||||
|
discordURL string
|
||||||
|
discordUsername string
|
||||||
|
discordAvatarURL *string
|
||||||
|
tsQueryAddr string
|
||||||
|
tsQueryUser string
|
||||||
|
tsQueryPass string
|
||||||
|
tsQueryServerID int
|
||||||
|
spotLightGfxFormat string
|
||||||
|
spotLightIDMap map[string]int
|
||||||
|
}
|
||||||
|
|
||||||
|
func appFromEnv() (*App, error) {
|
||||||
|
discordURL := os.Getenv("TS_DISCORD_WEBHOOK")
|
||||||
|
if discordURL == "" {
|
||||||
|
return nil, errors.New("must configure: TS_DISCORD_WEBHOOK")
|
||||||
|
}
|
||||||
|
discordUsername := os.Getenv("TS_DISCORD_USERNAME")
|
||||||
|
if discordUsername == "" {
|
||||||
|
discordUsername = "TeamSpeak"
|
||||||
|
}
|
||||||
|
|
||||||
|
var discordAvatarURL *string = nil
|
||||||
|
if val, ok := os.LookupEnv("TS_DISCORD_AVATAR"); ok {
|
||||||
|
discordAvatarURL = &val
|
||||||
|
}
|
||||||
|
|
||||||
|
tsQueryAddr := os.Getenv("TS_QUERY_ADDR")
|
||||||
|
if tsQueryAddr == "" {
|
||||||
|
return nil, errors.New("must configure: TS_QUERY_ADDR")
|
||||||
|
}
|
||||||
|
tsQueryUser := os.Getenv("TS_QUERY_USER")
|
||||||
|
if tsQueryUser == "" {
|
||||||
|
return nil, errors.New("must configure: TS_QUERY_USER")
|
||||||
|
}
|
||||||
|
tsQueryPass := os.Getenv("TS_QUERY_PASS")
|
||||||
|
if tsQueryPass == "" {
|
||||||
|
return nil, errors.New("must configure: TS_QUERY_PASS")
|
||||||
|
}
|
||||||
|
tsQueryServerID := 1
|
||||||
|
if val, ok := os.LookupEnv("TS_QUERY_SERVER_ID"); ok {
|
||||||
|
val, err := strconv.Atoi(val)
|
||||||
|
if err == nil {
|
||||||
|
tsQueryServerID = val
|
||||||
|
} else {
|
||||||
|
return nil, errors.New("invalid TS_QUERY_SERVER_ID, must be int")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
spotLightGfxFormat := os.Getenv("TS_SPOTLIGHT_GFX_FMT")
|
||||||
|
|
||||||
|
// TODO: Load from environment variable
|
||||||
|
spotLightIDMap := make(map[string]int)
|
||||||
|
spotLightIDMap["rb+mT/4bh37gHzQYqTgBiEHG2IA="] = 0
|
||||||
|
spotLightIDMap["sA3fHhvqmlSuFYtMoVYseRQI2DE="] = 0
|
||||||
|
spotLightIDMap["9K6JV7kWaRU+4HFRkXrBZNjSmRA="] = 1
|
||||||
|
spotLightIDMap["pFclzBx0w2UmwPd91VvaXJjYCYA="] = 2
|
||||||
|
spotLightIDMap["tvjlpKqvcyQSCCVkT0TJ28uwdaQ="] = 3
|
||||||
|
spotLightIDMap["SLLvtjVBmSoIzpMhlxnLa9CWoOU="] = 4
|
||||||
|
spotLightIDMap["7EU/Up++D9+8SQk0sNchEuKPufw="] = 5
|
||||||
|
spotLightIDMap["SyldxnLYWHJOUj3HnEsXGF6B0T4="] = 5
|
||||||
|
spotLightIDMap["Mc/TdoNhddKdGtB55DSZrYk3NWc="] = 6
|
||||||
|
spotLightIDMap["xOWMWG/TpkbV8XjahqqoQLsHHpA="] = 7
|
||||||
|
spotLightIDMap["G4kg1LKJElM5LIpoeA6gN7DMl0c="] = 7
|
||||||
|
spotLightIDMap["wuQ907NtzqL4uxhLk3P/TCpkXF0="] = 8
|
||||||
|
|
||||||
|
return &App{
|
||||||
|
discordURL: discordURL,
|
||||||
|
discordUsername: discordUsername,
|
||||||
|
discordAvatarURL: discordAvatarURL,
|
||||||
|
tsQueryAddr: tsQueryAddr,
|
||||||
|
tsQueryUser: tsQueryUser,
|
||||||
|
tsQueryPass: tsQueryPass,
|
||||||
|
tsQueryServerID: tsQueryServerID,
|
||||||
|
spotLightGfxFormat: spotLightGfxFormat,
|
||||||
|
spotLightIDMap: spotLightIDMap,
|
||||||
|
}, nil
|
||||||
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
discord := os.Getenv("TS_DISCORD_WEBHOOK")
|
app, err := appFromEnv()
|
||||||
if discord == "" {
|
if err != nil {
|
||||||
log.Fatal("Must configure: TS_DISCORD_WEBHOOK")
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Connect and login
|
// Connect and login
|
||||||
c, err := ts3.NewClient(os.Getenv("TS_QUERY_ADDR"))
|
c, err := ts3.NewClient(app.tsQueryAddr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
defer c.Close()
|
defer c.Close()
|
||||||
|
|
||||||
user := os.Getenv("TS_QUERY_USER")
|
if err := c.Login(app.tsQueryUser, app.tsQueryPass); err != nil {
|
||||||
pass := os.Getenv("TS_QUERY_PASS")
|
|
||||||
if err := c.Login(user, pass); err != nil {
|
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := c.Use(1); err != nil {
|
if err := c.Use(app.tsQueryServerID); err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,6 +131,8 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
clientMap := make(map[string]string)
|
clientMap := make(map[string]string)
|
||||||
|
clientDatabaseIDs := make(map[string]string)
|
||||||
|
clientUniqueIDs := make(map[string]string)
|
||||||
|
|
||||||
log.Println("Online clients:")
|
log.Println("Online clients:")
|
||||||
for _, client := range cl {
|
for _, client := range cl {
|
||||||
|
@ -59,87 +141,165 @@ func main() {
|
||||||
}
|
}
|
||||||
log.Println("-", client)
|
log.Println("-", client)
|
||||||
clientMap[strconv.Itoa(client.ID)] = client.Nickname
|
clientMap[strconv.Itoa(client.ID)] = client.Nickname
|
||||||
|
clientDatabaseIDs[strconv.Itoa(client.ID)] = strconv.Itoa(client.DatabaseID)
|
||||||
|
|
||||||
|
uid, err := getClientUniqueId(c, strconv.Itoa(client.DatabaseID))
|
||||||
|
if err != nil {
|
||||||
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clientUniqueIDs[strconv.Itoa(client.ID)] = uid
|
||||||
|
log.Println(" - UID:", uid)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update the banner on startup with the currently online users.
|
||||||
|
app.updateSpotLight(c, mapValues(clientUniqueIDs))
|
||||||
|
|
||||||
// Listen for client updates
|
// Listen for client updates
|
||||||
notifs := c.Notifications()
|
notifs := c.Notifications()
|
||||||
|
|
||||||
for {
|
for {
|
||||||
event := <-notifs
|
event := <-notifs
|
||||||
log.Println("=>", event)
|
|
||||||
|
|
||||||
if event.Type == "cliententerview" {
|
if event.Type == "cliententerview" {
|
||||||
if event.Data["client_type"] != "0" {
|
if event.Data["client_type"] != "0" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
clientId, ok := event.Data["clid"]
|
clientID, ok := event.Data["clid"]
|
||||||
if !ok {
|
if !ok {
|
||||||
log.Println("User has no client id", event.Data)
|
log.Println("User has no client id", event.Data)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clientDBID, ok := event.Data["client_database_id"]
|
||||||
|
if !ok {
|
||||||
|
log.Println("User has no client database id", event.Data)
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
clientNick, ok := event.Data["client_nickname"]
|
clientNick, ok := event.Data["client_nickname"]
|
||||||
if !ok {
|
if !ok {
|
||||||
log.Println("User has no nickname:", clientId)
|
log.Println("User has no nickname:", clientID)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
_, previous := clientMap[clientId]
|
_, previous := clientMap[clientID]
|
||||||
clientMap[clientId] = clientNick
|
clientMap[clientID] = clientNick
|
||||||
|
|
||||||
if !previous {
|
if !previous {
|
||||||
ClientConnected(discord, clientNick)
|
app.clientConnected(clientNick)
|
||||||
|
|
||||||
|
clientDatabaseIDs[clientID] = clientDBID
|
||||||
|
uid, err := getClientUniqueId(c, clientDBID)
|
||||||
|
if err != nil {
|
||||||
|
log.Fatal(err)
|
||||||
|
}
|
||||||
|
|
||||||
|
clientUniqueIDs[clientID] = uid
|
||||||
|
|
||||||
|
app.updateSpotLight(c, mapValues(clientUniqueIDs))
|
||||||
}
|
}
|
||||||
} else if event.Type == "clientleftview" {
|
} else if event.Type == "clientleftview" {
|
||||||
clientId, ok := event.Data["clid"]
|
clientID, ok := event.Data["clid"]
|
||||||
if !ok {
|
if !ok {
|
||||||
log.Println("User has no client id", event.Data)
|
log.Println("User has no client id", event.Data)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
clientNick, ok := clientMap[clientId]
|
clientNick, ok := clientMap[clientID]
|
||||||
if !ok {
|
if !ok {
|
||||||
log.Println("Unknown user left:", clientId)
|
log.Println("Unknown user left:", clientID)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
delete(clientMap, clientId)
|
delete(clientMap, clientID)
|
||||||
ClientDisconnected(discord, clientNick)
|
delete(clientDatabaseIDs, clientID)
|
||||||
|
delete(clientUniqueIDs, clientID)
|
||||||
|
app.updateSpotLight(c, mapValues(clientUniqueIDs))
|
||||||
|
app.clientDisconnected(clientNick)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func ClientConnected(discord string, nick string) {
|
func (app *App) sendWebhook(content string) {
|
||||||
bot := os.Getenv("TS_DISCORD_USERNAME")
|
message := discordwebhook.Message{
|
||||||
if bot == "" {
|
Username: &app.discordUsername,
|
||||||
bot = "Jeff"
|
Content: &content,
|
||||||
|
AvatarUrl: app.discordAvatarURL,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if err := discordwebhook.SendMessage(app.discordURL, message); err != nil {
|
||||||
|
log.Println("Failed to log Discord message:", err)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (app *App) clientConnected(nick string) {
|
||||||
content := fmt.Sprintf("Client connected: %s", nick)
|
content := fmt.Sprintf("Client connected: %s", nick)
|
||||||
message := discordwebhook.Message{
|
app.sendWebhook(content)
|
||||||
Username: &bot,
|
|
||||||
Content: &content,
|
|
||||||
}
|
|
||||||
|
|
||||||
if err := discordwebhook.SendMessage(discord, message); err != nil {
|
|
||||||
log.Println("Failed to log Discord message:", err)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func ClientDisconnected(discord string, nick string) {
|
func (app *App) clientDisconnected(nick string) {
|
||||||
bot := os.Getenv("TS_DISCORD_USERNAME")
|
|
||||||
if bot == "" {
|
|
||||||
bot = "Jeff"
|
|
||||||
}
|
|
||||||
|
|
||||||
content := fmt.Sprintf("Client disconnected: %s", nick)
|
content := fmt.Sprintf("Client disconnected: %s", nick)
|
||||||
message := discordwebhook.Message{
|
app.sendWebhook(content)
|
||||||
Username: &bot,
|
}
|
||||||
Content: &content,
|
|
||||||
|
func (app *App) updateSpotLight(c *ts3.Client, connectedUIDs []string) {
|
||||||
|
if app.spotLightGfxFormat == "" {
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := discordwebhook.SendMessage(discord, message); err != nil {
|
spotLightIDs := make([]int, 0)
|
||||||
log.Println("Failed to log Discord message:", err)
|
for _, uid := range connectedUIDs {
|
||||||
|
spotLightID, ok := app.spotLightIDMap[uid]
|
||||||
|
if ok {
|
||||||
|
spotLightIDs = append(spotLightIDs, spotLightID)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if len(spotLightIDs) == 0 {
|
||||||
|
updateBanner(c, fmt.Sprintf(app.spotLightGfxFormat, "empty"))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
slices.Sort(spotLightIDs)
|
||||||
|
slices.Compact(spotLightIDs)
|
||||||
|
|
||||||
|
spotLightIDStrings := make([]string, len(spotLightIDs))
|
||||||
|
for idx, id := range spotLightIDs {
|
||||||
|
spotLightIDStrings[idx] = strconv.Itoa(id)
|
||||||
|
}
|
||||||
|
joined := strings.Join(spotLightIDStrings, "_")
|
||||||
|
|
||||||
|
updateBanner(c, fmt.Sprintf(app.spotLightGfxFormat, joined))
|
||||||
|
}
|
||||||
|
|
||||||
|
func updateBanner(c *ts3.Client, gfx string) {
|
||||||
|
err := c.Server.Edit(ts3.NewArg("virtualserver_hostbanner_gfx_url", gfx))
|
||||||
|
if err != nil {
|
||||||
|
log.Println("Failed to update banner:", gfx, err)
|
||||||
|
} else {
|
||||||
|
log.Println("Updated banner:", gfx)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func getClientUniqueId(c *ts3.Client, dbID string) (string, error) {
|
||||||
|
var uid = struct {
|
||||||
|
UID string `ms:"cluid"`
|
||||||
|
}{}
|
||||||
|
_, err := c.ExecCmd(ts3.NewCmd("clientgetnamefromdbid").WithArgs(ts3.NewArg("cldbid", dbID)).WithResponse(&uid))
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return "", err
|
||||||
|
}
|
||||||
|
|
||||||
|
return uid.UID, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func mapValues(m map[string]string) []string {
|
||||||
|
v := make([]string, 0, len(m))
|
||||||
|
for _, val := range m {
|
||||||
|
v = append(v, val)
|
||||||
|
}
|
||||||
|
return v
|
||||||
|
}
|
||||||
|
|
|
@ -32,8 +32,16 @@ spec:
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
env:
|
env:
|
||||||
|
{{- with .Values.config.discordUsername }}
|
||||||
- name: TS_DISCORD_USERNAME
|
- name: TS_DISCORD_USERNAME
|
||||||
value: "{{ .Values.config.discordUsername | default "Jeff" }}"
|
value: {{ . | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.config.discordAvatar }}
|
||||||
|
- name: TS_DISCORD_AVATAR
|
||||||
|
value: {{ . | quote }}
|
||||||
|
{{- end }}
|
||||||
|
- name: TS_QUERY_SERVER_ID
|
||||||
|
value: {{ .Values.config.serverQueryId | quote }}
|
||||||
- name: TS_QUERY_ADDR
|
- name: TS_QUERY_ADDR
|
||||||
value: "{{ .Values.config.serverQueryAddr | required "must provide serverQueryAddr" }}"
|
value: "{{ .Values.config.serverQueryAddr | required "must provide serverQueryAddr" }}"
|
||||||
- name: TS_QUERY_USER
|
- name: TS_QUERY_USER
|
||||||
|
|
|
@ -5,19 +5,23 @@
|
||||||
image:
|
image:
|
||||||
repository: aramperes/ts-activity
|
repository: aramperes/ts-activity
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart version.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: ""
|
tag: ""
|
||||||
|
|
||||||
config:
|
config:
|
||||||
# Discord username displayed in webhook messages.
|
# Discord username displayed in webhook messages.
|
||||||
# Defaults to 'Jeff'
|
# Defaults to 'Jeff'
|
||||||
discordUsername: ""
|
discordUsername: ""
|
||||||
|
# Discord avatar displayed in webhook messages.
|
||||||
|
discordAvatar: ""
|
||||||
# Address to plain ServerQuery. Usually <ts_host>:10011
|
# Address to plain ServerQuery. Usually <ts_host>:10011
|
||||||
serverQueryAddr: ""
|
serverQueryAddr: ""
|
||||||
# Secret containing 'username' and 'password' for ServerQuery.
|
# Secret containing 'username' and 'password' for ServerQuery.
|
||||||
serverQuerySecret: ""
|
serverQuerySecret: ""
|
||||||
# Secret containing 'discord' with the Webhook URL.
|
# Secret containing 'discord' with the Webhook URL.
|
||||||
webhookSecret: ""
|
webhookSecret: ""
|
||||||
|
# TeamSpeak virtual server ID.
|
||||||
|
serverQueryId: 1
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue