Commit Graph

2704 Commits

Author SHA1 Message Date
Stavros kois
ccd15cf70d typo 2023-12-08 18:59:27 +02:00
Stavros kois
d24fbe0fde fix last tests 2023-12-08 18:53:10 +02:00
Stavros kois
9b06ea0f0e fixup 2023-12-08 18:37:17 +02:00
Stavros kois
ba4019258c fix some tests 2023-12-08 18:28:59 +02:00
Stavros kois
d66a2792c3 safely 2023-12-08 18:17:09 +02:00
Stavros kois
3e6ed34a74 handle better 2023-12-08 17:19:33 +02:00
Stavros Kois
745ab8d319 Merge branch 'main' into fixup-chartcontext 2023-12-08 17:02:48 +02:00
Stavros kois
7826846a6e moar tests 2023-12-08 17:02:31 +02:00
Stavros kois
498b052be0 bump 2023-12-08 16:52:10 +02:00
Stavros Kois
752fbafdd8 Merge branch 'update-middlewares' into fixup-chartcontext 2023-12-08 16:51:09 +02:00
Stavros Kois
a749f9d53c feat(ingress): update middleware logic for traefik integration (#628)
**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)-->

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [x] 🪛 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
- [ ] 📄 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
- [ ] ⬆️ 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-12-08 16:50:38 +02:00
Stavros Kois
676f9f4765 bump 2023-12-08 16:50:27 +02:00
Stavros Kois
92764b069d Merge branch 'main' into update-middlewares 2023-12-08 16:50:04 +02:00
Stavros Kois
a0e766ac50 feat(ingress): finish ingress cert options (#627)
**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)-->

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [x] 🪛 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
- [ ] 📄 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
- [ ] ⬆️ 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-12-08 16:49:48 +02:00
Stavros Kois
286d07423f Merge branch 'finish-ingress-cert-options' into update-middlewares 2023-12-08 16:48:27 +02:00
Stavros Kois
a2703f4137 Merge branch 'certificate-refactor' into update-middlewares 2023-12-08 16:48:11 +02:00
Stavros Kois
ac850c2cef Merge branch 'ingress' into update-middlewares 2023-12-08 16:47:59 +02:00
Stavros Kois
03bd5586f5 Merge branch 'main' into finish-ingress-cert-options 2023-12-08 16:47:26 +02:00
Stavros Kois
c47b55646d Merge branch 'certificate-refactor' into finish-ingress-cert-options 2023-12-08 16:47:12 +02:00
Stavros Kois
a0851cb9fd Merge branch 'ingress' into finish-ingress-cert-options 2023-12-08 16:46:58 +02:00
Stavros Kois
ed7d67d60a feat(certificate): refactor + tests (#626)
**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)-->

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [x] 🪛 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
- [ ] 📄 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
- [ ] ⬆️ 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-12-08 16:45:20 +02:00
Stavros Kois
6c3e94dc84 bump 2023-12-08 16:45:05 +02:00
Stavros Kois
739a00f808 Merge branch 'main' into certificate-refactor 2023-12-08 16:44:35 +02:00
Stavros Kois
913fd78ae2 feat(ingress) refactor + tests (#621)
**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)-->

Partially solves https://github.com/truecharts/charts/issues/11205
Partially solves https://github.com/truecharts/charts/issues/14160
Partially solves https://github.com/truecharts/charts/issues/8080
Partially solves https://github.com/truecharts/charts/issues/9635

All the above are "partially" because changes need to be performed on
the chart it self
Eg. Set the targetSelector for the "other" ingress to point to the
"other" service

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [x] 🪛 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
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ 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._
common-16.1.0
2023-12-08 16:44:11 +02:00
Stavros kois
c578b3279b more testts 2023-12-08 16:38:17 +02:00
Stavros Kois
11005073f5 ofc, you dummy 2023-12-08 16:36:10 +02:00
Stavros Kois
65c0d33a2b Update library/common/templates/lib/ingress/integrations/_traefik.tpl 2023-12-08 16:25:59 +02:00
Stavros kois
3a0862864f initial portal and context combined tests 2023-12-08 16:20:25 +02:00
Stavros Kois
0ddf444b08 Update library/common/templates/lib/ingress/integrations/_traefik.tpl 2023-12-08 16:15:41 +02:00
Stavros Kois
19ef55470b test 2023-12-08 15:59:55 +02:00
Stavros kois
67ec3ae9a9 fixup 2023-12-08 15:04:40 +02:00
Stavros Kois
f0fe19eddb Merge branch 'main' into ingress 2023-12-08 14:58:33 +02:00
Stavros Kois
96a661b8b7 Merge branch 'main' into certificate-refactor 2023-12-08 14:58:24 +02:00
Stavros Kois
7bcf0c01b8 Merge branch 'main' into finish-ingress-cert-options 2023-12-08 14:58:22 +02:00
Stavros Kois
0b0b5d93fe Merge branch 'main' into update-middlewares 2023-12-08 14:58:21 +02:00
Stavros Kois
74d838eb4d Merge branch 'main' into fixup-chartcontext 2023-12-08 14:58:19 +02:00
Stavros Kois
462deca7b1 Merge branch 'update-middlewares' into fixup-chartcontext 2023-12-08 13:55:29 +02:00
Stavros kois
a7eeb7aab2 fix primary port template and service/port list 2023-12-08 13:48:27 +02:00
Stavros kois
529e925d64 actually add tets 2023-12-08 13:22:17 +02:00
Stavros kois
c023b69592 add initial chartContext + tests 2023-12-08 13:22:02 +02:00
Stavros Kois
9e453b68f4 drop the hack for ingressClass for middlewares 2023-12-08 11:32:54 +02:00
Stavros kois
fed7109fe0 whoops again 2023-12-08 11:22:12 +02:00
Stavros kois
85e9c20842 whoops 2023-12-08 11:20:37 +02:00
Stavros kois
af805c0c53 update tests with ingressClassName (This is a hack and needs to be fixed) 2023-12-08 11:19:33 +02:00
Stavros kois
f93a65ed06 fix couple tests 2023-12-08 11:15:25 +02:00
Stavros kois
db530c3d08 update traefik middleware innerworkings 2023-12-08 11:12:50 +02:00
Stavros kois
77bf35d16c disable integrations on unrelated tests 2023-12-08 11:11:32 +02:00
Stavros kois
c894e6b144 finish up tls with certificateIssuer 2023-12-08 02:40:53 +02:00
Stavros kois
7adac14ee4 fix and test clusterCertificate 2023-12-08 02:31:02 +02:00
Stavros kois
205e4ca335 more ingress validation 2023-12-08 02:28:09 +02:00