-
Notifications
You must be signed in to change notification settings - Fork 94
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
refactor: map false minikube unused resources #241
Conversation
slicesToAppend := [][]string{ | ||
volumesCM, | ||
envCM, | ||
envFromCM, | ||
envFromContainerCM, | ||
envFromInitContainerCM, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is automatic formatting by my IDE (GoLand). There are multiple similar changes across the files.
Let me know if this is okay. If not, I can undo the formatting changes.
Ideally, the code style should be enforced by rules. Possibly, a target in a Makefile
using gofmt
, gofumpt
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. We need to enforce it in the CI.
I'll open a task for it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange. Intellij doesn't reformat to this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There might be some differences in how IntelliJ and GoLand work when it comes to formatting. I’m using the default code style configuration, no custom tweaks there.
slicesToAppend := [][]string{ | ||
volumesCM, | ||
envCM, | ||
envFromCM, | ||
envFromContainerCM, | ||
envFromInitContainerCM, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange. Intellij doesn't reformat to this.
This PR also covers #235 almost completely. The ClusterRole
@yonahd would you prefer that I'll submit a different PR for that or rather should we include the single difference in this PR? |
@doronkg there are not some docker related configmaps specific to kind? |
All the ConfigMaps are the same between |
Moving this discussion to the relevant ticket. |
e9f6f23
to
63abd7e
Compare
@yonahd, I rebased my branch with the latest changes and fixed the lint issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
Thanks!
Fixes #238