Commit Graph

39 Commits

Author SHA1 Message Date
Kjeld Schouten-Lebbing
62604d4032 feat: add pod options GUI items for TrueNAS SCALE 2023-04-21 15:16:23 +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
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
Kjeld Schouten-Lebbing
16f46e1db8 fix(apps): change container config label 2022-11-10 17:56:28 +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
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
4905118e54 fix(code-server): correctly set the run-as-root things (#2425)
* Update values.yaml

* Update questions.yaml

* Update Chart.yaml
2022-04-04 20:11:22 +00:00
kjeld Schouten-Lebbing
fcb4a4a0fe chore(apps): remove some ugly whitespace 2022-03-03 18:02:02 +01:00
kjeld Schouten-Lebbing
b6d3664957 no message 2022-03-03 17:53:05 +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
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
Kjeld Schouten-Lebbing
097783bc24 feat(code-server): enable persistence and disable password (#1483)
* feat(code-server): enable persistence and allow both password and no-password setups

* more fixes

* test something

* allow privilage escalation

* reverse

* just dont use password for codeserver (folks should use authelia)

* fix securityContext

* lint

* rorfs
2021-12-07 13:58:50 +01:00
Kjeld Schouten-Lebbing
7a1fc786fd fix(code-server): correct code-server persistence (#1473)
* fix(code-server): correct code-server persistence

* remove lsio reference

* fix explainations as well
2021-12-06 20:58:59 +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
19df900522 chore(apps): persistence cleanup and small bugfixes (#1329)
* chore(apps): remove persistence size from values

* remove type from persistence from values.yaml

* remove accessMode from persistence from values

* devices dont user persistence

* remove empty lines

* restore accessMode in common, whoops

* quote all mountPaths

* convert `'` to `"`

* fix empty lines

* add missing mountPath on values

* add missing persistence on values

* fix var name on quetsions

* remove disabled persistence from values which are not even defined in questions

* remove more type, accessMode and size

* mountpath -> mountPath

* mounthPath -> mountPath

* booksonic-air persistence cleanup

* remove empty lines

* fix mountPath

* remove unused persistence

* teamspeak3 fix var name in persistence

* remove persistence that will probably be user defined storage

* remove persistence that will probably be user defined storage

* add missing persistence from values

* fix openldap volclaim

* remove persistence that will probably be user defined storage

* add missing persistence from values

* fix path ff3

* fix mountPath

* add missing persistence from values

* remove persistence that will probably be user defined storage

* revert changes in volClaimTemplate

* remove varrun from questions

* fix and cleanup questions postgres

* calm down CI

* ci only value
2021-11-14 20:19:16 +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
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
1bf35c85a5 chore(apps): bump apps, remove duplicates and move incubator to stable for RC1 2021-10-21 00:00:57 +02:00