Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kumactl) add --no-config flag #2048

Merged
merged 5 commits into from
May 26, 2021

Conversation

bartsmykla
Copy link
Contributor

Summary

One of my findings related to #2046 was that on GKE when calling kubectl to install transparent-proxy there were errors about not being able to create config file on read-only filesystem.

This command doesn't need config so I created --no-config flag to use in this kind of scenarios

Testing

  • Unit tests
  • E2E tests
  • Manual testing on Universal
  • Manual testing on Kubernetes

When the flag is set, kubectl should not try to create a config
file.

For example `kumactl install transparent-proxy` doesn't need
config file, and can be run on read-only filesystems, as it
happens to be true for example on GKE

Signed-off-by: Bart Smykla <bartek@smykla.com>
Signed-off-by: Bart Smykla <bartek@smykla.com>
@bartsmykla bartsmykla requested a review from a team as a code owner May 26, 2021 13:00
@tharun208
Copy link
Contributor

PR title -> feat(kubectl) -> feat(kumactl)

Copy link
Contributor

@nickolaev nickolaev left a comment

Choose a reason for hiding this comment

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

Looks great. We will need this on several levels: CNI, kuma-init.

Signed-off-by: Bart Smykla <bartek@smykla.com>
@bartsmykla bartsmykla changed the title feat(kubectl) add --no-config flag feat(kumactl) add --no-config flag May 26, 2021
Signed-off-by: Bart Smykla <bartek@smykla.com>
@bartsmykla bartsmykla merged commit 1379eac into kumahq:master May 26, 2021
@bartsmykla bartsmykla deleted the feat/kubectl-add-no-config-flag branch May 26, 2021 14:35
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.

None yet

4 participants