Skip to content

Pod sharing fixes and improvements#453

Merged
unexge merged 3 commits into
awslabs:mainfrom
yerzhan7:fix-pod-sharing
May 7, 2025
Merged

Pod sharing fixes and improvements#453
unexge merged 3 commits into
awslabs:mainfrom
yerzhan7:fix-pod-sharing

Conversation

@yerzhan7
Copy link
Copy Markdown
Contributor

@yerzhan7 yerzhan7 commented May 6, 2025

Issue #, if available: N/A

Description of changes: This is follow-up to previous PR #439 to address remaining feedback:

  • Makefile: Install controller-gen tool
  • Stale Attachment Cleaner: Change periodicity to 2min
  • Reconciler: Add empty annotation check
  • Node:
    • Fix bug where during NPV call for existing target mountpoint we do not provide IRSA Role ARN to credential context
      • Now even if target is mountpoint we would still get PodAttachment in order to get that Role ARN from reconciler
      • Remove findSourceMountPoint method as it's no longer needed (and to simplify logic)
    • PodUnmounter:
      • Add log message
      • Remove unnecessary mutex
      • Fix bug where we provide incorrect WritePath to CleanupCredential context

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@yerzhan7 yerzhan7 requested a review from a team as a code owner May 6, 2025 16:52
@yerzhan7 yerzhan7 temporarily deployed to approval-gate May 6, 2025 16:52 — with GitHub Actions Inactive
@yerzhan7 yerzhan7 temporarily deployed to approval-gate May 6, 2025 18:45 — with GitHub Actions Inactive
Comment thread Makefile
TESTBIN ?= $(shell pwd)/tests/bin
$(TESTBIN):
mkdir -p $(TESTBIN)
TOOLS_BIN ?= $(shell pwd)/tools/bin
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We should probably add tools/bin to .gitignore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants