Skip to content

Commit ba45012

Browse files
committed
tidy up secrets for dos and prometheus
1 parent 657a99a commit ba45012

File tree

7 files changed

+4
-20
lines changed

7 files changed

+4
-20
lines changed

examples/common-secrets/dos-secret-cafe.example.com.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

examples/common-secrets/prometheus-test-secret-cafe.example.com.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/data/dos/dos-secret.yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/data/dos/tls-secret.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../examples/common-secrets/tls-secret-cafe.example.com.yaml

tests/data/prometheus/secret.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../examples/common-secrets/prometheus-test-secret-cafe.example.com.yaml
1+
../../../examples/common-secrets/tls-secret-cafe.example.com.yaml

tests/suite/test_dos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def dos_setup(
106106
)
107107

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

112112
print("------------------------- Deploy logconf -----------------------------")

tests/suite/test_prometheus_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def test_latency_metrics(
166166
"extra_args": [
167167
"-enable-prometheus-metrics",
168168
"-enable-latency-metrics",
169-
"-prometheus-tls-secret=nginx-ingress/prometheus-test-secret",
169+
"-prometheus-tls-secret=nginx-ingress/tls-secret",
170170
]
171171
},
172172
[

0 commit comments

Comments
 (0)