Skip to content

Commit

Permalink
chore(muse) update muse chart and values (#28907)
Browse files Browse the repository at this point in the history
**Description**
Updated chart image to use the official image and also created the
custom muse yaml config.
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [X] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [X] ⚖️ My code follows the style guidelines of this project
- [X] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [X] ⬆️ I increased versions for any altered app according to semantic
versioning
- [X] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

**➕ App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
  • Loading branch information
xstar97 authored Nov 8, 2024
1 parent df20030 commit d58c8ca
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 14 deletions.
6 changes: 3 additions & 3 deletions charts/stable/muse/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ maintainers:
url: https://truecharts.org
name: muse
sources:
- https://github.com/codetheweb/muse
- https://github.com/museofficial/muse
- https://github.com/truecharts/charts/tree/master/charts/stable/muse
- https://hub.docker.com/r/codetheweb/muse
- https://ghcr.io/museofficial/muse
type: application
version: 7.4.0
version: 7.5.0
53 changes: 42 additions & 11 deletions charts/stable/muse/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
image:
repository: docker.io/codetheweb/muse
repository: ghcr.io/museofficial/muse
pullPolicy: IfNotPresent
tag: 2.10.0@sha256:28e58e69df8613285cd2922c6c0ecdaa3c5a9992753bccfc678f031a5d2867b1
securityContext:
Expand All @@ -14,6 +14,35 @@ service:
ports:
main:
enabled: false
muse:
discord:
token: ""
spotify:
client:
id: ""
secret: ""
youtube:
key: ""
bot:
# online (Online)
# idle (Away)
# dnd (Do not Disturb)
status: "online"
# PLAYING (Playing XYZ)
# LISTENING (Listening to XYZ)
# WATCHING (Watching XYZ)
# STREAMING (Streaming XYZ)
activity:
type: "PLAYING"
detail: "A helm chart"
url: "https://www.youtube.com/truecharts"
# If you have Muse running in a lot of guilds (10+)
# you may want to set to true to registering commands bot-wide
# rather than for each guild (may take hours for commands to propagate)
register_commands: false
cache:
# 512MB | 10GB
limit: 2GB
workload:
main:
podSpec:
Expand All @@ -27,16 +56,18 @@ workload:
startup:
enabled: false
env:
DATA_DIR: /config
DISCORD_TOKEN: ""
SPOTIFY_CLIENT_ID: ""
SPOTIFY_CLIENT_SECRET: ""
YOUTUBE_API_KEY: ""
# CACHE_LIMIT: 2GB
# BOT_STATUS: online
# BOT_ACTIVITY_TYPE: PLAYING
# BOT_ACTIVITY: A incubator app
# BOT_ACTIVITY_URL: https://www.youtube.com/truecharts
DATA_DIR: "{{.Values.persistence.config.mountPath }}"
DISCORD_TOKEN: "{{.Values.muse.discord.token }}"
SPOTIFY_CLIENT_ID: "{{.Values.muse.spotify.client.id }}"
SPOTIFY_CLIENT_SECRET: "{{.Values.muse.spotify.client.secret }}"
YOUTUBE_API_KEY: "{{.Values.muse.youtube.key }}"
BOT_STATUS: "{{.Values.muse.bot.status }}"
BOT_ACTIVITY_TYPE: "{{.Values.muse.bot.activity.type }}"
BOT_ACTIVITY: "{{.Values.muse.bot.activity.detail }}"
BOT_ACTIVITY_URL: "{{.Values.muse.bot.activity.url }}"
REGISTER_COMMANDS_ON_BOT: "{{.Values.muse.bot.register_commands }}"
CACHE_LIMIT: "{{.Values.muse.cache.limit }}"

persistence:
config:
enabled: true
Expand Down

0 comments on commit d58c8ca

Please sign in to comment.