Skip to content

Commit

Permalink
Ignore generated fields in grafana serviceaccount token
Browse files Browse the repository at this point in the history
We create an "empty" secret for the grafana service account token;
openshift populates several fields in this secret dynamically. ArgoCD is
complaining about these additional fields. This commit instructs ArgoCD to
ignore these differences.
  • Loading branch information
larsks committed Jan 22, 2024
1 parent 1d83b63 commit 3b7d0e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions clusters/nerc-ocp-infra/grafana/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ spec:
destination:
name: nerc-ocp-infra
namespace: grafana
ignoreDifferences:
- kind: Secret
name: grafana-serviceaccount-token
namespace: grafana
jsonPointers:
- /data

0 comments on commit 3b7d0e6

Please sign in to comment.