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

refactor: Read globalConfig instead of kubecontext config for survey config #6191

Merged
merged 1 commit into from
Jul 13, 2021

Conversation

tejal29
Copy link
Member

@tejal29 tejal29 commented Jul 13, 2021

relates to epic issue #6166
relates to #6189
However not completely fixes it. We still need to revisit all occurrences of GetConfigForCurrentKubectx and maybe remove them.

Also note, we only update global config for all survey fields.

// Currently we will only update the global survey taken

@tejal29 tejal29 requested a review from a team as a code owner July 13, 2021 03:02
@tejal29 tejal29 requested a review from gsquared94 July 13, 2021 03:02
@google-cla google-cla bot added the cla: yes label Jul 13, 2021
@tejal29 tejal29 enabled auto-merge (squash) July 13, 2021 03:02
@codecov
Copy link

codecov bot commented Jul 13, 2021

Codecov Report

Merging #6191 (5a98816) into master (db90d38) will increase coverage by 0.00%.
The diff coverage is 90.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #6191   +/-   ##
=======================================
  Coverage   71.08%   71.08%           
=======================================
  Files         485      485           
  Lines       21603    21607    +4     
=======================================
+ Hits        15356    15360    +4     
  Misses       5264     5264           
  Partials      983      983           
Impacted Files Coverage Δ
pkg/skaffold/survey/survey.go 61.76% <90.00%> (+5.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db90d38...5a98816. Read the comment docs.

@tejal29 tejal29 added the kokoro:force-run forces a kokoro re-run on a PR label Jul 13, 2021
@kokoro-team kokoro-team removed the kokoro:force-run forces a kokoro re-run on a PR label Jul 13, 2021
@tejal29 tejal29 changed the title refactor: Use globalConfig instead of kubecontext config for survey config refactor: Read globalConfig instead of kubecontext config for survey config Jul 13, 2021
@tejal29 tejal29 added this to the v1.28.0 milestone Jul 13, 2021
Copy link
Collaborator

@gsquared94 gsquared94 left a comment

Choose a reason for hiding this comment

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

lgtm

@tejal29 tejal29 merged commit 5501bd8 into GoogleContainerTools:master Jul 13, 2021
@tejal29 tejal29 deleted the use_global_config branch July 21, 2021 17:39
@gsquared94 gsquared94 removed this from the v1.28.0 milestone Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants