Skip to content

[DPE-7840] Add get-manifest command to generate manifest of K8s resources without creating them#140

Merged
deusebio merged 2 commits intomainfrom
resource-manifest
Aug 15, 2025
Merged

[DPE-7840] Add get-manifest command to generate manifest of K8s resources without creating them#140
deusebio merged 2 commits intomainfrom
resource-manifest

Conversation

@theoctober19th
Copy link
Member

@theoctober19th theoctober19th commented Aug 8, 2025

The get-manifest command will return the manifest of all the K8s resources that are to be created.

The existing services.py file was too long and messy to to refactor and thus I had to refactor it into multiple modules (while the code remaining intact).

The changes I've made on top of refactoring are in the create methods of both KubeCtlInterface and LightKubeInterface classes.

@theoctober19th theoctober19th changed the title Feature: add get-manifest command [DPE-7840] Add get-manifest command to generate manifest of K8s resources without creating them Aug 11, 2025
@theoctober19th theoctober19th marked this pull request as ready for review August 11, 2025 16:59
Copy link
Contributor

@Batalex Batalex left a comment

Choose a reason for hiding this comment

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

Will revisit

@theoctober19th theoctober19th requested a review from Batalex August 13, 2025 06:46
Copy link
Contributor

@Batalex Batalex left a comment

Choose a reason for hiding this comment

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

Overall LGTM

Copy link
Contributor

@deusebio deusebio left a comment

Choose a reason for hiding this comment

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

LGTM! But the only comment here is that I would definitely have preferred to address the refactoring into its own PR. The refactoring is definitely very very sane, and I would indeed agree with splitting services into more confined submodules. But right now it is not easy to decouple the feature from the copy and paste code. Beside the commit history will hide this refactoring, where a minor feature (adding get-manifest) hides a large refactoring/changes

@deusebio deusebio merged commit 99fe3bb into main Aug 15, 2025
5 checks passed
@deusebio deusebio deleted the resource-manifest branch August 15, 2025 09:19
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