Skip to content

Commit

Permalink
feat(muse): Update common / move to stable (#8923)
Browse files Browse the repository at this point in the history
**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._
  • Loading branch information
StevenMcElligott authored May 15, 2023
1 parent 8365cd6 commit 892cff3
Show file tree
Hide file tree
Showing 12 changed files with 202 additions and 201 deletions.
159 changes: 0 additions & 159 deletions charts/incubator/muse/questions.yaml

This file was deleted.

1 change: 0 additions & 1 deletion charts/incubator/muse/templates/common.yaml

This file was deleted.

39 changes: 0 additions & 39 deletions charts/incubator/muse/values.yaml

This file was deleted.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
File renamed without changes.
File renamed without changes
148 changes: 148 additions & 0 deletions charts/stable/muse/questions.yaml
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions charts/stable/muse/templates/common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ include "tc.v1.common.loader.all" . }}
Loading

0 comments on commit 892cff3

Please sign in to comment.