Skip to content

Commit c4bb3c7

Browse files
MK8S-25: Add archives to nginx.conf.j2 unit test context
The nginx.conf.j2 template now uses the archives variable to generate location directives for health checks. The unit test configuration needs to provide this variable in the test context. This fixes the unit_tests_salt failure.
1 parent 0778628 commit c4bb3c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

salt/tests/unit/formulas/config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,7 @@ metalk8s:
882882
extra_context:
883883
listening_address: "10.0.0.1"
884884
listening_port: 8080
885+
archives: *example_archives
885886

886887
repositories-manifest.yaml.j2:
887888
_cases:

0 commit comments

Comments
 (0)