Commit Graph

13 Commits

Author SHA1 Message Date
Stavros Kois b9d6c080a5
fix(templates): switch from nested show_subquestions_if to show_if (#9604)
**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  #9583

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 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
- [x] 👀 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-06-15 21:35:00 +02:00
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
Kjeld Schouten a3fbc1c325
Create ingressAdvanced.yaml
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2023-05-28 12:10:56 +02:00
Stavros Kois 702a0c3aba
chore(ci): Improved lint speed (#8809)
**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

TODO: Switch to scripted checks (To replace ct-list's tasks):
- [x] Helm Lint
- [x] Version Checking
- [x] Run the lint inside the devcontainer (so it have the below tools
available)
- [x] YAML Schema check on Chart.yaml
- [ ] Maintener check on Chart.yaml (Moved to another PR in the future)
- [x] YAML Lint on Chart.yaml
- [x] YAML Lint on values.yaml
- [x] Sort output of lint results (failed on the bottom)
- [x] Combine verify deps in the lint job, since the verification runs
inside the fetch dep (which runs on lint job too)
- [x] Remove one of the 2 "get changed" functions (one based on tags
other on commit)
After that, move linting to single step 


https://github.com/helm/chart-testing/blob/main/pkg/tool/linter.go
https://github.com/helm/chart-testing/blob/main/pkg/tool/account.go

**⚙️ Type of change**

- [ ] ⚙️ 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
- [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-05-23 10:26:41 +02:00
Kjeld Schouten-Lebbing 02805e4efb
fix(SCALE): ensure Ingress GUI objects are correctly shown/hidden
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-03-13 11:33:46 +01:00
Kjeld Schouten-Lebbing b171bbaa70
Update ingressTLS.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-03-07 15:48:27 +01:00
Kjeld Schouten-Lebbing 1fc5be365a
Update ingressList.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-01-24 12:52:19 +01:00
Kjeld Schouten-Lebbing b0223fb36e
Update ingressTLS.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-01-24 12:51:44 +01:00
Kjeld Schouten-Lebbing 6ab35c83cc
Update ingressDefault.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-01-24 12:51:19 +01:00
Kjeld Schouten-Lebbing 2fc63b1e2c
Update ingress for new certificate system (#6615)
* Update ingressDefault.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* Update ingressList.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* Update ingressTLS.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* Update ingressDefault.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* Update ingressList.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* Update ingressList.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* Update ingressTLS.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* Update ingressList.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* Apply suggestions from code review

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* Apply suggestions from code review

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* Bump for testing

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-01-24 12:25:48 +01:00
Kjeld Schouten-Lebbing a0db0bec94
feat(apps): readd ingressList template 2022-11-11 18:51:30 +01:00
Kjeld Schouten-Lebbing 5864fce3ac
WIP Cleanup configuration options (#4365)
* chore(apps): remove un-needed UI elements

* dont grab metallb upstreams anymore

* add new readme template pointing to the website and remove helm-values system

* Move readme generation to daily job

* remove readme addition and remve readme generation from build-release script

* bump

* remvoe the use of helm-docs

* completely remove helm-docs

* move tag sync to renovate bump action

* fully remove tag sync and remove needless helm dependency updates

* remove needless helm prep

* get rid of needlessly loaded grafana repo
2022-11-10 16:46:44 +01: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