Skip to content

Add a check for namespace existence in kpt live apply#4653

Merged
efiacor merged 2 commits into
kptdev:mainfrom
Nordix:fix/dry-run-inventory-namespace-check
Jul 22, 2026
Merged

Add a check for namespace existence in kpt live apply#4653
efiacor merged 2 commits into
kptdev:mainfrom
Nordix:fix/dry-run-inventory-namespace-check

Conversation

@OisinJohnston2005

Copy link
Copy Markdown
Contributor

Fixes issue #2123, by adding a check for the existence of the namespace in kpt live apply

…s where the inventory namespace does not exist"

Signed-off-by: Oisin Johnston <oisin.johnston@ericsson.com>
@OisinJohnston2005
OisinJohnston2005 requested review from a team July 20, 2026 15:33
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jul 20, 2026
@netlify

netlify Bot commented Jul 20, 2026

Copy link
Copy Markdown

Deploy Preview for kptdocs ready!

Name Link
🔨 Latest commit cd46a7a
🔍 Latest deploy log https://app.netlify.com/projects/kptdocs/deploys/6a5f7e8279d33c00082d8af0
😎 Deploy Preview https://deploy-preview-4653--kptdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@dosubot dosubot Bot added the area/live label Jul 20, 2026

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.

looks good just 2 minor comments

Comment thread commands/live/apply/cmdapply_test.go
Comment thread commands/live/apply/cmdapply.go
Comment thread commands/live/apply/cmdapply_test.go
mozesl-nokia
mozesl-nokia previously approved these changes Jul 21, 2026
@dosubot dosubot Bot added the lgtm label Jul 21, 2026
Signed-off-by: Oisin Johnston <oisin.johnston@ericsson.com>

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.

looks good 👍

@efiacor
efiacor merged commit 8d861eb into kptdev:main Jul 22, 2026
28 checks passed
@efiacor
efiacor deleted the fix/dry-run-inventory-namespace-check branch July 22, 2026 09:42
aravindtga pushed a commit to Nordix/kpt that referenced this pull request Jul 22, 2026
* Fixed kptdev#2123 "kpt live with dry-run does not recognize situations where the inventory namespace does not exist"

Signed-off-by: Oisin Johnston <oisin.johnston@ericsson.com>

* added tests

Signed-off-by: Oisin Johnston <oisin.johnston@ericsson.com>

---------

Signed-off-by: Oisin Johnston <oisin.johnston@ericsson.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/live lgtm size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants