fix(helm): Fix statefulset templates to not show diffs in ArgoCD - #15192
Conversation
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
|
Hi @trevorwhitney! Sorry to ping you like that, but I saw that you have reviewed a loki/helm PR recently and thought to ask you to take a look at this PR when you will have time. Thanks in advance! |
This comment has been minimized.
This comment has been minimized.
2 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
trevorwhitney
left a comment
There was a problem hiding this comment.
thanks for the contribution. can you explain how this change fixes your problem of diffs in ArgoCD? have you considered any other approaches that would allow a user, such as yourself, to template in the changes they need for their CD env without changing the defaults for everyone, or can you explain why everyone would benefit from this change?
|
This is the diff in argocd: |
41a84c8 to
18a890d
Compare
Kubernetes Manifest Diff SummaryScenario: default-single-binary-values (Added: 0, Modified: 0, Removed: 0)
Summary:
Added FilesNo added files Modified FilesNo modified files Removed FilesNo removed files Scenario: default-values (Added: 0, Modified: 0, Removed: 0)
Summary:
Added FilesNo added files Modified FilesNo modified files Removed FilesNo removed files Scenario: ingress-values (Added: 0, Modified: 0, Removed: 0)
Summary:
Added FilesNo added files Modified FilesNo modified files Removed FilesNo removed files Scenario: legacy-monitoring-values (Added: 0, Modified: 0, Removed: 0)
Summary:
Added FilesNo added files Modified FilesNo modified files Removed FilesNo removed files Scenario: simple-scalable-aws-kube-irsa-values (Added: 0, Modified: 0, Removed: 0)
Summary:
Added FilesNo added files Modified FilesNo modified files Removed FilesNo removed files |
trevorwhitney
left a comment
There was a problem hiding this comment.
thanks for the explanation and examples from tempo and mimir. lgtm!

What this PR does / why we need it:
This PR fixes PersistentVolumeClaim definition in statefulset templates for various apps to avoid diffs in ArgoCD.
Checklist
CONTRIBUTING.mdguide (required)featPRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.docs/sources/setup/upgrade/_index.mddeprecated-config.yamlanddeleted-config.yamlfiles respectively in thetools/deprecated-config-checkerdirectory. Example PR