Skip to content

Commit

Permalink
[opentelemetry-kube-stack]: Fix missing "release" label to openteleme…
Browse files Browse the repository at this point in the history
…try-kube-stack.labels (#1363)

* fix: Add missing release label to opentelemetry-kube-stack.labels

* [opentelemetry-kube-stack] Bump to v0.2.2 and regenerate examples
  • Loading branch information
davidcaste authored Oct 2, 2024
1 parent b7407c4 commit 5c3a805
Show file tree
Hide file tree
Showing 19 changed files with 41 additions and 24 deletions.
2 changes: 1 addition & 1 deletion charts/opentelemetry-kube-stack/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: opentelemetry-kube-stack
version: 0.2.1
version: 0.2.2
description: |
OpenTelemetry Quickstart chart for Kubernetes.
Installs an operator and collector for an easy way to get started with Kubernetes observability.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ kind: OpAMPBridge
metadata:
name: example
labels:
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/managed-by: Helm
release: "example"
spec:
endpoint: http://opamp-server:8080
capabilities:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ metadata:
name: example-cluster-stats
namespace: default
labels:
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/managed-by: Helm
release: "example"
opentelemetry.io/opamp-reporting: "true"
spec:
managementState: managed
Expand Down Expand Up @@ -188,9 +189,10 @@ metadata:
name: example-daemon
namespace: default
labels:
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/managed-by: Helm
release: "example"
opentelemetry.io/opamp-reporting: "true"
spec:
managementState: managed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ spec:
- -c
- |
kubectl delete instrumentations,opampbridges,opentelemetrycollectors \
-l helm.sh/chart=opentelemetry-kube-stack-0.2.1
-l helm.sh/chart=opentelemetry-kube-stack-0.2.2
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ kind: Instrumentation
metadata:
name: example
labels:
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/managed-by: Helm
release: "example"
spec:
exporter:
endpoint: http://${OTEL_K8S_NODE_NAME}:4317
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ metadata:
name: example-daemon
namespace: default
labels:
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/managed-by: Helm
release: "example"
spec:
managementState: managed
mode: daemonset
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ metadata:
namespace: default
labels:
app: opentelemetry-kube-stack-apiserver
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
spec:

endpoints:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ metadata:
labels:
app: opentelemetry-kube-stack-kube-controller-manager
jobLabel: kube-controller-manager
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
namespace: kube-system
spec:
clusterIP: None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ metadata:
namespace: default
labels:
app: opentelemetry-kube-stack-kube-controller-manager
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
spec:
jobLabel: jobLabel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ metadata:
labels:
app: opentelemetry-kube-stack-kube-dns
jobLabel: kube-dns
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
namespace: kube-system
spec:
clusterIP: None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ metadata:
namespace: default
labels:
app: opentelemetry-kube-stack-kube-dns
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
spec:
jobLabel: jobLabel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ metadata:
labels:
app: opentelemetry-kube-stack-kube-etcd
jobLabel: kube-etcd
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
namespace: kube-system
spec:
clusterIP: None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ metadata:
namespace: default
labels:
app: opentelemetry-kube-stack-kube-etcd
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
spec:
jobLabel: jobLabel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ metadata:
labels:
app: opentelemetry-kube-stack-kube-proxy
jobLabel: kube-proxy
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
namespace: kube-system
spec:
clusterIP: None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ metadata:
namespace: default
labels:
app: opentelemetry-kube-stack-kube-proxy
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
spec:
jobLabel: jobLabel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ metadata:
labels:
app: opentelemetry-kube-stack-kube-scheduler
jobLabel: kube-scheduler
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
namespace: kube-system
spec:
clusterIP: None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ metadata:
namespace: default
labels:
app: opentelemetry-kube-stack-kube-scheduler
helm.sh/chart: opentelemetry-kube-stack-0.2.1
helm.sh/chart: opentelemetry-kube-stack-0.2.2
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
spec:
jobLabel: jobLabel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ spec:
- -c
- |
kubectl delete instrumentations,opampbridges,opentelemetrycollectors \
-l helm.sh/chart=opentelemetry-kube-stack-0.2.1
-l helm.sh/chart=opentelemetry-kube-stack-0.2.2
1 change: 1 addition & 0 deletions charts/opentelemetry-kube-stack/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ helm.sh/chart: {{ include "opentelemetry-kube-stack.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
release: {{ .Release.Name | quote }}
{{- end }}
{{/*
Expand Down

0 comments on commit 5c3a805

Please sign in to comment.