Files
Michael CrenshawandGitHub a7f33e5121 docs(bounty): proposal for feature to hide annotations on secrets in UI (#15699)
* docs(bounty): proposal for feature to hide annotations on secrets in the UI

Signed-off-by: Michael Crenshaw <[email protected]>

* fix file location

Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: Michael Crenshaw <[email protected]>
2023-10-24 16:43:11 +00:00

868 B

Proposal: Allow Hiding Certain Annotations in the Argo CD Web UI

Based on this issue: https://github.com/argoproj/argo-cd/issues/15693

Award amount: $100

Solution

!!! note This is the proposed solution. The accepted PR may differ from this proposal.

Add a new config item in argocd-cm:

hide.secret.annotations: |
- openshift.io/token-secret.value

This will hide the openshift.io/token-secret.value annotation from the UI. Behind the scenes, it would likely work the same way as the last-applied-configuration annotation hiding works: https://github.com/argoproj/gitops-engine/blob/b0fffe419a0f0a40f9f2c0b6346b752ed6537385/pkg/diff/diff.go#L897

I considered whether we'd want to support hiding things besides annotations and in resources besides secrets, but having reviewed existing issues, I think this narrow feature is sufficient.