We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This policy example contains unused assignment: https://www.openpolicyagent.org/docs/latest/kubernetes-tutorial/#policy-1-restrict-hostnames
str_parts := split(str, ".") n_pattern_parts := count(pattern_parts) n_str_parts := count(str_parts)
Pasting the policy into the Rego playground and evaluating it with strict mode shows this. We should have those removed from the example.
The text was updated successfully, but these errors were encountered:
Removing unused assignement
5fd2b3b
Ref : open-policy-agent#4778 Signed-off-by: Sugate <51022808+Joffref@users.noreply.github.com>
docs: remove unused assignement in Kubernetes tutorial example (#4783)
8fe8035
Fixes #4778 Signed-off-by: Sugate <51022808+Joffref@users.noreply.github.com>
a82467b
Ref : open-policy-agent#4778 Signed-off-by: Sugate <51022808+Joffref@users.noreply.github.com> Signed-off-by: Joffref <mariusjoffre@gmail.com>
Successfully merging a pull request may close this issue.
This policy example contains unused assignment: https://www.openpolicyagent.org/docs/latest/kubernetes-tutorial/#policy-1-restrict-hostnames
Pasting the policy into the Rego playground and evaluating it with strict mode shows this. We should have those removed from the example.
The text was updated successfully, but these errors were encountered: