mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
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]>
283 B
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!}