Extracting restricted_to
into a reference to an array of strings
#2841
Labels
restricted_to
into a reference to an array of strings
#2841
Summary
Extracting
restricted_to
into a reference to an array of strings (so I can reuse it for multiple hosts) throws validation error although as a YAML it's valid.I wanted to reuse the anchor with
allowed_ip_ranges
(see below) for multiple hosts.Steps to Reproduce
Expected Results
Policy is parsed successfully and allowed_ip_ranges array values are used as restricted_to
Actual Results
Following error is returned:
Reproducible
Always
Version/Tag number
Additional Information
Seems that YAML anchors work just fine for
variable
andhost
arrays.The text was updated successfully, but these errors were encountered: