Skip to content

Commit

Permalink
tidy up secrets for dos and prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 committed Dec 19, 2024
1 parent 657a99a commit ba45012
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 20 deletions.
8 changes: 0 additions & 8 deletions examples/common-secrets/dos-secret-cafe.example.com.yaml

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion tests/data/dos/dos-secret.yaml

This file was deleted.

1 change: 1 addition & 0 deletions tests/data/dos/tls-secret.yaml
2 changes: 1 addition & 1 deletion tests/data/prometheus/secret.yaml
2 changes: 1 addition & 1 deletion tests/suite/test_dos.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def dos_setup(
)

print("------------------------- Deploy Secret -----------------------------")
src_sec_yaml = f"{TEST_DATA}/dos/dos-secret.yaml"
src_sec_yaml = f"{TEST_DATA}/dos/tls-secret.yaml"
create_items_from_yaml(kube_apis, src_sec_yaml, test_namespace)

print("------------------------- Deploy logconf -----------------------------")
Expand Down
2 changes: 1 addition & 1 deletion tests/suite/test_prometheus_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def test_latency_metrics(
"extra_args": [
"-enable-prometheus-metrics",
"-enable-latency-metrics",
"-prometheus-tls-secret=nginx-ingress/prometheus-test-secret",
"-prometheus-tls-secret=nginx-ingress/tls-secret",
]
},
[
Expand Down

0 comments on commit ba45012

Please sign in to comment.