Skip to content

Conversation

@jimmidyson
Copy link
Member

What problem does this PR solve?:

Which issue(s) this PR fixes:
Fixes #

How Has This Been Tested?:

Special notes for your reviewer:

The bases are included in the hack directory rather than pulling in from external projects as we do for other providers because the EKS CC support has not been released in CAPA yet. Once that has happened, we can switch to the same strategy and use the upstream CC and Cluster as the base for patching to create the CAREN CC/Cluster examples.

Requires #1254 and #1252.

@jimmidyson jimmidyson force-pushed the jimmi/eks-cc-cluster branch 3 times, most recently from 0493d80 to e5c6d6f Compare August 6, 2025 14:13
@jimmidyson jimmidyson force-pushed the jimmi/eks-handlers branch 2 times, most recently from c06c78a to b3e2485 Compare August 13, 2025 09:49
@jimmidyson jimmidyson force-pushed the jimmi/eks-cc-cluster branch from cde43ae to 33a45c1 Compare August 13, 2025 09:50
@jimmidyson jimmidyson force-pushed the jimmi/eks-cc-cluster branch from 33a45c1 to e6e1f4a Compare August 13, 2025 09:55
dkoshkin
dkoshkin previously approved these changes Aug 13, 2025
Copy link
Contributor

@dkoshkin dkoshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Lets wait for the stacked PRs and other dependent PRs to merege

--addon helm:$(CAAPH_VERSION) \
--wait-providers
kubectl apply --server-side --force-conflicts \
kubectl --kubeconfig=$(KIND_KUBECONFIG) apply --server-side --force-conflicts \
Copy link
Contributor

@dkoshkin dkoshkin Aug 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did this work before 🤔 It didn't this was added in a different new PR

@jimmidyson jimmidyson force-pushed the jimmi/eks-cc-cluster branch from e17fac0 to 0aeb0ce Compare August 19, 2025 12:38
Currently the metamutator only passes the override values when they are
present on a machine deployment or control plane config. This commit
fixes that by merging the global variables into the overrides, resulting
in the behaviour that we always expected.

As overrides are not that commonly used yet, we have not seen this issue
but as taints, etc become more commonly used this will become an issue.

Tests added to prove the fix as well.
The bases are included in the hack directory rather than pulling in
from external projects as we do for other providers because the EKS
CC support has not been released in CAPA yet. Once that has happened,
we can switch to the same strategy and use the upstream CC and Cluster
as the base for patching to create the CAREN CC/Cluster examples.
This was breaking certain pod deployments due to incorrect IAM permissions.
@jimmidyson jimmidyson force-pushed the jimmi/eks-cc-cluster branch from 0aeb0ce to 56a3f5b Compare August 19, 2025 12:56
@dkoshkin
Copy link
Contributor

dkoshkin commented Sep 2, 2025

Until we decide what to do with #1252

Should we set the vars directly in the MD variable? 28183a4

@jimmidyson jimmidyson force-pushed the jimmi/eks-handlers branch 2 times, most recently from b767bf4 to b953a65 Compare September 3, 2025 08:58
Base automatically changed from jimmi/eks-handlers to main September 4, 2025 16:11
@jimmidyson jimmidyson dismissed dkoshkin’s stale review September 4, 2025 16:11

The base branch was changed.

@github-actions github-actions bot added feature and removed feature labels Sep 4, 2025
dkoshkin added a commit that referenced this pull request Sep 16, 2025
**What problem does this PR solve?**:
Adding a ClusterClass and an example file for EKS clusters.

Based on
#1255,
1. with minor changes to fixup after more recent changes
2. change to not rely on
#1252
3. minor refactoring in kustomize to align better with the other
examples

**Which issue(s) this PR fixes**:
Fixes #

**How Has This Been Tested?**:
<!--
Please describe the tests that you ran to verify your changes.
Provide output from the tests and any manual steps needed to replicate
the tests.
-->

**Special notes for your reviewer**:
<!--
Use this to provide any additional information to the reviewers.
This may include:
- Best way to review the PR.
- Where the author wants the most review attention on.
- etc.
-->

---------

Co-authored-by: Jimmi Dyson <jimmidyson@gmail.com>
@dkoshkin dkoshkin closed this Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants