Skip to content

Commit 55d3626

Browse files
author
Willian Cesar Cincerre Da Silva
committed
fix(external-secrets): fix docker volume path for integration tests
1 parent eb1a319 commit 55d3626

2 files changed

Lines changed: 80 additions & 3 deletions

File tree

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
version: '3'
2-
31
services:
42
external-secrets-mock:
53
image: python:3.13-alpine
64
command: python -m http.server 8080 --directory /metrics
75
ports:
86
- "8080:8080"
97
volumes:
10-
- ./fixtures:/metrics
8+
- ../fixtures:/metrics
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# HELP externalsecret_status_condition The status condition of a specific External Secret
2+
# TYPE externalsecret_status_condition gauge
3+
externalsecret_status_condition{name="example-secret",namespace="default",condition="Ready",status="true"} 1
4+
externalsecret_status_condition{name="another-secret",namespace="production",condition="Ready",status="true"} 1
5+
# HELP externalsecret_reconcile_duration The duration time to reconcile the External Secret
6+
# TYPE externalsecret_reconcile_duration gauge
7+
externalsecret_reconcile_duration{name="example-secret",namespace="default"} 0.045
8+
externalsecret_reconcile_duration{name="another-secret",namespace="production"} 0.120
9+
# HELP externalsecret_sync_calls_total Total number of the External Secret sync calls
10+
# TYPE externalsecret_sync_calls_total counter
11+
externalsecret_sync_calls_total{name="example-secret",namespace="default"} 150
12+
externalsecret_sync_calls_total{name="another-secret",namespace="production"} 89
13+
# HELP externalsecret_sync_calls_error Total number of the External Secret sync errors
14+
# TYPE externalsecret_sync_calls_error counter
15+
externalsecret_sync_calls_error{name="example-secret",namespace="default"} 2
16+
externalsecret_sync_calls_error{name="another-secret",namespace="production"} 0
17+
# HELP externalsecret_provider_api_calls_count Number of API calls made to an upstream secret provider API
18+
# TYPE externalsecret_provider_api_calls_count counter
19+
externalsecret_provider_api_calls_count{provider="vault",call="read",status="success"} 300
20+
externalsecret_provider_api_calls_count{provider="vault",call="read",status="error"} 5
21+
externalsecret_provider_api_calls_count{provider="aws",call="get",status="success"} 120
22+
# HELP clusterexternalsecret_status_condition The status condition of a specific Cluster External Secret
23+
# TYPE clusterexternalsecret_status_condition gauge
24+
clusterexternalsecret_status_condition{name="cluster-external-secret",condition="Ready",status="true"} 1
25+
# HELP clusterexternalsecret_reconcile_duration The duration time to reconcile the Cluster External Secret
26+
# TYPE clusterexternalsecret_reconcile_duration gauge
27+
clusterexternalsecret_reconcile_duration{name="cluster-external-secret"} 0.250
28+
# HELP pushsecret_status_condition The status condition of a specific Push Secret
29+
# TYPE pushsecret_status_condition gauge
30+
pushsecret_status_condition{name="push-example",namespace="default",condition="Ready",status="true"} 1
31+
# HELP pushsecret_reconcile_duration The duration time to reconcile the Push Secret
32+
# TYPE pushsecret_reconcile_duration gauge
33+
pushsecret_reconcile_duration{name="push-example",namespace="default"} 0.080
34+
# HELP clustersecretstore_status_condition The status condition of a specific Cluster Secret Store
35+
# TYPE clustersecretstore_status_condition gauge
36+
clustersecretstore_status_condition{name="vault-store",condition="Ready",status="true"} 1
37+
clustersecretstore_status_condition{name="aws-store",condition="Ready",status="true"} 1
38+
# HELP clustersecretstore_reconcile_duration The duration time to reconcile the Cluster Secret Store
39+
# TYPE clustersecretstore_reconcile_duration gauge
40+
clustersecretstore_reconcile_duration{name="vault-store"} 0.015
41+
clustersecretstore_reconcile_duration{name="aws-store"} 0.010
42+
# HELP secretstore_status_condition The status condition of a specific Secret Store
43+
# TYPE secretstore_status_condition gauge
44+
secretstore_status_condition{name="namespace-store",namespace="default",condition="Ready",status="true"} 1
45+
# HELP secretstore_reconcile_duration The duration time to reconcile the Secret Store
46+
# TYPE secretstore_reconcile_duration gauge
47+
secretstore_reconcile_duration{name="namespace-store",namespace="default"} 0.005
48+
# HELP controller_runtime_reconcile_total Total number of reconciliations per controller
49+
# TYPE controller_runtime_reconcile_total counter
50+
controller_runtime_reconcile_total{controller="externalsecret",result="success"} 500
51+
controller_runtime_reconcile_total{controller="externalsecret",result="error"} 10
52+
controller_runtime_reconcile_total{controller="clustersecretstore",result="success"} 200
53+
controller_runtime_reconcile_total{controller="pushsecret",result="success"} 50
54+
# HELP controller_runtime_reconcile_errors_total Total number of reconciliation errors per controller
55+
# TYPE controller_runtime_reconcile_errors_total counter
56+
controller_runtime_reconcile_errors_total{controller="externalsecret"} 10
57+
controller_runtime_reconcile_errors_total{controller="clustersecretstore"} 3
58+
# HELP controller_runtime_reconcile_time_seconds Histogram of the duration of reconciliations
59+
# TYPE controller_runtime_reconcile_time_seconds histogram
60+
controller_runtime_reconcile_time_seconds_bucket{controller="externalsecret",le="0.01"} 100
61+
controller_runtime_reconcile_time_seconds_bucket{controller="externalsecret",le="0.1"} 400
62+
controller_runtime_reconcile_time_seconds_bucket{controller="externalsecret",le="1"} 500
63+
controller_runtime_reconcile_time_seconds_bucket{controller="externalsecret",le="10"} 510
64+
controller_runtime_reconcile_time_seconds_bucket{controller="externalsecret",le="+Inf"} 510
65+
controller_runtime_reconcile_time_seconds_sum{controller="externalsecret"} 123.450
66+
controller_runtime_reconcile_time_seconds_count{controller="externalsecret"} 510
67+
# HELP controller_runtime_active_workers Number of currently used workers per controller
68+
# TYPE controller_runtime_active_workers gauge
69+
controller_runtime_active_workers{controller="externalsecret"} 3
70+
controller_runtime_active_workers{controller="clustersecretstore"} 1
71+
# HELP controller_runtime_max_concurrent_reconciles Maximum number of concurrent reconciles per controller
72+
# TYPE controller_runtime_max_concurrent_reconciles gauge
73+
controller_runtime_max_concurrent_reconciles{controller="externalsecret"} 5
74+
controller_runtime_max_concurrent_reconciles{controller="clustersecretstore"} 5
75+
# HELP workqueue_depth Current depth of the workqueue
76+
# TYPE workqueue_depth gauge
77+
workqueue_depth{name="externalsecret"} 0
78+
workqueue_depth{name="clustersecretstore"} 2
79+
workqueue_depth{name="pushsecret"} 0

0 commit comments

Comments
 (0)