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

fix(providers): k8s, log message getting into stdout #188

Merged
merged 4 commits into from
Dec 23, 2023

Conversation

lucasfcnunes
Copy link
Contributor

@lucasfcnunes lucasfcnunes commented Dec 15, 2023

Major Issue

A simple vals get ref+k8s://... > result.txt results in logs (stderr) mixing with result (stdout).

Changes

  • fix: remove fmt.Printf (-> p.log.Debugf) PRINCIPAL
  • docs: header Kubernetes secrets -> Kubernetes (because of ConfigMap)
  • refactor: keep return p, nil return k8s.New(l, provider), nil patterns
  • refactor: return result, err in some (unparam lint forbids all) custom functions
  • feat: add make lint

@yxxhero
Copy link
Member

yxxhero commented Dec 15, 2023

Fix lint issue.

@lucasfcnunes lucasfcnunes force-pushed the add-k8s-secrets-support branch 3 times, most recently from e54d73f to f24ac72 Compare December 15, 2023 18:00
@yxxhero
Copy link
Member

yxxhero commented Dec 16, 2023

still has lint issue.

@yxxhero
Copy link
Member

yxxhero commented Dec 23, 2023

@lucasfcnunes ping

@yxxhero
Copy link
Member

yxxhero commented Dec 23, 2023

@lucasfcnunes thanks so much.

Signed-off-by: Lucas Fernando Cardoso Nunes <[email protected]>
mvdan/unparam#40

Signed-off-by: Lucas Fernando Cardoso Nunes <[email protected]>
@lucasfcnunes lucasfcnunes force-pushed the add-k8s-secrets-support branch from f24ac72 to 7a7730e Compare December 23, 2023 14:00
Signed-off-by: Lucas Fernando Cardoso Nunes <[email protected]>
Signed-off-by: Lucas Fernando Cardoso Nunes <[email protected]>
@lucasfcnunes lucasfcnunes force-pushed the add-k8s-secrets-support branch from 7a7730e to ab6c0a0 Compare December 23, 2023 14:07
@yxxhero yxxhero merged commit 17fd11a into helmfile:main Dec 23, 2023
3 checks passed
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.

2 participants