Skip to content

Commit

Permalink
docs(bounty): proposal for feature to hide annotations on secrets in …
Browse files Browse the repository at this point in the history
…UI (argoproj#15699)

* docs(bounty): proposal for feature to hide annotations on secrets in the UI

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* fix file location

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
  • Loading branch information
crenshaw-dev authored and vladfr committed Dec 13, 2023
1 parent f8394c7 commit 670f51a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/proposals/feature-bounties/hide-annotations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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:

```yaml
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.

0 comments on commit 670f51a

Please sign in to comment.