Skip to content

Commit

Permalink
Add gliderbot
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed Feb 11, 2024
1 parent 5e4bd9a commit 2c37a4c
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ images:
newName: ghcr.io/blakeblackshear/frigate
newTag: "0.12.1"

- name: gliderbot
newName: ghcr.io/thelab-ms/gliderbot
digest: sha256:6043ad32f52e87a86c47af60397dd97df0c1b8acafbc120e1a8001f6d894ea09

- name: grafana
newName: docker.io/grafana/grafana-oss
newTag: "10.0.0"
Expand Down Expand Up @@ -47,6 +51,7 @@ resources:
- manifests/access-controller-controller.yaml
- manifests/docuseal.yaml
- manifests/frigate.yaml
- manifests/gliderbot.yaml
- manifests/grafana.yaml
- manifests/keycloak.yaml
- manifests/nvidia.ext.yaml
Expand Down
58 changes: 58 additions & 0 deletions manifests/gliderbot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: gliderbot
labels:
app: gliderbot
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: gliderbot
template:
metadata:
labels:
app: gliderbot
spec:
containers:
- name: gliderbot
image: gliderbot
env:
- name: "DISCORD_MEMBERSHIP_ROLE"
value: "814348587424022528"
- name: "DISCORD_LEADERSHIP_ROLE"
value: "814154862777335876"
- name: "CLIENT_ID"
value: "810302178455322645"
- name: "GUILD_ID"
value: "690314626289631294"
- name: "CHANNEL_ID"
value: "1017100056886784061"
- name: "KEYCLOAK_URL"
value: "https://keycloak.apps.thelab.ms"
- name: "KEYCLOAK_REALM"
value: "master"
- name: "KEYCLOAK_USER"
value: "discordbot"
- name: "KEYCLOAK_MEMBERSHIP_GROUP"
value: "4eea9c17-f9b1-41eb-8f25-721ae04b66f6"
- name: "KEYCLOAK_LEADERSHIP_GROUP"
value: "29146cfe-15d2-46dc-9b3b-3a176b74afbb"
- name: CONFIG
valueFrom:
secretKeyRef:
name: gliderbot
key: config
- name: DISCORD_TOKEN
valueFrom:
secretKeyRef:
name: gliderbot
key: discord-token
# TODO: Update the gliderbot to support the k8s injected keycloak creds
- name: KEYCLOAK_PASSWORD
valueFrom:
secretKeyRef:
name: gliderbot
key: keycloak-pass

0 comments on commit 2c37a4c

Please sign in to comment.