GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(aws): allow EKS version discovery by devantler · Pull Request #2753 · devantler-tech/platform

Conversation

@devantler

@devantler devantler commented Jul 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

🤖 Generated by the Daily AI Engineer (Codex routine).

Why

The first EKS smoke request to reach AWS proved eksctl now performs account-level cluster-version discovery before provisioning. The scoped role denied that read, so no cluster could be created.

What

  • Allows only eks:DescribeClusterVersions in the existing account-level read statement.
  • Adds a Go validator that pins the complete source and rendered EKS authorization surfaces: role, trust policy, inline policy, permissions boundary, tenant RBAC, and Flux handoff.
  • Rejects broader, duplicate, aliased, additional, missing, hidden, or renderer-dependent authorization changes.
  • Runs the validator in the existing Go-enabled manifest job with a checksum-pinned kubectl/Kustomize renderer.

Validation

  • 11 focused mutation and CI-contract tests
  • 49 repository Go tests and go vet
  • executable validator, actionlint, and diff check
  • both local and production ksail workload validate paths: 113 kustomizations and 543 manifests each
  • user-path evaluation: the committed source/render path passes while widened EKS/boundary grants and alternate, missing, or hidden authorization handoffs fail closed

Part of #2752
Fixes #2757

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
devantler added 2 commits July 19, 2026 18:18
@devantler
test(aws): lock EKS role version discovery
23c657c
@devantler
fix(aws): allow EKS version discovery
e513dcf
@github-project-automation github-project-automation Bot added this to 🌊 Project Board Jul 19, 2026
@github-project-automation github-project-automation Bot moved this to 🫴 Ready in 🌊 Project Board Jul 19, 2026
@devantler

devantler commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Please review the exact current head, focusing on least-privilege IAM scope and the fail-closed policy-shape test.

Requested by the 🤖 Daily AI Engineer (Codex routine).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Jul 19, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e513dcf15d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread scripts/tests/test_eks_ci_role_policy.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .github/workflows/ci.yaml Resolved

Uh oh!

There was an error while loading. Please reload this page.

@devantler

devantler commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Please review the exact current head, focusing on least-privilege IAM scope and the fail-closed policy-shape test.

Requested by the 🤖 Daily AI Engineer (Codex routine).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@devantler

devantler commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

Exact-head evidence

  • The standard-library policy test passes and locks the exact account-level EKS read set, scoped mutable EKS resources, and the required role permissions boundary.
  • Both local and production overlays pass ksail workload validate; all 113 kustomizations and 543 individual manifests validate in each configuration.
  • All 18 GitHub checks are green on e513dcf with no inline findings or unresolved review comments.
  • KSail run 29694390718 is the live negative control: OIDC exchange, registry initialization, and eksctl invocation succeeded, then AWS denied exactly the newly-added read-only action before provisioning. AWS reported no cluster existed.

This PR remains draft until the policy can be deployed and the KSail exact-head EKS lifecycle proves create through always-run deletion.

Evidence recorded by the 🤖 Daily AI Engineer (Codex routine).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Jul 19, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e513dcf15d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread scripts/tests/test_eks_ci_role_policy.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .github/workflows/ci.yaml Resolved

Uh oh!

There was an error while loading. Please reload this page.

@devantler
test(aws): pin EKS CI policy shape
f158bba
@devantler

devantler commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Please review the exact current head after the review fixes, focusing on complete least-privilege IAM shape pinning, mutation resistance, and the CI path trigger.

Requested by the 🤖 Daily AI Engineer (Codex routine).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Jul 19, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f158bbab52

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread scripts/tests/test_eks_ci_role_policy.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread scripts/tests/test_eks_ci_role_policy.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread scripts/tests/test_eks_ci_role_policy.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@devantler
test(aws): pin complete EKS role authorization
4519fcb
@devantler

devantler commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Please review the exact current head after all review fixes, focusing on complete role/trust/inline-policy and permissions-boundary pinning, mutation resistance, and the CI path trigger.

Requested by the 🤖 Daily AI Engineer (Codex routine).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@devantler

devantler commented Jul 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Exact-head local evidence (78e25cedc86432ab131c0dcc2fc30757418d0902)

  • All 19 focused IAM-policy and rendered-authorization tests pass.
  • All 87 Python script tests pass (19 policy, 45 credential-bridge, and 23 bookmark tests).
  • Negative controls reject extra inline or managed policies, wildcard and unexpected grants, alternate/duplicate resource identities, every additional rendered IAM kind, and unapproved renderer versions.
  • The final rendered hashes cover the IAM Role and boundary Policy, AWS tenant Role and RoleBinding, and the Flux Kustomization service-account path.
  • actionlint and git diff --check pass.

This remains a draft while exact-head CI/review complete and until the intended deployed policy can be evaluated through the KSail EKS lifecycle.

Evidence recorded by the 🤖 Daily AI Engineer (Codex routine).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Jul 19, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4519fcbacc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread scripts/tests/test_eks_ci_role_policy.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread scripts/tests/test_eks_ci_role_policy.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@devantler
test(aws): reject alternate role authorization
68497a7
@devantler

devantler commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Please review the exact current head after all review fixes, focusing on whole-manifest fail-closed pinning, parsed role/trust/inline-policy and boundary checks, adversarial YAML mutations, and the CI path trigger.

Requested by the 🤖 Daily AI Engineer (Codex routine).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Jul 19, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 68497a7001

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread scripts/tests/test_eks_ci_role_policy.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@devantler
test(aws): pin rendered EKS authorization
8861907
@devantler

devantler commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Please review the exact current head after all review fixes, focusing on source and final Kustomize-rendered authorization pinning, adversarial YAML/spec mutations, parsed role/trust/boundary checks, and the CI path trigger.

Requested by the 🤖 Daily AI Engineer (Codex routine).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Jul 19, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8861907d34

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread scripts/tests/test_eks_ci_role_policy.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@devantler
test(aws): reject rendered IAM duplicates
0bb0a58
@devantler

devantler commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Please review the exact current head after all review fixes, focusing on source and final Kustomize-rendered authorization pinning, full rendered identities/duplicate rejection, adversarial YAML/spec mutations, and the CI path trigger.

Requested by the 🤖 Daily AI Engineer (Codex routine).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Jul 19, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0bb0a58c4b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread scripts/tests/test_eks_ci_role_policy.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@devantler
test(aws): reject additional rendered IAM grants
a42b940
@devantler

devantler commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Please review the exact current head after all review fixes, focusing on source/final-render authorization pinning, rejection of duplicate/aliased/additional IAM resources, adversarial YAML/spec mutations, and the CI path trigger.

Requested by the 🤖 Daily AI Engineer (Codex routine).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Jul 19, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a42b940fc7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread scripts/tests/test_eks_ci_role_policy.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread scripts/tests/test_eks_ci_role_policy.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread scripts/tests/test_eks_ci_role_policy.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@devantler
test(aws): pin rendered authorization path
e063f8f
@devantler

devantler commented Jul 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

@codex review

chatgpt-codex-connector[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Merged via the queue into main with commit 6b67c94 Jul 21, 2026
21 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@devantler
devantler deleted the claude/eks-describe-cluster-versions-2752 branch July 21, 2026 06:22
@github-project-automation github-project-automation Bot moved this from 🫴 Ready to ✅ Done in 🌊 Project Board Jul 21, 2026
This was referenced Jul 21, 2026
ci(coderabbit): keep docstring coverage advisory instead of merge-blocking #2769
Merged
Lint gate is red on every pull request, and main never runs it #2775
Closed
This was referenced Jul 25, 2026
bug(ci): EKS authorization validator fails on main, reddening every PR #2801
Closed
bug(test): EKS authorization identity tests pass on the aggregate hash, not the identity they name #2806
Closed
refresh-flux-ghcr-auth suite exceeds Go's 10m default timeout on CI runners, reddening 📊 Code Coverage #2811
Closed
security: re-approve the EKS authorization surface so #2402 can land, then tighten the tenant RGD matcher #2817
Closed
fix(security): reject floating workflow refs in cosign subject matchers #2816
Merged
fix(opencost): restore usage metrics #2794
Merged
fix(platform): harden Cilium exposure and deploy lease #2813
Merged
feat(headlamp): run inside a user namespace #2842
Merged
fix(ci): unblock pinned Helm dependency updates #2767
Merged
This was referenced Aug 2, 2026
fix(vpa): preserve Kyverno admission memory limit #2711
Merged
fix(security): nothing catches a Flux verify block placed at a path KSail ignores #2920
Closed
fix(ci): gate the direct-push production deploy on the publication contract #2939
Merged
Publication-contract validator is unenforced on the merge-queue route #2940
Closed
Parse the DR rebuild publisher step instead of scanning workflow text #2941
Closed
Publication contract checks the signed publisher exists, but not that it is the ONLY writer of the mutable tag #2942
Closed
fix(ci): enforce the publication-contract gate on the merge-queue route #2949
Merged
Merge-queue validator can be poisoned by an earlier step in the shared changes job #2950
Closed
fix(ci): stop the userns probe's own negative result wedging the apps layer #2954
Merged
fix(rbac): enumerate the github-config tenant Role's managed-resource kinds #3004
Merged
fix(kubescape): let the posture scanner fetch its policy artifacts #3025
Merged
This was referenced Aug 9, 2026
fix(k8s): gate deploy health on a serving CNPG cluster instead of a fully-ready one #2985
Merged
feat(cilium): release the homogeneous-device rollout gate #3035
Merged
fix(coroot): grant the crossplane sync exporter the CRD read its discovery needs #3069
Merged
@devantler devantler mentioned this pull request Sep 15, 2026
Allow the EKS smoke role to discover cluster versions #2752
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@coderabbitai coderabbitai[bot] coderabbitai[bot] left review comments
@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments
@cursor cursor[bot] cursor[bot] left review comments
+1 more reviewer
@github-advanced-security github-advanced-security[bot] github-advanced-security[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

🌊 Project Board
Archived in project

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

test(aws): pin the eks-ci role authorization surface with a Go test

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@devantler @github-advanced-security
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.