Commit Graph

24 Commits

Author SHA1 Message Date
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
TrueCharts Bot 517b36567c
chore(deps): update docker general non-major (#3818)
* chore(deps): update docker general non-major

* Commit bumped Chart Version

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
2022-09-20 22:07:20 +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
TrueCharts Bot 97d5375359
chore(deps): update docker general non-major (#3295)
* chore(deps): update docker general non-major

* Commit bumped App Version

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
2022-07-25 20:36:51 +02:00
Kjeld Schouten-Lebbing ded5a3c0e6
run prettier as pre-commit hook (#3264) 2022-07-22 20:23:01 +02:00
TrueCharts Bot 45826a0aaa
chore(deps): update docker general non-major (#3089)
* chore(deps): update docker general non-major

* Commit bumped App Version

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>

* Commit bumped App Version

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>

* Commit bumped App Version

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>

Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-07-07 20:00:56 +02:00
Kjeld Schouten-Lebbing 5529c2a3af
refactor(charts): BREAKING CHANGE (#2836)
* Update Apps with new Common version

* Patch with the secret fixes from common

* fix amd
2022-06-07 19:41:19 +02:00
renovate[bot] 9f220c8de2
chore(deps): update docker general non-major (#2577)
* chore(deps): update docker general non-major

* Commit bumped App Version

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>

Co-authored-by: TrueCharts-Bot <bot@truecharts.org>
2022-04-28 07:41:47 +02:00
Stavros Kois e14d7a3813
feat(apps): move user/pass/secrets/keys from `env` to `secret` (#1501)
* feat(apps): move user/pass/secrets/keys from `env` to `secret`

* uptimerobot-prometheus

* podgrab

* grafana

* nextcloud

* openldap, also fix some variable types

* healthchecks

* onlyoffice

* transmission

* fix variable type (stash)

* handbrake (also fix some variable types)

* jd2 (also fix some var  values

* whoops

* try this

* bump major

* fix calibre var type

* fix var types on 2 apps

* add placeholders on questions and set `private: true` on passwords/tokens/secrets
2021-12-11 13:49:05 +01:00
renovate[bot] 03112f38f7
chore(deps): update non-major docker (#1507)
* chore(deps): update non-major docker

* Commit bumped App Version

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: TrueCharts-Bot <bot@truecharts.org>
2021-12-11 13:03:48 +01:00
renovate[bot] e8dbca32f5
chore(deps): update non-major (#1449)
* chore(deps): update non-major

* Commit bumped App Version

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: TrueCharts-Bot <bot@truecharts.org>
2021-12-03 15:07:49 +01:00
Kjeld Schouten-Lebbing 46c3126fa4
chore(apps): move all container references to TCCR (#1448) 2021-12-03 13:02:44 +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 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
kjeld Schouten-Lebbing dcd5947918
Bulk add targetPort to values.yaml for stable Apps 2021-11-06 22:55:18 +01:00
Stavros Kois 9bd43224dc
Sync persistence from questions to values for few apps (#1038) 2021-09-26 22:28:16 +02:00
Kjeld Schouten-Lebbing acf510ea13
(feat) Standardise and Harden default app securitycontext (#1028)
* Apply security hardened defaults to values.yaml for all apps

* Add default common securityContext to all apps

* Adjust securityContext defaults in questions.yaml, according to values.yaml

* Add default common podSecurityContext to all apps

* Clean whitespace

* Clean more whitespace

* Adjust podSecurityContext defaults in questions.yaml, according to values.yaml

* fix pgadmin

Co-authored-by: Stavros kois <s.kois@outlook.com>
2021-09-26 20:05:21 +02:00
renovate[bot] 3e67e1c977
chore(deps): update non-major (#962)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-11 13:04:47 +02:00
Kjeld Schouten-Lebbing a8670a1482
feat: pin all container references to digests (#963) 2021-09-11 13:00:39 +02:00
Kjeld Schouten-Lebbing bbd570a6f8
chore: move more dockerhub containers to GHCR mirror (#958)
* chore: move dockerhub containers to mirror GHCR registry

* part 2
2021-09-10 22:07:55 +02:00
Stavros Kois a7b3ce0e23
fix: make sure podSecurityContext is included in both SCALE and Helm installs (#956)
* remove strategy

* move runAsNonRoot to securityContext

* Add podSecurityContext and securityContext to values pt1

* Add podSecurityContext and securityContext to values pt2

* Add podSecurityContext and securityContext to values pt3

* Add podSecurityContext and securityContext to values pt4

* Add podSecurityContext and securityContext to values pt5

* fix empty lines

* Remove secCont from NC - values

* fixPermissions for some apps

* on apps with perm prob, set fsGroup to 0 also
2021-09-10 20:10:04 +02:00
Kjeld Schouten-Lebbing 8a24c8721f
Correct targetPort and always use PVC during testing (#840)
* Fix targetPort not being processed correctly

* Always use PVC in values.yaml just to be sure it actually works

* fix a small copy-paste mistake

* bump

* fix hyperion-ng mistake
2021-08-29 14:02:17 +02:00
kjeld Schouten-Lebbing d3deb8af69
Reorganise the trains 2021-08-23 21:32:52 +02:00
Renamed from charts/incubator/podgrab/values.yaml (Browse further)