Commit Graph

452 Commits

Author SHA1 Message Date
Kjeld Schouten-Lebbing
f31c3690f1 more redis impl work 2023-01-28 12:34:59 +01:00
Kjeld Schouten-Lebbing
cbe5410810 Readd cnpg using spawner-class system (#314)
**Description**
The previous implementation of CNPG was suboptimal, as it created cnpg
objects within the loader instead of correctly making classes for them
and using a spawner to spawn the needed objects.

This PR readds CNPG using the correct methods.

**⚙️ 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:**

- [ ] ⚖️ 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-01-27 23:38:12 +01:00
Kjeld Schouten-Lebbing
efd8ba86a7 Polish TC common tests (#313)
**Description**
This PR aims to bring the tests for the TC specific parts somewhat
on-par with iX-co-authored parts

**⚙️ Type of change**

- [ ] ⚙️ 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:**

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

Co-authored-by: Stavros kois <s.kois@outlook.com>
2023-01-27 12:18:35 +01:00
Kjeld Schouten-Lebbing
303df87c51 feat(common): readd TrueCharts specific features to refactor (#292)
**Description**
This PR re-adds TrueCharts specific portions back into the refactor done
by iX-Systems to the common-chart

**⚙️ Type of change**

- [ ] ⚙️ 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:**

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

Co-authored-by: Stavros kois <s.kois@outlook.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-01-23 00:37:30 +01:00
Kjeld Schouten-Lebbing
5b814b1d97 Link ix and tc repohistories 2023-01-21 12:19:40 +01:00
Kjeld Schouten-Lebbing
7c44ee5813 move around 2023-01-21 12:16:56 +01:00
Kjeld Schouten-Lebbing
61043a3566 remove unvalid 2023-01-21 12:16:16 +01:00
Stavros kois
18b8544fd2 more docs 2023-01-20 20:06:31 +02:00
Stavros kois
66c41ffd9f docs 2023-01-20 18:29:26 +02:00
Stavros kois
febcd38633 allow to turn off automount on SA 2023-01-20 16:45:22 +02:00
Stavros kois
21bc13eb1a fix couple of things 2023-01-19 19:29:49 +02:00
Stavros kois
fa6539563a fix standalone job spec 2023-01-19 18:35:48 +02:00
Stavros kois
bcfa3583e5 commit job file 2023-01-19 16:59:27 +02:00
Stavros kois
0377cb84c3 fix typo and label/annotations in job/cron 2023-01-19 16:59:21 +02:00
Stavros kois
7a8c0927c2 remove labels from annotations on pods 2023-01-19 16:51:09 +02:00
Stavros kois
66f09692bf add a todo 2023-01-19 16:50:50 +02:00
Stavros kois
3de43bc3a5 fix volumeMount on cron and job standalone 2023-01-19 16:50:42 +02:00
Stavros kois
9d08131bc6 fix cron and job naming on standalone 2023-01-19 16:50:29 +02:00
Stavros kois
d361952b08 fix cron standalone and initial test 2023-01-18 18:21:02 +02:00
Stavros kois
93e711f2f7 untouch 2023-01-18 18:13:38 +02:00
Stavros kois
1e23f520e0 more tests 2023-01-18 17:14:21 +02:00
Stavros kois
6c7a33ce1c add tests 2023-01-18 15:31:56 +02:00
Stavros kois
720adbb739 add initial statefulset tests 2023-01-17 20:29:17 +02:00
Stavros kois
2b9c549d13 fix some test and eliminate some whitespace 2023-01-17 18:17:08 +02:00
Stavros kois
8cf3a7b3b6 make some adjustments 2023-01-17 16:44:18 +02:00
Stavros kois
6b4f853687 also add labels and annotations 2023-01-17 16:20:03 +02:00
Stavros kois
af32a648f5 "plumb" the job "controller" 2023-01-17 16:14:23 +02:00
Stavros kois
9cadb55ad7 actually render pod 2023-01-16 20:03:13 +02:00
Stavros kois
38309fffce fix labels 2023-01-16 19:55:39 +02:00
Stavros kois
44d72d17f5 try for compatibility with 3.9.4 helm 2023-01-16 18:55:40 +02:00
Stavros kois
5194e68f79 daemonset and statefulset 2023-01-16 17:36:15 +02:00
Stavros kois
658b90d7ad make tests a bit more flexible in regards to volumeMounts. 2023-01-16 17:28:28 +02:00
Stavros kois
ffbacdf03e formatting 2023-01-16 15:14:29 +02:00
Stavros kois
6a48f36be5 fix volumeMount, add volumeMounts once, (handle inherit flag better) 2023-01-16 14:34:51 +02:00
Stavros kois
abf9733c39 fix test 2023-01-15 11:31:09 +02:00
Stavros kois
493b4928ee add some def values 2023-01-13 18:25:48 +02:00
Stavros kois
dba6be450e formattign 2023-01-13 18:10:14 +02:00
Stavros kois
1db791f805 dont render initContainer if no containers are enabled 2023-01-13 18:09:33 +02:00
Stavros kois
12e5447fb0 add some extra tests + inherit option on volumeMounts 2023-01-13 17:42:35 +02:00
Stavros kois
c03c2d383b add some default values that some scripts depend on 2023-01-13 16:21:29 +02:00
Stavros kois
70ed3897d4 also add systemContainers into the mix and copy/pasta some tests for them too 2023-01-13 15:47:15 +02:00
Stavros kois
36351a5808 add another todo 2023-01-12 16:55:11 +02:00
Stavros kois
e92e15d64e add some todos 2023-01-12 16:54:45 +02:00
Stavros kois
0bfe7dc80f add cronjob and job tests 2023-01-12 16:50:13 +02:00
Stavros kois
d98795875a add initial container test 2023-01-11 17:10:20 +02:00
Stavros kois
5271c6deca some changes to adapt to job and tests 2023-01-11 16:40:01 +02:00
Stavros kois
a18d5b742e fix tests 2023-01-10 21:25:18 +02:00
Stavros kois
21cb65053b whops 2023-01-10 21:09:24 +02:00
Stavros kois
f4109f9456 add the low hanging (tests) 2023-01-10 21:08:03 +02:00
Stavros kois
01cad7121c initial validation tests for job 2023-01-10 20:10:20 +02:00