argo-cd/docs/operator-manual/argocd-rbac-cm-yaml.md
morre db8d2f08d9
docs: add note about comments in policy.csv files (#21339)
I was wondering why our policy was valid even though it was not a valid CSV file.

Reading the code, I saw 812650847c/util/rbac/rbac.go (L492-L494) in the parsing and decided to add this note to document this behavior.

Signed-off-by: morre <mmeyer@anaconda.com>
2025-01-01 22:35:53 +01:00

283 B

argocd-rbac-cm.yaml example

Note: While policy files are CSV files, ArgoCD ignores lines starting with # when parsing the file, allowing for line comments starting with #.

An example of an argocd-rbac-cm.yaml file:

{!docs/operator-manual/argocd-rbac-cm.yaml!}