Files
deploy/docs/operator-manual/argocd-rbac-cm-yaml.md
morreandGitHub cd66148654 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 https://github.com/argoproj/argo-cd/blob/6a8208c4ca6868b59c8eac92413ea752b640c6ae/util/rbac/rbac.go#L492-L494 in the parsing and decided to add this note to document this behavior.

Signed-off-by: morre <[email protected]>
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!}