-
Notifications
You must be signed in to change notification settings - Fork 5
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(upgrade_to_v3): add migration for repository key for kube-prometheus-stack #394
Conversation
17779c7
to
2e79c3b
Compare
} | ||
|
||
func Migrate(yamlV2 string) (yamlV3 string, err error) { | ||
valuesV2, err := parseValues(yamlV2) |
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.
valuesV2
should be inputValues
return "", fmt.Errorf("error parsing input yaml: %v", err) | ||
} | ||
|
||
valuesV3 := migrate(&valuesV2) |
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.
valuesV3
should be outputValues
@@ -1,60 +0,0 @@ | |||
package kubestatemetricscollectors |
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.
Why are you removing this test?
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.
typo 😬
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.
You should not need to change other migrations, kube-state-metrics-collectors
in this case.
a05cb1b
to
dc78392
Compare
…heus-stack Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
dc78392
to
ab27508
Compare
Related to:
https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2651/files