Commit Graph

44 Commits

Author SHA1 Message Date
Kjeld Schouten de12a7e49a
feat: hide advanced ingress options behind checbox (#9203)
**Description**
The `ingressclassname` `entrypoint` and `tls` sections should only be
used in very specific usecases.

IngressClass: Only when having multiple ingress providers
Entrypoint: only when having multiple traefik entrypoints
tls: only when not using the clusterissuer setting on ingresslevel or
using scale certs which are deprecated.

fixes: #9142

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [x] ⚠️ 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:**

- [ ] ⚖️ 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

** 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._
2023-05-28 12:32:51 +02:00
StevenMcElligott 001551be7e
feat(Stable): Add Global Pod Options (#9007)
**Description**

Figured I'll manually add them to the initial batch of ported charts to
the new common that are missing the option
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [X] ⚙️ 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?**
<!--
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
- [ ] ⚠️ 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._

---------

Signed-off-by: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com>
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Co-authored-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2023-05-22 09:02:18 +02:00
Kjeld Schouten-Lebbing 0b726419d4
feat(stable): BREAKING CHANGE migrate to new common part 1 (#7900)
**Description**
Part 1 of the migration to new common on the stable train.
This basically breaks most/all charts requiring a reinstall on SCALE as
well.

Helm users shouldn't need a reinstall but could migrate their
values.yaml modification manually besides backing-up and porting the
databases.

There be Dragons basically, as we obviously cannot 100% go over
each-and-every single app in the stable train like we did in the
enterprise train.

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [x] ⚠️ 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?**
Via CI and manually validation in a lot of cases where the CI did not
correctly check things.
Additional catalog item creation tooling for local testing has been
added as well.

**📃 Notes:**
There will be issues in the future but we should get as much working
well as we can.

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [x] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [x] 📄 I have made corresponding changes to the documentation
- [x] ⚠️ My changes generate no new warnings
- [x] 🧪 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._
2023-04-11 12:07:17 +02:00
Kjeld Schouten-Lebbing 893b55dc56 update security context questions 2023-03-01 09:30:36 +01:00
Kjeld Schouten-Lebbing 3c471071cc adapt workload and container questions for all apps 2023-03-01 08:55:51 +01:00
Kjeld Schouten-Lebbing 851b9eacd0
Update questions.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-01-09 20:48:23 +01:00
Kjeld Schouten-Lebbing bbb6e21af8
Update questions.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-01-09 14:47:04 +01:00
Stavros Kois 316beee00a
chore(qbittorrent): Use port for containerPort as the listen port is configured via CM, and default torrentudd port to torrent (#5443) 2022-12-16 22:28:10 +01:00
Kjeld Schouten-Lebbing 668157c363
feat(apps): readd ingressList to all Apps that already have Ingress itself 2022-11-11 19:09:57 +01:00
Stavros Kois 9559a83515
questions.yaml cleanup (#4377)
* remove non-existent include

* remove empty lines
2022-11-11 17:23:09 +01:00
Kjeld Schouten-Lebbing f4fb8943e1
fix(apps): remove removed includes 2022-11-11 09:54:44 +01:00
Kjeld Schouten-Lebbing 800312b295
fix(apps): remove references to targetPort 2022-11-11 09:49:15 +01:00
Stavros Kois f961cff814
chore(apps): split addons in smaller templates (#3979)
* split addons in smaller templates

* replace includes in files

* remove empty line
2022-10-02 00:39:52 +03:00
Kjeld Schouten-Lebbing 7be0dcbe6d
chore(Apps): refactor Services SCALE GUI 2022-09-19 00:17:23 +02:00
Stavros Kois 6c68a6c013
chore(questions): split serviceSelector (#3751)
* chore(questions): split serviceSelector

* replace questions with the new templates
2022-09-15 00:27:12 +03:00
Kjeld Schouten-Lebbing c5b2f8f13f
chore(charts): add documentation checkbox/section to all SCALE Apps 2022-08-12 13:15:27 +02:00
Stavros Kois 16fbffb961
fix(templates): move extraArgs from .Values.controller to .Values (#3447)
* fix(templates): move extraArgs from .Values.controller to .Values

* update questions

* whoops

Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-08-12 10:40:46 +02:00
Stavros Kois ac9cc7f736
chore(questions): replace questions parts with templates (#3402)
* chore(questions): replace port parts with templates

* chore(questions): replace controller parts with templates

* remove tons of whitespce

* remove quotes from strings on templates

* make complete controller an include

* default to recreate

* remove replica and strategies as it's covered from controllerStrtegies include

* remove whitespace again

* replace controllertype with include (deployment/daemonset/statefulset)

* replace advanced port part except targetport

* remove more quotes

* add hidden toggle of enable the port

* new includes

* update build script

* controller deploy/stateful/deamon template changes

* replace controllerStrategies with replicas, replica#, strategy, recreate

* move 2 templates into a subfolder

* remove quotes

* remove disabled portals from questions and defined them on values

* remove enabled portal from the questions and add it on values

* one more app

* Portal cleanup

* remove portal templates

* add more includes

* replace portal links

* move some templates in folders

* replace ingressRoot with template

* more grouping

* replace persistenceroot with template

* replace serviceExpertRoot

* replace serviceroot

* fix a rogue one

* vctRoot

* securityContext cleanup

* remove quotes from templates on string

* replace vctRoot

* replace advanedSecurityRoot

* replace podsecurity root

* Update .github/scripts/build-catalog.sh

* Update values.yaml

* remove dupe portal

* update build-release script

* fix paths

* fix apps with imageSelector

Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-08-08 23:25:02 +02:00
Stavros Kois a4b896dabf
fix(apps): revert combine ports (#3119)
* Revert "chore(apps): combine some ports"

This reverts commit 6c3a74ab81.

* Revert "lints"

This reverts commit b7f3ef949e.

* bumps
2022-07-10 11:21:55 +02:00
Stavros Kois 8fcda955e2
chore(apps): combine some ports (#3096)
* chore(apps): combine some ports

* lints

* move `protocol` under `ports` rather under `service`

* bump cloudd
2022-07-09 21:29:01 +02:00
Kjeld Schouten-Lebbing e4911cf0b1
chore(charts): sync all apps persistence configuration and always default to PVC 2022-06-05 17:07:34 +02:00
Stavros Kois fbfdba8c05
chore(apps): add missing quote on description (#2515) 2022-04-20 09:35:54 +02:00
kjeld Schouten-Lebbing 22750e5f4f
chore(apps): remove empty env var declaration from questions.yaml 2022-03-03 18:00:30 +01:00
kjeld Schouten-Lebbing 8f1c3514d2
chore(Apps): remove fixed env from questions.yaml 2022-03-03 17:47:57 +01:00
Kjeld Schouten-Lebbing 4c5c3e5197
fix(Apps): BREAKING CHANGE Move some env-vars outside of env section (#2010)
* set TZ, PUID and UMASK differently

* more fixes

* this might be breaking so bump major

* ensure PUID and UMASK references are updated

* update test

* fiz references
2022-03-03 15:04:31 +01:00
Stavros Kois 33275c3883
chore(apps): rename `web_portal` to `open` (#1957) 2022-02-24 19:15:06 +01:00
Kjeld Schouten-Lebbing a571f0d1eb
fix(apps): set additional_attrs: true on all dicts (#1750)
* fix(docs): update the backup and restore guide

* fix(apps): set additional_attrs: true on all dicts

* even more
2022-01-21 01:35:59 +01:00
Kjeld Schouten-Lebbing 80039c40a7
feat(gui): expose capabilities in GUI (#1709)
* feat(common): expose capabilities in GUI

* add advanced podsecuritycontext include to all Apps

* add securityContext advanced include to all Apps
2022-01-13 12:18:20 +01:00
Stavros Kois 7f8336a0d2
chore(apps): remove `editable: true` as this is the default (#1576) 2021-12-19 23:49:27 +01:00
Stavros Kois 5dacd1a206
chore(apps): remove `Enable the port` button from `questions.yaml` as it was already hidden and defined in `values.yaml` (#1575) 2021-12-19 23:48:56 +01:00
Kjeld Schouten-Lebbing 5092e970d9
chore(apps): completely remove mountPath reference from GUI (#1572) 2021-12-19 18:55:24 +01:00
Stavros Kois cf1485a0b7
chore(apps): cleanup questions by removing hidden dicts (#1558)
* chore(apps): cleanup questions by removing hidden dicts

* persistence cleanup pt1

* persistence cleanup pt2

* persistence cleanup pt3

* persistence cleanup pt4

* persistence cleanup pt5

* remove gui for staticfiles for recipes

* make mountPath visible and read-only field

* make mountPath visible and read-only field

* bump patch

* remove trailing `/` on paths and fix freerad

* enable udev (scrutiny)

* also cleanup vCT

* move mountPath under advanced

* update mountPath label

* bump patch dep train
2021-12-18 20:25:00 +01:00
Stavros Kois b1e5faa4c4
fix(apps): move conflicting ports to 10xxx range (#1415)
* fix(apps): move conflicting ports to 10xxx range

* remove `protocol: TCP` as its the default anyway

* Change `"HTTP"` -> `HTTP` to much common

* lms udp port should be udp protocol

* resolve some conflicts

* clear port 80 conficts

* clean 3000 and 5000 port conflicts

* more conflict cleaning

* more conflict cleaning

* more cleanup

* more

* cleanup

* Avoid confclicts with official apps
2021-11-28 10:26:31 +01:00
Stavros Kois 02a3182701
fix(apps): Default enable all services (#1361)
* fix(apps): Default enable all services

* replace code with template

* minio

* tdarr

* aria2

* calibre

* deconz

* deluge

* littlelink

* lms

* main service and port is enabled by default

* main service and port is enabled by default pt2

* remove `type: NodePort` from values.yaml on services

* Remove `type: ClusterIP` from `values.yaml` on services

* add serviceexpert on nextcloud

* nullserv

* odoo

* protonmail-bridge split smtp and main services

* openldap

* oscam

* owncast

* pihole

* remove `enabled: true` on main from traefik and external-service

* remove `primary: true`

* qbit

* resilio sync

* vaultwarden

* valheim

* syncthing

* unfi

* zwavejs2mqtt

* teamspeak3

* transmission

* tvheadend

* test protonmail main enabled

* there is no main in protonmail duh...

* remove `protocol: tcp` from ports on `values.yaml` as this is the default in common
2021-11-21 00:20:50 +01:00
Stavros Kois e01520c550
chore(apps): move port above advanced in GUI (#1326) 2021-11-14 15:32:48 +01:00
Stavros Kois 381411ac1c
fix(Apps): split udp and tcp ports (#1321)
* fix(deluge): split udp and tcp ports

* fix(syncthing): split udp and tcp ports

* remove extra empty lines
2021-11-14 12:38:43 +01:00
Stavros Kois 8f4a7fc500
chore(Apps): fixes around the GUI refactor (#1316)
* fix min value on minio

* update service UI on LMS

* remove duplicate required from authelia

* remove Duplicate port defaults

* fix nextcloud duplicate required

* fix nullserv services

* fix plex duplicate default

* fix syncthing duplicate required

* syncthing replace code with include

* teamspeak replace code with include

* fix traefik duplicate required

* Unifi replace code with include

* Update label/description on `port` section

* remove type on nullserv's service

* remove extra space

* lowercase port names

* also lowercase service name omada
2021-11-13 22:05:00 +01:00
Stavros Kois 477c4c6290
fix(apps): Allow spaces in paths (#1306) 2021-11-10 22:14:55 +01:00
kjeld Schouten-Lebbing fd260316a7
fix(TorrentClients): Split torrent service to allow for the use of LoadBalancer servicetype 2021-11-08 09:52:58 +01:00
kjeld Schouten-Lebbing dcb6d8e3e1
fix(Apps): prevent duplicate port use and fix some questions.yaml mistakes 2021-11-07 11:49:14 +01:00
Kjeld Schouten-Lebbing d648f10e94
feat(Apps): Simplify the Services GUI (#1290)
* standardise default serviceType

* remove noteport default setting

* completely yeet nodeport

* remove some crap from targetPort

* Simplify ports section

* fix calibre

* fix gitea

* cleanup hyperionNG
Fixes: #1288

* fix k8s gateway mistake

* fix miniflux

* fix nextcloud

* nulserv and nzbhydra fixes

* owncase fix

* resilio fix

* tdarrfix

* unifi and valheim fixes
2021-11-07 00:32:56 +01:00
Kjeld Schouten-Lebbing 610bff68ec
Chore(Apps): Simplify GUI for deployment, persistence and securityContext (#1289)
* update deployment settings

* hide securityContext by default

* replace bottom persistence section with include

* temporaryly remove hostPathType

* Cleanup basic persistence settings

* Allow simplePVC to also be used for volumeClaimTemplates
2021-11-06 21:41:31 +01:00
Kjeld Schouten-Lebbing 5c11bc8fb0
fix(Postgresql): use correct PVC storageClass when using postgresql as a dependency on SCALE (#1212)
* fix db persistence

* Add global isSCALE flag to every questions.yaml file

* bump common
2021-10-20 19:39:05 +02:00
Kjeld Schouten-Lebbing b550a06b90
refactor(Apps): Project Eclipse Part 6, move questions.yaml to root App folder (#1182)
* refactor(Apps): Project Eclipse Part 6, move questions.yaml to root App folder

* move current files
2021-10-19 19:34:36 +02:00
Renamed from charts/stable/qbittorrent/SCALE/questions.yaml (Browse further)