Skip to content

Commit

Permalink
feat(opentelemetry-collector): use Kubernetes recommended label for c… (
Browse files Browse the repository at this point in the history
#1396)

* feat(opentelemetry-collector): use Kubernetes recommended label for component

Signed-off-by: Nicolas Lamirault <[email protected]>

* feat(helm): use also previous label

Signed-off-by: Nicolas Lamirault <[email protected]>

* feat(helm): chart version

Signed-off-by: Nicolas Lamirault <[email protected]>

* feat(helm): generate examples

Signed-off-by: Nicolas Lamirault <[email protected]>

* feat(helm): generate examples

Signed-off-by: Nicolas Lamirault <[email protected]>

* feat(helm): generate examples

Signed-off-by: Nicolas Lamirault <[email protected]>

* feat(helm): generate examples

Signed-off-by: Nicolas Lamirault <[email protected]>

* feat(helm): cleanup

Signed-off-by: Nicolas Lamirault <[email protected]>

* feat(helm): generate examples

Signed-off-by: Nicolas Lamirault <[email protected]>

---------

Signed-off-by: Nicolas Lamirault <[email protected]>
  • Loading branch information
nlamirault authored Nov 25, 2024
1 parent 52b8a95 commit eadacb7
Show file tree
Hide file tree
Showing 62 changed files with 132 additions and 75 deletions.
2 changes: 1 addition & 1 deletion charts/opentelemetry-collector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: opentelemetry-collector
version: 0.110.0
version: 0.110.1
description: OpenTelemetry Collector Helm chart for Kubernetes
type: application
home: https://opentelemetry.io/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ClusterRole
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ClusterRoleBinding
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand All @@ -19,17 +19,19 @@ spec:
matchLabels:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: standalone-collector
component: standalone-collector
strategy:
type: RollingUpdate
template:
metadata:
annotations:
checksum/config: 82de9028a2e2602e6346c4863dfe89bac3098adbb52fe2ebea4bafcf12f88ac0
checksum/config: 9b83be7c2da5d6495eb1de9dd3d3959686b463103a08a366248bf0e18abd8d47

labels:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: standalone-collector
component: standalone-collector

spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ metadata:
name: example-opentelemetry-collector
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
app.kubernetes.io/managed-by: Helm

app.kubernetes.io/component: standalone-collector
component: standalone-collector
spec:
type: ClusterIP
Expand Down Expand Up @@ -45,5 +46,6 @@ spec:
selector:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: standalone-collector
component: standalone-collector
internalTrafficPolicy: Cluster
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector-agent
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector-agent
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand All @@ -17,17 +17,19 @@ spec:
matchLabels:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: agent-collector
component: agent-collector
updateStrategy:
type: RollingUpdate
template:
metadata:
annotations:
checksum/config: ba6e4ac92a5f87c23a4fdcf200e7b524fbf498f80cf449bb8d58f2709ab1a5f2
checksum/config: e93c621e6d070515d2281e49af209de81764facb80bdbb685df991fc3dde33b5

labels:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: agent-collector
component: agent-collector

spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand All @@ -19,17 +19,19 @@ spec:
matchLabels:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: standalone-collector
component: standalone-collector
strategy:
type: RollingUpdate
template:
metadata:
annotations:
checksum/config: 052f822ed9da964ff0043e809ded586b32251c9aea0f77d8590be366d4aae6b0
checksum/config: 8ebd309d70177ecc8d1342787748eefc3ff725e2765f42766f7b7fdcf37a6745

labels:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: standalone-collector
component: standalone-collector

spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ metadata:
name: example-opentelemetry-collector
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
app.kubernetes.io/managed-by: Helm

app.kubernetes.io/component: standalone-collector
component: standalone-collector
spec:
type: ClusterIP
Expand Down Expand Up @@ -45,5 +46,6 @@ spec:
selector:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: standalone-collector
component: standalone-collector
internalTrafficPolicy: Cluster
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector-agent
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector-agent
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand All @@ -17,17 +17,19 @@ spec:
matchLabels:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: agent-collector
component: agent-collector
updateStrategy:
type: RollingUpdate
template:
metadata:
annotations:
checksum/config: f2598719ec5fab52fc449be5008eb98e98961504e650d3815b5ad7cc5fb02b9b
checksum/config: a4df774e934ab7af90d3cb2a9ff98b03ad62b864b5919dcd0e4c97fc7e80574e

labels:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: agent-collector
component: agent-collector

spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector-agent
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector-agent
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand All @@ -17,17 +17,19 @@ spec:
matchLabels:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: agent-collector
component: agent-collector
updateStrategy:
type: RollingUpdate
template:
metadata:
annotations:
checksum/config: a2df25bf443fc3f2f3b41db734cc43f693f32102acd7740ff30a48325aefda19
checksum/config: 52faaea540dddab5adf8edde029b9c8164fedc3c1d0f4b8e613eac8ba3e7254f

labels:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: agent-collector
component: agent-collector

spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector-agent
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector-agent
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand All @@ -17,17 +17,19 @@ spec:
matchLabels:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: agent-collector
component: agent-collector
updateStrategy:
type: RollingUpdate
template:
metadata:
annotations:
checksum/config: e791e23c1f580b7d823fa4ae258988c720d4a3652cf27afe882e26047c9af73f
checksum/config: ae4200459046b1f0d7c88bc52e854e2da4c935b4c6322fdca7df7f0759f70ef6

labels:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: agent-collector
component: agent-collector

spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector-agent
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector-agent
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand All @@ -17,17 +17,19 @@ spec:
matchLabels:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: agent-collector
component: agent-collector
updateStrategy:
type: RollingUpdate
template:
metadata:
annotations:
checksum/config: e791e23c1f580b7d823fa4ae258988c720d4a3652cf27afe882e26047c9af73f
checksum/config: ae4200459046b1f0d7c88bc52e854e2da4c935b4c6322fdca7df7f0759f70ef6

labels:
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/component: agent-collector
component: agent-collector

spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-opentelemetry-collector
namespace: default
labels:
helm.sh/chart: opentelemetry-collector-0.110.0
helm.sh/chart: opentelemetry-collector-0.110.1
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.114.0"
Expand Down
Loading

0 comments on commit eadacb7

Please sign in to comment.