From c7a8a5bc732893eb7c9eca647209c1f9078b2bdd Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Sat, 22 Nov 2025 19:12:13 +0100 Subject: [PATCH] Fix typo in King Arthur The Terrible environment variables --- .../namespaces/bots/king-arthur/README.md | 58 +++++++++--------- .../namespaces/bots/king-arthur/secrets.yaml | Bin 1238 -> 1446 bytes 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/kubernetes/namespaces/bots/king-arthur/README.md b/kubernetes/namespaces/bots/king-arthur/README.md index 8d32a9de..48cf30a3 100644 --- a/kubernetes/namespaces/bots/king-arthur/README.md +++ b/kubernetes/namespaces/bots/king-arthur/README.md @@ -8,40 +8,40 @@ This deployment expects a number of secrets and environment variables to exist i ### Core These environment variables are required to start the bot -| Environment | Description | Required/Default | -| ------------------------------------- | ------------------------------------------------------------ | ------------------------- | -| KING_ARTHUR_TOKEN | The bot token to authorize with Discord | Required | -| KING_ARTHUR_PREFIXES | The list of prefixes to listen to commands | `("arthur ", "M-x ")` | -| KING_ARTHUR_DEVOPS_ROLE | The Discord role that is allowed to run King Arthur commands | 409416496733880320 | -| KING_ARTHUR_GUILD_ID | The guild the bot should interact with | 267624335836053506 | -| KING_ARTHUR_DEVOPS_CHANNEL_ID | The devops Discord channel | 675756741417369640 | -| KING_ARTHUR_SENTRY_DSN | Where to send sentry alerts | "" | +| Environment | Description | Required/Default | +| -------------------------------------------------- | ------------------------------------------------------------ | ------------------------- | +| KING_ARTHUR_THE_TERRIBLE_TOKEN | The bot token to authorize with Discord | Required | +| KING_ARTHUR_THE_TERRIBLE_PREFIXES | The list of prefixes to listen to commands | `("arthur ", "M-x ")` | +| KING_ARTHUR_THE_TERRIBLE_DEVOPS_ROLE | The Discord role that is allowed to run King Arthur commands | 409416496733880320 | +| KING_ARTHUR_THE_TERRIBLE_GUILD_ID | The guild the bot should interact with | 267624335836053506 | +| KING_ARTHUR_THE_TERRIBLE_DEVOPS_CHANNEL_ID | The devops Discord channel | 675756741417369640 | +| KING_ARTHUR_THE_TERRIBLE_SENTRY_DSN | Where to send sentry alerts | "" | ### API integrations These environment variables are required to work on the relevant cog. -| Environment | Relevant cog | Description | Required/Default | -| ------------------------------------- | --------------------- | ------------------------------------------------------------------------- | ------------------------- | -| KING_ARTHUR_CLOUDFLARE_TOKEN | Zones | A token for the Cloudflare API used for the Cloudflare commands in Arthur | Required | -| KING_ARTHUR_GITHUB_ORG | GrafanaGitHubTeamSync | The github organisation to fetch teams from | python-discord | -| KING_ARTHUR_GITHUB_TOKEN | GrafanaGitHubTeamSync | The github token used to fetch teams to populate grafana | Required | -| KING_ARTHUR_GRAFANA_URL | GrafanaGitHubTeamSync | The URL to the grafana instance to manage teams | https://grafana.pydis.wtf | -| KING_ARTHUR_GRAFANA_TOKEN | GrafanaGitHubTeamSync | The grafana token used to sync teams with github | Required | -| KING_ARTHUR_YOUTUBE_API_KEY | Motivation | The YouTube API key to fetch missions with | Required | +| Environment | Relevant cog | Description | Required/Default | +| -------------------------------------------------- | --------------------- | ------------------------------------------------------------------------- | ------------------------- | +| KING_ARTHUR_THE_TERRIBLE_CLOUDFLARE_TOKEN | Zones | A token for the Cloudflare API used for the Cloudflare commands in Arthur | Required | +| KING_ARTHUR_THE_TERRIBLE_GITHUB_ORG | GrafanaGitHubTeamSync | The github organisation to fetch teams from | python-discord | +| KING_ARTHUR_THE_TERRIBLE_GITHUB_TOKEN | GrafanaGitHubTeamSync | The github token used to fetch teams to populate grafana | Required | +| KING_ARTHUR_THE_TERRIBLE_GRAFANA_URL | GrafanaGitHubTeamSync | The URL to the grafana instance to manage teams | https://grafana.pydis.wtf | +| KING_ARTHUR_THE_TERRIBLE_GRAFANA_TOKEN | GrafanaGitHubTeamSync | The grafana token used to sync teams with github | Required | +| KING_ARTHUR_THE_TERRIBLE_YOUTUBE_API_KEY | Motivation | The YouTube API key to fetch missions with | Required | ### LDAP & Directory integrations The environment variables are required to work with the LDAP/FreeIPA system. -| Environment | Description | Required/Default | -| ------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| KING_ARTHUR_ENABLE_LDAP | Whether the LDAP cog should be started | False | -| KING_ARTHUR_LDAP_BOOTSTRAP_CHANNEL_ID | Channel to send the LDAP account reset message | 1266358923875586160 | -| KING_ARTHUR_LDAP_HOST | The FQDN of the host running LDAP | Required | -| KING_ARTHUR_LDAP_BIND_USER | The LDAP user to use when making requests | uid=kingarthur,cn=users,cn=accounts,dc=box,dc=pydis,dc=wtf | -| KING_ARTHUR_LDAP_BIND_PASSWORD | The password for the above user | Required | -| KING_ARTHUR_LDAP_BASE_DN | The base distinguished name to use for requests to LDAP | dc=box,dc=pydis,dc=wtf | -| KING_ARTHUR_LDAP_CERTIFICATE_LOCATION | The location of the self signed cert to send with requests | Required | -| KING_ARTHUR_KEYCLOAK_ADDRESS | The URL to the keycloak address to make requests to | Required | -| KING_ARTHUR_KEYCLOAK_USERNAME | The username of the keycloak user to make requests with | kingarthur | -| KING_ARTHUR_KEYCLOAK_PASSWORD | The password of the keycloak user to make requests with | Required | -| KING_ARTHUR_KEYCLOAK_USER_REALM | The keycloak realm to make requests to | pydis | +| Environment | Description | Required/Default | +| -------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| KING_ARTHUR_THE_TERRIBLE_ENABLE_LDAP | Whether the LDAP cog should be started | False | +| KING_ARTHUR_THE_TERRIBLE_LDAP_BOOTSTRAP_CHANNEL_ID | Channel to send the LDAP account reset message | 1266358923875586160 | +| KING_ARTHUR_THE_TERRIBLE_LDAP_HOST | The FQDN of the host running LDAP | Required | +| KING_ARTHUR_THE_TERRIBLE_LDAP_BIND_USER | The LDAP user to use when making requests | uid=kingarthur,cn=users,cn=accounts,dc=box,dc=pydis,dc=wtf | +| KING_ARTHUR_THE_TERRIBLE_LDAP_BIND_PASSWORD | The password for the above user | Required | +| KING_ARTHUR_THE_TERRIBLE_LDAP_BASE_DN | The base distinguished name to use for requests to LDAP | dc=box,dc=pydis,dc=wtf | +| KING_ARTHUR_THE_TERRIBLE_LDAP_CERTIFICATE_LOCATION | The location of the self signed cert to send with requests | Required | +| KING_ARTHUR_THE_TERRIBLE_KEYCLOAK_ADDRESS | The URL to the keycloak address to make requests to | Required | +| KING_ARTHUR_THE_TERRIBLE_KEYCLOAK_USERNAME | The username of the keycloak user to make requests with | kingarthur | +| KING_ARTHUR_THE_TERRIBLE_KEYCLOAK_PASSWORD | The password of the keycloak user to make requests with | Required | +| KING_ARTHUR_THE_TERRIBLE_KEYCLOAK_USER_REALM | The keycloak realm to make requests to | pydis | diff --git a/kubernetes/namespaces/bots/king-arthur/secrets.yaml b/kubernetes/namespaces/bots/king-arthur/secrets.yaml index b29373fbaeac00d28ab457121db0d801766f68ac..4fcd35c4e903f8825cdccdc920df0d295db38b0b 100644 GIT binary patch literal 1446 zcmV;X1zGw4M@dveQdv+`04W#By>eNBR7HJNCgJ(_>2Zo7q;zMA>WGSWv+~xUB(hm2 zewSVGHucA%>d3cp*hjDgdJCBR-?ifr;;N<(*`Kvk{4L8nWPBPSf}U^HUuLjijDRyn zfF?kt;(foDHUZLO=n#z*Nt}@y97{h3X?`k01plSY@=L^!0q)^vm;68ty&<@`WOlI| zQ<9GhgHo|J5JkJ~PgCgh^gox(?Y-Tc+9)yD<+1MdzEQK{5G>FWi1y`jV}c@cE!&P)f7$)>EfBR6@>a9 z0;x&Vj%(=UmYZ7ASKu1i&?k!|vkyW{2D_hLHXWik)`i{yYjKu`Zae4a?(Fg^B`eu| ze;S0%J4j`Wz(o@On8fJ7mbao$k}(R)o0u_Xa{;&jAV3Eo)ZV*8elmX!A-EtQzQ>#8 zQUqDi|Kh&Hqi7T8u1Wm%<1Z>qf#0p6$m(Nt>PVqsTPH{ZL<4qjr=6)>DGnuq4M=M5 zVT9$Mno}wHL_x1frQh@-#w(n6$lud-d?oA@opIKI16D7!PopW81BX~ZIj9Bl^_N5= zN1LCmk3(qN@()^Hk{AQy?wW_dV=Y-f=$!q_Z{aIAevxTVz7@Qv;;H_7kv;*K;uL{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