feat(muse): Update common / move to stable (#8923)

**Description**

Since it's missing from the catalog and the `incubator` version was
working took the opportunity to fix common and move it to stable. Not
exactly the worlds most complicated chart to port so might as well have
one less to do

⚒️ Fixes  #8909

**⚙️ Type of change**

- [x] ⚙️ 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
- [ ] 👀 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
- [x] ⚠️ 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

** App addition**

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

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ 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._
This commit is contained in:
StevenMcElligott
2023-05-15 04:02:41 -04:00
committed by GitHub
parent 8365cd64b5
commit 892cff30a7
12 changed files with 202 additions and 201 deletions
-159
View File
@@ -1,159 +0,0 @@
# Include{groups}
portals: {}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
- variable: env
group: App Configuration
label: Image Environment
schema:
additional_attrs: true
type: dict
attrs:
- variable: DISCORD_TOKEN
label: Discord Token
schema:
type: string
required: true
default: ""
- variable: YOUTUBE_API_KEY
label: Youtube API Key
description: Google's Developer Console credentials API key.
schema:
type: string
required: true
default: ""
- variable: SPOTIFY_CLIENT_ID
label: Spotify Client Id
schema:
type: string
required: true
default: ""
- variable: SPOTIFY_CLIENT_SECRET
label: Spotify Client Secret
schema:
type: string
required: true
default: ""
- variable: advanced
label: Show Advanced Settings
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: CACHE_LIMIT
label: Cache Limit
schema:
type: string
required: true
default: 2GB
- variable: BOT_STATUS
label: Bot Status
schema:
type: string
default: online
enum:
- value: online
description: Online
- value: idle
description: Away
- value: dnd
description: Do not Disturb
- variable: BOT_ACTIVITY_TYPE
label: Bot Activity Type
schema:
type: string
default: PLAYING
enum:
- value: PLAYING
description: Playing
- value: LISTENING
description: Listening
- value: WATCHING
description: Watching
- value: STREAMING
description: Streaming
- variable: BOT_ACTIVITY
label: Bot Activity
schema:
type: string
default: ""
- variable: BOT_ACTIVITY_URL
label: Bot Activity URL
description: requires either a youtube or twitch stream to be set.
schema:
type: string
default: ""
show_if: [[BOT_ACTIVITY_TYPE, "=", "STREAMING"]]
- variable: REGISTER_COMMANDS_ON_BOT
label: Register Commands On Bot
description: Enable Bot-wide commands if your muse instance is running on 10+ guilds.
schema:
type: boolean
default: false
# Include{containerConfig}
# Include{serviceExpertRoot}
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: config
label: App Config Storage
description: Stores the Application Configuration.
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: Main Ingress
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressList}
# Include{podSecurityContextRoot}
- variable: runAsUser
label: runAsUser
description: The UserID of the user running the application
schema:
type: int
default: 0
- variable: runAsGroup
label: runAsGroup
description: The groupID this App of the user running the application
schema:
type: int
default: 0
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
- variable: fsGroup
label: fsGroup
description: The group that should own ALL storage.
schema:
type: int
default: 568
# Include{resources}
# Include{advanced}
# Include{addons}
# Include{codeserver}
# Include{netshoot}
# Include{vpn}
# Include{documentation}
@@ -1 +0,0 @@
{{ include "tc.common.loader.all" . }}
-39
View File
@@ -1,39 +0,0 @@
image:
repository: tccr.io/truecharts/muse
pullPolicy: IfNotPresent
tag: 2.2.4@sha256:95198b1b560aacfbfd3332b5d74f6482dafb3b7cd7510ea4d744c30f1fc08acb
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
service:
main:
enabled: false
ports:
main:
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
persistence:
config:
enabled: true
mountPath: /config
portal:
enabled: false
@@ -3,7 +3,7 @@ appVersion: "2.2.4"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
version: 12.6.6
deprecated: false
description: A self-hosted midwestern Discord music bot that doesn't suck.
home: https://truecharts.org/charts/incubator/muse
@@ -22,7 +22,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/muse
- https://github.com/codetheweb/muse
type: application
version: 0.0.3
version: 1.0.0
annotations:
truecharts.org/catagories: |
- media

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

+148
View File
@@ -0,0 +1,148 @@
# Include{groups}
portals: {}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
- variable: env
group: App Configuration
label: Image Environment
schema:
additional_attrs: true
type: dict
attrs:
- variable: DISCORD_TOKEN
label: Discord Token
schema:
type: string
required: true
default: ""
- variable: YOUTUBE_API_KEY
label: Youtube API Key
description: Google's Developer Console credentials API key.
schema:
type: string
required: true
default: ""
- variable: SPOTIFY_CLIENT_ID
label: Spotify Client Id
schema:
type: string
required: true
default: ""
- variable: SPOTIFY_CLIENT_SECRET
label: Spotify Client Secret
schema:
type: string
required: true
default: ""
- variable: advanced
label: Show Advanced Settings
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: CACHE_LIMIT
label: Cache Limit
schema:
type: string
required: true
default: 2GB
- variable: BOT_STATUS
label: Bot Status
schema:
type: string
default: online
enum:
- value: online
description: Online
- value: idle
description: Away
- value: dnd
description: Do not Disturb
- variable: BOT_ACTIVITY_TYPE
label: Bot Activity Type
schema:
type: string
default: PLAYING
enum:
- value: PLAYING
description: Playing
- value: LISTENING
description: Listening
- value: WATCHING
description: Watching
- value: STREAMING
description: Streaming
- variable: BOT_ACTIVITY
label: Bot Activity
schema:
type: string
default: ""
- variable: BOT_ACTIVITY_URL
label: Bot Activity URL
description: requires either a youtube or twitch stream to be set.
schema:
type: string
default: ""
show_if: [[BOT_ACTIVITY_TYPE, "=", "STREAMING"]]
- variable: REGISTER_COMMANDS_ON_BOT
label: Register Commands On Bot
description: Enable Bot-wide commands if your muse instance is running on 10+ guilds.
schema:
type: boolean
default: false
# Include{containerConfig}
# Include{serviceExpertRoot}
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: config
label: App Config Storage
description: Stores the Application Configuration.
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceList}
# Include{securityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID this App of the user running the application"
schema:
type: int
default: 0
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
# Include{resources}
# Include{advanced}
# Include{addons}
# Include{codeserver}
# Include{netshoot}
# Include{vpn}
# Include{documentation}
+1
View File
@@ -0,0 +1 @@
{{ include "tc.v1.common.loader.all" . }}
+51
View File
@@ -0,0 +1,51 @@
image:
repository: tccr.io/truecharts/muse
pullPolicy: IfNotPresent
tag: 2.2.4@sha256:95198b1b560aacfbfd3332b5d74f6482dafb3b7cd7510ea4d744c30f1fc08acb
securityContext:
container:
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
service:
main:
enabled: false
ports:
main:
enabled: false
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
enabled: false
readiness:
enabled: false
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
persistence:
config:
enabled: true
mountPath: /config
portal:
open:
enabled: false