Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(common): BREAKING CHANGE refactor add-on system #31167

Draft
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

PrivatePuffin
Copy link
Member

@PrivatePuffin PrivatePuffin commented Jan 25, 2025

Description

This PR updates the add-on system to allow for more end-user flexibility
It basically moves add-on container configuration to values.yaml, to expose all container options to end users.

Fixes: #27351
Fixes: #31876

⚙️ Type of change

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

🧪 How Has This Been Tested?

📃 Notes:

✔️ Checklist:

  • ⚖️ 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
  • ⚠️ My changes generate no new warnings
  • 🧪 I have added tests to this description that prove my fix is effective or that my feature works
  • ⬆️ I increased versions for any altered app according to semantic versioning
  • 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.

Copy link

github-actions bot commented Jan 25, 2025

✅ Deploy Preview ready!

Name Link
🔨 Latest commit c337585
🔍 Latest deploy log https://github.com/truecharts/public/actions/runs/13493334005
😎 Deploy Preview Url
🌳 Environment

@PrivatePuffin PrivatePuffin changed the title feat(common): BREAKING CHANGE common add-on and dependency rework feat(common): Add resources to add-ons and showcase dependency changes Jan 25, 2025
@PrivatePuffin PrivatePuffin changed the title feat(common): Add resources to add-ons and showcase dependency changes feat(common): BREAKING CHANGE refactor add-on system Jan 25, 2025
@PrivatePuffin PrivatePuffin marked this pull request as ready for review January 25, 2025 16:25
remove old addon system completely

bump versions

initial mariadb example

seperate addons and dependencies

add resources support to addons

Make it a feature instead of a breaking

fix rootctx oopsie

initial work on codeserver

fixup netshoot

some tweaks/fixes

more vpn work

more vpn work

more TODOs added to dependency stuff

Apply suggestions from code review

Signed-off-by: Kjeld Schouten <[email protected]>

Update _netshoot.tpl

Signed-off-by: Kjeld Schouten <[email protected]>

Update _netshoot.tpl

Signed-off-by: Kjeld Schouten <[email protected]>

Update charts/library/common/templates/addons/vpn/_vpn.tpl

Signed-off-by: Kjeld Schouten <[email protected]>

Update _codeserver.tpl

Signed-off-by: Kjeld Schouten <[email protected]>

Update charts/library/common/templates/addons/vpn/_vpn.tpl

Signed-off-by: Kjeld Schouten <[email protected]>

Update charts/library/common/templates/addons/vpn/_vpn.tpl

Signed-off-by: Kjeld Schouten <[email protected]>

Update charts/library/common/templates/addons/vpn/_vpn.tpl

Signed-off-by: Kjeld Schouten <[email protected]>

Update charts/library/common/templates/addons/vpn/_vpn.tpl

Signed-off-by: Kjeld Schouten <[email protected]>

Update _codeserver.tpl

Signed-off-by: Kjeld Schouten <[email protected]>

Update charts/library/common/templates/addons/code-server/_codeserver.tpl

Signed-off-by: Kjeld Schouten <[email protected]>

Update _codeserver.tpl

Signed-off-by: Kjeld Schouten <[email protected]>

Update values.yaml

Signed-off-by: Kjeld Schouten <[email protected]>

basic new structure

actually load new vpn addon locations

cleanup references

remove old openvpn and wireguard

Delete charts/library/common-test/ci/vpn-wireguard-values.yaml

Signed-off-by: Kjeld Schouten <[email protected]>

Delete charts/library/common-test/ci/vpn-openvpn-values.yaml

Signed-off-by: Kjeld Schouten <[email protected]>

Delete containers/apps/wireguard directory

Signed-off-by: Kjeld Schouten <[email protected]>

Delete containers/apps/openvpn-client directory

Signed-off-by: Kjeld Schouten <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore[common]: : remove deprecated addons [common] Support for adding resouces to Addons
3 participants