Commit Graph

92 Commits

Author SHA1 Message Date
TrueCharts-Bot f8f6d744c4 Commit daily changes
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
2025-02-03 00:13:01 +00:00
Stavros Kois 53ca726d21 chore(docs,tests): remove references to fixedMiddlewares and allowCors(middlewares) 2025-02-02 10:51:07 +02:00
Jaël Gareau 8de702922c fix(clustertool): localtime should be fetched after NTP time (#30581)
**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  #30580
By swapping the localtime and the NTP time in the code, we ensure the
time it takes to receive an answer from the NTP server is not actually
counted as a time discrepancy.

I also increase the threshold from 5 to 10 seconds since problem always
seems to be at just above 5 seconds.

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

I compiled clustertool from source with the proposed modification. It
solved the issue.

**📃 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
- [x] ⚠️ 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
- [x] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ 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._
2025-01-02 22:34:41 +01:00
Stavros Kois 76665fe7ab chore(common): update min helm version (#29810)
**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  #29809 

**⚙️ 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
- [ ] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

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

---------

Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
Co-authored-by: Kjeld Schouten <info@kjeldschouten.nl>
2024-12-03 19:32:23 +01:00
gismo2004 4f13196df4 fix(clustertool) fix shamir_threshold check (#29302)
**Description**
current implementation just checks the first line of the file as it
exits in the “else”

⚒️ Fixes  # <!--(issue)-->

**⚙️ 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?**
Local go test file. 

**📃 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
- [ ] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ 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._
2024-11-15 22:58:53 +01:00
Kjeld Schouten 0610afa19b feat(clustertool): retry helm-install after etcs timeout 2024-11-12 14:59:38 +01:00
Kjeld Schouten 5f54ea6a0f fix(clustertool): Prevent empty extraargs to be added to cmd 2024-11-11 14:18:14 +01:00
Kjeld Schouten 3ad4105734 fix(clustertool): (re-)enable extra args on plain cmd generator 2024-11-09 21:41:50 +01:00
Kjeld Schouten d1bb074680 fix(clustertool): ensure kubeconfig is created with force true by default 2024-11-09 21:11:45 +01:00
Kjeld Schouten 55284f8567 fix(clustertool): When flux-bootstrap fails, ensure rename change is undone first 2024-11-09 21:04:48 +01:00
Kjeld Schouten a62135cdd9 fix(clustertool): retry kubectl apply after error with 15s wait 2024-11-09 21:04:48 +01:00
Kjeld Schouten 0c3e94c799 fix(clustertool): correct build typo 2024-11-09 13:21:24 +01:00
Kjeld Schouten cf4a61f015 fix(clustertool): ensure talsecret generation log output matches actions being taken 2024-11-09 13:17:43 +01:00
Kjeld Schouten db9e8d4e1d fix(clustertool): ensure extraction of node IP for healthcheck is more solid 2024-11-09 13:17:43 +01:00
Kjeld Schouten 86fb83c9ac fix(clustertool): Try to harden the repo url generator a tad 2024-11-08 21:57:37 +01:00
Kjeld Schouten d41c3a8c05 fix(clustertool): ensure github known hosts are always pointing towards github 2024-11-08 21:57:37 +01:00
Kjeld Schouten 8abe0ab511 fix(clustertool): ensure kubectl uses k8s.io/yaml 2024-11-08 00:23:36 +01:00
Kjeld Schouten 5e89c6213e fix(clustertool): fix kubeconfig not boing loaded correctly and put some more silence into healthchecks 2024-11-07 23:51:25 +01:00
Kjeld Schouten 81f6808581 fix(clustertool): dont try to load sops.yaml if it doesn't exist, load empty instead 2024-11-07 12:14:28 +01:00
Kjeld Schouten 93fad462e2 feat(clustertool): ensure that we low-code fail encryptioncheck if encryption-check fails 2024-11-07 12:13:48 +01:00
Kjeld Schouten c70e1b4698 fix(clustertool): correct machineconfig apply command 2024-11-07 11:27:57 +01:00
Kjeld Schouten 7c3ecc54a4 feat(clustertool): introduce tracing of command-slice and dont process extraArgs for now 2024-11-07 11:27:57 +01:00
Kjeld Schouten cc831343d8 fix(clustertool): correct issue with single-node apply not being correct 2024-11-07 00:00:26 +01:00
Kjeld Schouten a11f019d6e fix(clustertool): add commands debug and allow for extra args 2024-11-06 22:25:50 +01:00
Kjeld Schouten a1521c19fe chore(clustertool): clearify error message for rerun 2024-11-06 10:39:05 +01:00
Kjeld Schouten 269a895ab1 feat(clustertool): actually fully block genconfig unless first init is finished 2024-11-06 10:37:16 +01:00
Kjeld Schouten d707b498ab chore(clustertool): clearify init again message 2024-11-06 10:23:43 +01:00
Kjeld Schouten 795bf1c204 fix(clustertool): correct error message with checkencrypt 2024-11-06 10:19:52 +01:00
Kjeld Schouten caa1a5fdb8 fix(clustertool): use different yaml lib 2024-11-06 10:17:47 +01:00
Kjeld Schouten e3898aabc8 fix(clustertool): forgot to load TalConfig 2024-11-06 01:31:51 +01:00
Kjeld Schouten edc6f25840 fix(clustertool): apply -> applyconfig 2024-11-06 01:20:29 +01:00
Kjeld Schouten 16c0e0c387 feat(clustertool): move all talhelper references to talassist 2024-11-06 01:20:29 +01:00
Kjeld Schouten 45582c596b fix(clustertool): revert previous apply changes due to a mistake 2024-11-05 23:45:36 +01:00
Kjeld Schouten 61a01f3299 feat(clustertool): cut down on useless dependencies 2024-11-05 23:23:12 +01:00
Kjeld Schouten 1edb8f9630 fix(clustertool): fix some talhelper-connectivity mistakes 2024-11-05 22:59:12 +01:00
Kjeld Schouten f02856c4b7 feat(clustertool): load traefik, clusterissuer and blocky during bootstrap 2024-11-05 21:57:42 +01:00
Kjeld Schouten 76b5d3925e feat(clustertool): add traefik, clusterissuer and blocky bare-bones 2024-11-05 21:50:25 +01:00
Kjeld Schouten 638b21f4a5 feat(clustertool): move some functions away from talhelper 2024-11-04 15:34:07 +01:00
Kjeld Schouten a4448f621f feat(clustertool): extract IPs without talhelper 2024-11-04 15:34:07 +01:00
Kjeld Schouten f76f4fb227 fix(clustertool): customise talconfig validation error/warn parsing 2024-11-04 13:26:35 +01:00
Kjeld Schouten b5f59a629c fix(clustertool): fix git references issues and warn against ARM 2024-11-03 18:25:37 +01:00
Kjeld Schouten 9e4053df9d feat(clustertool): remove zapr and logr from kubectl logging 2024-10-27 20:09:50 +01:00
Kjeld Schouten 9adc50b5cd feat(clustertool): add logging verbosity to kubectl apply logics 2024-10-27 20:09:50 +01:00
Kjeld Schouten dc22eaff8e fix(clustertool): fix manifest path init issues for multicluster setups 2024-10-27 19:38:09 +01:00
Kjeld Schouten b16bd485cf fisx(clustertool): signficantly redice verbosity on encryption/decryption/check code. 2024-10-26 14:40:44 +02:00
Kjeld Schouten ad23108ab3 fix(clustertool): remove unneeded verbosity from encryption stack 2024-10-26 14:40:44 +02:00
Kjeld Schouten 7377f94900 remove mistakeningly info flagged debug logging from cluster settingsdest 2024-10-26 14:31:21 +02:00
Kjeld Schouten 81894b817f fix(clustertool): remove undue verbosity listing required and ignored pods froms tatuschecks 2024-10-26 14:31:21 +02:00
Kjeld Schouten a1112c5a03 fix(clustertool): remove undue verbosity from status check 2024-10-26 14:28:03 +02:00
Kjeld Schouten 108c39dd6e fix(clustertool): improve pod-status checking message and behavior 2024-10-26 14:25:18 +02:00