testsuite icon indicating copy to clipboard operation
testsuite copied to clipboard

[BUG] `hardcoded_ip_addresses_in_k8s_runtime_configuration` should exempt 127.0.0.1 from FAILURE

Open agentpoyo opened this issue 3 years ago • 2 comments

Describe the bug hardcoded_ip_addresses_in_k8s_runtime_configuration should not FAIL when 127.0.0.1 is used as IP.

To Reproduce Steps to reproduce the behavior:

  1. Configured your CNF to use 127.0.0.1
  2. Run the hardcoded_ip_addresses_in_k8s_runtime_configuration test
  3. You should see a FAIL recommending to change to 0.0.0.0

Expected behavior 127.0.0.1 should be exempt and valid IP to pass this test.

agentpoyo avatar Jul 19 '22 22:07 agentpoyo

Acceptance Criteria

  • [x] Setup a CNF using 127.0.0.1 as a hardcoded IP. Lighty from PANTHEON uses this configuration option.
  • [x] Run cnf_setup and then run hardcoded_ip_addresses_in_k8s_runtime_configuration and you should not see this fail but rather pass as an IP that is exempt.
  • [x] You can see PASS screenshot here.

agentpoyo avatar Aug 01 '22 19:08 agentpoyo

1570_output

agentpoyo avatar Aug 01 '22 19:08 agentpoyo