Skip to content

Commit 96bdac9

Browse files
committed
refa: refactored discovery excludes
1 parent d66e1a8 commit 96bdac9

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN goreleaser build --snapshot="${BUILD_SNAPSHOT}" --single-target -o extension
2222
##
2323
FROM alpine:3.17
2424

25-
LABEL "steadybit.com.discovery-enabled"="false"
25+
LABEL "steadybit.com.discovery-disabled"="true"
2626

2727
ARG USERNAME=steadybit
2828
ARG USER_UID=10000
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: extensionlib
33
repository: https://steadybit.github.io/helm-charts
4-
version: 1.4.1
5-
digest: sha256:9696c58998e1e60b726b357678de1fba6d380dfb4ad580e08032b9613509ca53
6-
generated: "2023-08-08T15:10:03.110073+02:00"
4+
version: 1.4.3
5+
digest: sha256:8ea2d95f282d0e0e19ead08ff44fdca06a18c130c45f251dd87b1e5256341288
6+
generated: "2023-08-10T07:55:31.707089+02:00"

charts/steadybit-extension-http/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: steadybit-extension-http
33
description: Steadybit action implementation to check HTTP endpoints.
4-
version: 1.0.9
4+
version: 1.0.10
55
appVersion: latest
66
home: https://www.steadybit.com/
77
icon: https://steadybit-website-assets.s3.amazonaws.com/logo-symbol-transparent.png
@@ -21,5 +21,5 @@ annotations:
2121
url: https://hub.steadybit.com
2222
dependencies:
2323
- name: extensionlib
24-
version: ^1.4.1
24+
version: ^1.4.3
2525
repository: https://steadybit.github.io/helm-charts
Binary file not shown.
Binary file not shown.

charts/steadybit-extension-http/tests/__snapshot__/deployment_test.yaml.snap

+12-12
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ manifest should match snapshot using podAnnotations and Labels:
44
kind: Deployment
55
metadata:
66
labels:
7-
steadybit.com/discovery-enabled: "false"
7+
steadybit.com/discovery-disabled: "true"
88
name: RELEASE-NAME-steadybit-extension-http
99
namespace: NAMESPACE
1010
spec:
@@ -19,7 +19,7 @@ manifest should match snapshot using podAnnotations and Labels:
1919
labels:
2020
app.kubernetes.io/name: steadybit-extension-http
2121
some-label: some-label-value
22-
steadybit.com/discovery-enabled: "false"
22+
steadybit.com/discovery-disabled: "true"
2323
spec:
2424
containers:
2525
- env:
@@ -58,7 +58,7 @@ manifest should match snapshot with TLS:
5858
kind: Deployment
5959
metadata:
6060
labels:
61-
steadybit.com/discovery-enabled: "false"
61+
steadybit.com/discovery-disabled: "true"
6262
name: RELEASE-NAME-steadybit-extension-http
6363
namespace: NAMESPACE
6464
spec:
@@ -71,7 +71,7 @@ manifest should match snapshot with TLS:
7171
annotations: null
7272
labels:
7373
app.kubernetes.io/name: steadybit-extension-http
74-
steadybit.com/discovery-enabled: "false"
74+
steadybit.com/discovery-disabled: "true"
7575
spec:
7676
containers:
7777
- env:
@@ -121,7 +121,7 @@ manifest should match snapshot with extra env vars:
121121
kind: Deployment
122122
metadata:
123123
labels:
124-
steadybit.com/discovery-enabled: "false"
124+
steadybit.com/discovery-disabled: "true"
125125
name: RELEASE-NAME-steadybit-extension-http
126126
namespace: NAMESPACE
127127
spec:
@@ -134,7 +134,7 @@ manifest should match snapshot with extra env vars:
134134
annotations: null
135135
labels:
136136
app.kubernetes.io/name: steadybit-extension-http
137-
steadybit.com/discovery-enabled: "false"
137+
steadybit.com/discovery-disabled: "true"
138138
spec:
139139
containers:
140140
- env:
@@ -180,7 +180,7 @@ manifest should match snapshot with mutual TLS:
180180
kind: Deployment
181181
metadata:
182182
labels:
183-
steadybit.com/discovery-enabled: "false"
183+
steadybit.com/discovery-disabled: "true"
184184
name: RELEASE-NAME-steadybit-extension-http
185185
namespace: NAMESPACE
186186
spec:
@@ -193,7 +193,7 @@ manifest should match snapshot with mutual TLS:
193193
annotations: null
194194
labels:
195195
app.kubernetes.io/name: steadybit-extension-http
196-
steadybit.com/discovery-enabled: "false"
196+
steadybit.com/discovery-disabled: "true"
197197
spec:
198198
containers:
199199
- env:
@@ -252,7 +252,7 @@ manifest should match snapshot with mutual TLS using containerPaths:
252252
kind: Deployment
253253
metadata:
254254
labels:
255-
steadybit.com/discovery-enabled: "false"
255+
steadybit.com/discovery-disabled: "true"
256256
name: RELEASE-NAME-steadybit-extension-http
257257
namespace: NAMESPACE
258258
spec:
@@ -265,7 +265,7 @@ manifest should match snapshot with mutual TLS using containerPaths:
265265
annotations: null
266266
labels:
267267
app.kubernetes.io/name: steadybit-extension-http
268-
steadybit.com/discovery-enabled: "false"
268+
steadybit.com/discovery-disabled: "true"
269269
spec:
270270
containers:
271271
- env:
@@ -310,7 +310,7 @@ manifest should match snapshot without TLS:
310310
kind: Deployment
311311
metadata:
312312
labels:
313-
steadybit.com/discovery-enabled: "false"
313+
steadybit.com/discovery-disabled: "true"
314314
name: RELEASE-NAME-steadybit-extension-http
315315
namespace: NAMESPACE
316316
spec:
@@ -323,7 +323,7 @@ manifest should match snapshot without TLS:
323323
annotations: null
324324
labels:
325325
app.kubernetes.io/name: steadybit-extension-http
326-
steadybit.com/discovery-enabled: "false"
326+
steadybit.com/discovery-disabled: "true"
327327
spec:
328328
containers:
329329
- env:

0 commit comments

Comments
 (0)