Skip to content

Commit 94aa010

Browse files
chore: change otel deployment to daemonset (#24)
1 parent 4d0f795 commit 94aa010

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

charts/ctrlplane/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: ctrlplane
33
description: Ctrlplane Helm chart for Kubernetes
44
type: application
5-
version: 0.7.1
5+
version: 0.8.0
66
appVersion: "1.0.0"
77

88
maintainers:

charts/ctrlplane/charts/otel/templates/deployment.yaml renamed to charts/ctrlplane/charts/otel/templates/daemonset.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
apiVersion: apps/v1
2-
kind: Deployment
2+
kind: DaemonSet
33
metadata:
44
name: {{ include "otel.fullname" . }}
55
labels:
66
{{- include "otel.labels" . | nindent 4 }}
7-
{{- if .Values.deployment.labels -}}
8-
{{- toYaml .Values.deployment.labels | nindent 4 }}
7+
{{- if .Values.daemonset.labels -}}
8+
{{- toYaml .Values.daemonset.labels | nindent 4 }}
99
{{- end }}
1010
annotations:
11-
{{- if .Values.deployment.annotations -}}
12-
{{- toYaml .Values.deployment.annotations | nindent 4 }}
11+
{{- if .Values.daemonset.annotations -}}
12+
{{- toYaml .Values.daemonset.annotations | nindent 4 }}
1313
{{- end }}
1414
spec:
15-
replicas: 1
1615
selector:
1716
matchLabels:
1817
{{- include "ctrlplane.selectorLabels" $ | nindent 6 }}

charts/ctrlplane/charts/otel/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ common:
5050
labels: {}
5151
annotations: {}
5252

53-
deployment:
53+
daemonset:
5454
labels: {}
5555
annotations: {}
5656

0 commit comments

Comments
 (0)