Skip to content

refactor kustomize dir#3

Open
muse-sisay wants to merge 2 commits intomainfrom
vault-handler
Open

refactor kustomize dir#3
muse-sisay wants to merge 2 commits intomainfrom
vault-handler

Conversation

@muse-sisay
Copy link
Contributor

Description

I didn't like we had identical kustomize directories with the job.spec.template.containers.args being the only thing different between them. This PR adds a base which both directories (deployment types) can reference. I have kept changes as minimal as possible so that we don't have to make change in kubefirst-api or kubefirst repository.

Related Issue(s)

Fixes # None

How to test

Output of this command before should match before changes in this PR

kustomize build 

Copy link

@patrickdappollonio patrickdappollonio left a comment

Choose a reason for hiding this comment

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

This is awesome 💚

I'm worried of approving it myself though since I'm not sure if we're using actual kustomize (the CLI) to process this or if we're doing this programatically.

If we are doing it programatically, we cannot merge this until we know on the receiving end that the parameters to the SDK have been changed to account for the path location drift (iirc, there's a clone on the consuming side).

Might wanna check with @jokestax!

Will keep this as "request changes" since I would hate to see it merged then break something. Happy to shift it to "approved" if on the other end we use the CLI.

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