Skip to content

Conversation

@duncan3dc
Copy link
Contributor

@duncan3dc duncan3dc commented Sep 16, 2025

If you provide the namespace as an input to the action, and your manifests don't include the namespace, then when an error is displayed it states namespace undefined:

image

This PR provides a getNamespace() helper method on the Kubectl class to expose its internal fallback logic to ensure the correct namespace is displayed

@duncan3dc duncan3dc requested a review from a team as a code owner September 16, 2025 17:24
Copy link
Collaborator

@davidgamero davidgamero left a comment

Choose a reason for hiding this comment

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

lgtm

@davidgamero davidgamero enabled auto-merge (squash) October 8, 2025 14:01
Copy link
Member

@bosesuneha bosesuneha left a comment

Choose a reason for hiding this comment

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

changes look good, just the commits need to be signed @duncan3dc

auto-merge was automatically disabled October 8, 2025 18:13

Head branch was pushed to by a user without write access

@duncan3dc duncan3dc force-pushed the error-namespace-fix branch from f4fef7f to 0b442f5 Compare October 8, 2025 18:13
@duncan3dc
Copy link
Contributor Author

Thanks everyone, I've rebased and signed them now

@davidgamero davidgamero merged commit 8629647 into Azure:main Oct 8, 2025
13 checks passed
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.

3 participants