Skip to content

Add kubeconfig flags#593

Merged
stefanprodan merged 4 commits intofluxcd:mainfrom
pjbgf-forks:new-kube-flag
Apr 1, 2022
Merged

Add kubeconfig flags#593
stefanprodan merged 4 commits intofluxcd:mainfrom
pjbgf-forks:new-kube-flag

Conversation

@pjbgf
Copy link
Copy Markdown
Member

@pjbgf pjbgf commented Mar 24, 2022

Two new flags were added to allow users to enable the use of user.Exec (--insecure-kubeconfig-exec) and InsecureTLS (insecure-kubeconfig-tls) in the kubeconfigs provided for remote apply.

Breaking change: both functionalities are no longer enabled by default.

@pjbgf pjbgf marked this pull request as draft March 24, 2022 15:25
@pjbgf pjbgf self-assigned this Mar 29, 2022
Comment thread Makefile Outdated
Comment thread go.mod Outdated
@pjbgf pjbgf marked this pull request as ready for review March 30, 2022 08:27
Copy link
Copy Markdown
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

Please remove sops from the e2e workflow:

      - name: Setup SOPS
        uses: fluxcd/pkg/actions/sops@main

@pjbgf
Copy link
Copy Markdown
Member Author

pjbgf commented Mar 30, 2022

Please remove sops from the e2e workflow:

@stefanprodan Added a new commit to this effect. PTAL

@stefanprodan
Copy link
Copy Markdown
Member

@pjbgf looks like the Makefile changes don't work, sops is not added to the PATH.

@pjbgf
Copy link
Copy Markdown
Member Author

pjbgf commented Mar 31, 2022

@stefanprodan they have been fixed now, PTAL

Copy link
Copy Markdown
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks @pjbgf 🏅

@stefanprodan
Copy link
Copy Markdown
Member

@pjbgf please port this to helm-controller so we can bundle them in the same flux release.

@pjbgf pjbgf added this to the GA milestone Mar 31, 2022
Comment thread controllers/kustomization_controller.go Outdated
Paulo Gomes added 4 commits April 1, 2022 10:11
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
Some tests requires the sops CLI to be installed,
by adding it as a requirement of the Makefile tests
target we make it easier for new contributors to
engage with the codebase.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
Two new flags were added to allow users to enable the
use of user.Exec and InsecureTLS in the kubeconfigs
provided remote apply reconciliations.

Breaking change: both functionalities are no longer
enabled by default.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
@stefanprodan stefanprodan added enhancement New feature or request area/server-side-apply SSA related issues and pull requests labels Apr 1, 2022
@stefanprodan stefanprodan merged commit 55f14b7 into fluxcd:main Apr 1, 2022
@pjbgf pjbgf deleted the new-kube-flag branch April 1, 2022 09:47
@stefanprodan stefanprodan modified the milestones: GA, Bootstrap GA Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/server-side-apply SSA related issues and pull requests enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants