Setting port value to 80 for example produces following error on policy server:
Error(\"invalid type: string \\\"80\\\", expected a sequence\", line: 1, column: 97)")
Current state
Questions on kubewarden-defaults helm chart provide single input field for allow_host_ports, which generates following YAML:
Yaml generated by creating policy from kubewarden-defaults helm chart:
Setting port value to 80 for example produces following error on policy server:
Error(\"invalid type: string \\\"80\\\", expected a sequence\", line: 1, column: 97)")
Current state
Questions on kubewarden-defaults helm chart provide single input field for allow_host_ports, which generates following YAML:
Yaml generated by creating policy from kubewarden-defaults helm chart:
Expected state
Policy settings expect ports to be a range, giving min & max value.
Yaml generated by creating policy from ClusterAdmissionPolicies page: