Skip to content

Commit 99dc33b

Browse files
committed
fix: add extraLabels to pods
1 parent 8da5a7c commit 99dc33b

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

charts/steadybit-extension-http/Chart.yaml

+1-1
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.12
4+
version: 1.0.13
55
appVersion: latest
66
home: https://www.steadybit.com/
77
icon: https://steadybit-website-assets.s3.amazonaws.com/logo-symbol-transparent.png

charts/steadybit-extension-http/templates/deployment.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ spec:
1818
labels:
1919
app.kubernetes.io/name: {{ include "extensionlib.names.name" . }}
2020
{{- include "extensionlib.labels" (list .) | nindent 8 }}
21+
{{- range $key, $value := .Values.extraLabels }}
22+
{{ $key }}: {{ $value }}
23+
{{- end }}
2124
{{- with .Values.podLabels }}
2225
{{- toYaml . | nindent 8 }}
2326
{{- end }}

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

+1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ manifest should match snapshot with extra labels:
195195
labels:
196196
app.kubernetes.io/name: steadybit-extension-http
197197
steadybit.com/discovery-disabled: "true"
198+
tags.datadoghq.com/service: steadybit-extension
198199
spec:
199200
containers:
200201
- env:

0 commit comments

Comments
 (0)