From 6a65b4d72a6a00bb2916196e45e1481c72c68e90 Mon Sep 17 00:00:00 2001 From: Nicolas Lamirault Date: Mon, 6 May 2024 17:31:08 +0200 Subject: [PATCH 1/6] feat(helm): Refactoring Kubernetes recommended labels Signed-off-by: Nicolas Lamirault --- operations/helm/charts/alloy/templates/_helpers.tpl | 1 + operations/helm/charts/alloy/templates/cluster_service.yaml | 1 + operations/helm/charts/alloy/templates/configmap.yaml | 1 + operations/helm/charts/alloy/templates/hpa.yaml | 1 + operations/helm/charts/alloy/templates/ingress.yaml | 1 + operations/helm/charts/alloy/templates/rbac.yaml | 3 ++- operations/helm/charts/alloy/templates/service.yaml | 1 + operations/helm/charts/alloy/templates/serviceaccount.yaml | 1 + operations/helm/charts/alloy/templates/servicemonitor.yaml | 1 + 9 files changed, 10 insertions(+), 1 deletion(-) diff --git a/operations/helm/charts/alloy/templates/_helpers.tpl b/operations/helm/charts/alloy/templates/_helpers.tpl index 864c77856b..798aeb0da3 100644 --- a/operations/helm/charts/alloy/templates/_helpers.tpl +++ b/operations/helm/charts/alloy/templates/_helpers.tpl @@ -60,6 +60,7 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} For digests, we crop the string to a 7-char (short) sha. */}} app.kubernetes.io/version: {{ (include "alloy.imageId" .) | trunc 15 | trimPrefix "@sha256" | trimPrefix ":" | quote }} app.kubernetes.io/managed-by: {{ .Release.Service }} +app.kubernetes.io/part-of: alloy {{- end }} {{- end }} diff --git a/operations/helm/charts/alloy/templates/cluster_service.yaml b/operations/helm/charts/alloy/templates/cluster_service.yaml index 1bc940b780..362cacda28 100644 --- a/operations/helm/charts/alloy/templates/cluster_service.yaml +++ b/operations/helm/charts/alloy/templates/cluster_service.yaml @@ -6,6 +6,7 @@ metadata: name: {{ include "alloy.fullname" . }}-cluster labels: {{- include "alloy.labels" . | nindent 4 }} + app.kubernetes.io/component: networking spec: type: ClusterIP clusterIP: 'None' diff --git a/operations/helm/charts/alloy/templates/configmap.yaml b/operations/helm/charts/alloy/templates/configmap.yaml index 789520f1fb..47c775a99b 100644 --- a/operations/helm/charts/alloy/templates/configmap.yaml +++ b/operations/helm/charts/alloy/templates/configmap.yaml @@ -6,6 +6,7 @@ metadata: name: {{ include "alloy.fullname" . }} labels: {{- include "alloy.labels" . | nindent 4 }} + app.kubernetes.io/component: config data: {{- if $values.configMap.content }} config.alloy: |- {{- (tpl $values.configMap.content .) | nindent 4 }} diff --git a/operations/helm/charts/alloy/templates/hpa.yaml b/operations/helm/charts/alloy/templates/hpa.yaml index c3a532f327..e0b175dfe7 100644 --- a/operations/helm/charts/alloy/templates/hpa.yaml +++ b/operations/helm/charts/alloy/templates/hpa.yaml @@ -18,6 +18,7 @@ metadata: name: {{ include "alloy.fullname" . }} labels: {{- include "alloy.labels" . | nindent 4 }} + app.kubernetes.io/component: availability spec: scaleTargetRef: apiVersion: apps/v1 diff --git a/operations/helm/charts/alloy/templates/ingress.yaml b/operations/helm/charts/alloy/templates/ingress.yaml index f8ee0da81b..51a6e5731f 100644 --- a/operations/helm/charts/alloy/templates/ingress.yaml +++ b/operations/helm/charts/alloy/templates/ingress.yaml @@ -14,6 +14,7 @@ metadata: namespace: {{ include "alloy.namespace" . }} labels: {{- include "alloy.labels" . | nindent 4 }} + app.kubernetes.io/component: networking {{- with .Values.ingress.labels }} {{- toYaml . | nindent 4 }} {{- end }} diff --git a/operations/helm/charts/alloy/templates/rbac.yaml b/operations/helm/charts/alloy/templates/rbac.yaml index d75a568012..00e77668f8 100644 --- a/operations/helm/charts/alloy/templates/rbac.yaml +++ b/operations/helm/charts/alloy/templates/rbac.yaml @@ -5,6 +5,7 @@ metadata: name: {{ include "alloy.fullname" . }} labels: {{- include "alloy.labels" . | nindent 4 }} + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -92,13 +93,13 @@ rules: verbs: ["get", "list", "watch"] --- - apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: {{ include "alloy.fullname" . }} labels: {{- include "alloy.labels" . | nindent 4 }} + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/charts/alloy/templates/service.yaml b/operations/helm/charts/alloy/templates/service.yaml index 12f1b98889..ad47c52f64 100644 --- a/operations/helm/charts/alloy/templates/service.yaml +++ b/operations/helm/charts/alloy/templates/service.yaml @@ -6,6 +6,7 @@ metadata: name: {{ include "alloy.fullname" . }} labels: {{- include "alloy.labels" . | nindent 4 }} + app.kubernetes.io/component: networking {{- with .Values.service.annotations }} annotations: {{- toYaml . | nindent 4 }} diff --git a/operations/helm/charts/alloy/templates/serviceaccount.yaml b/operations/helm/charts/alloy/templates/serviceaccount.yaml index fc02f365bb..faf9a5da97 100644 --- a/operations/helm/charts/alloy/templates/serviceaccount.yaml +++ b/operations/helm/charts/alloy/templates/serviceaccount.yaml @@ -6,6 +6,7 @@ metadata: namespace: {{ .Release.Namespace }} labels: {{- include "alloy.labels" . | nindent 4 }} + app.kubernetes.io/component: rbac {{- with .Values.serviceAccount.additionalLabels }} {{- toYaml . | nindent 4 }} {{- end }} diff --git a/operations/helm/charts/alloy/templates/servicemonitor.yaml b/operations/helm/charts/alloy/templates/servicemonitor.yaml index 15cbf7ff2e..3249116fa2 100644 --- a/operations/helm/charts/alloy/templates/servicemonitor.yaml +++ b/operations/helm/charts/alloy/templates/servicemonitor.yaml @@ -6,6 +6,7 @@ metadata: name: {{ include "alloy.fullname" . }} labels: {{- include "alloy.labels" . | nindent 4 }} + app.kubernetes.io/component: metrics {{- with .Values.serviceMonitor.additionalLabels }} {{- toYaml . | nindent 4 }} {{- end }} From 26447f080a60af263a9c9f8389c98ddaaafc09af Mon Sep 17 00:00:00 2001 From: Nicolas Lamirault Date: Tue, 7 May 2024 07:16:41 +0200 Subject: [PATCH 2/6] add changelog entry Signed-off-by: Nicolas Lamirault --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2df9337a99..cd1262f63d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -81,6 +81,8 @@ v1.1.0-rc.0 ### Other changes +- Support all [Kubernetes recommended labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/) (@nlamirault) + - Update `alloy-mixin` to use more specific alert group names (for example, `alloy_clustering` instead of `clustering`) to avoid collision with installs of `agent-flow-mixin`. (@rfratto) From ed1edde5f0b62d0df2f8266dbe642ca90d6f4277 Mon Sep 17 00:00:00 2001 From: Nicolas Lamirault Date: Tue, 7 May 2024 07:16:53 +0200 Subject: [PATCH 3/6] bump Helm chart version Signed-off-by: Nicolas Lamirault --- operations/helm/charts/alloy/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operations/helm/charts/alloy/Chart.yaml b/operations/helm/charts/alloy/Chart.yaml index 5026dbf4d5..4385674593 100644 --- a/operations/helm/charts/alloy/Chart.yaml +++ b/operations/helm/charts/alloy/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: alloy description: 'Grafana Alloy' type: application -version: 0.1.1 +version: 0.2.0 appVersion: 'v1.0.0' icon: https://raw.githubusercontent.com/grafana/alloy/main/docs/sources/assets/alloy_icon_orange.svg From 1ed4031e7d105fc468deacaeebe5797cd1f808e8 Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Wed, 8 May 2024 13:57:39 -0400 Subject: [PATCH 4/6] move Helm change entry to Helm chart's CHANGELOG.md --- CHANGELOG.md | 2 -- operations/helm/charts/alloy/CHANGELOG.md | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd1262f63d..2df9337a99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -81,8 +81,6 @@ v1.1.0-rc.0 ### Other changes -- Support all [Kubernetes recommended labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/) (@nlamirault) - - Update `alloy-mixin` to use more specific alert group names (for example, `alloy_clustering` instead of `clustering`) to avoid collision with installs of `agent-flow-mixin`. (@rfratto) diff --git a/operations/helm/charts/alloy/CHANGELOG.md b/operations/helm/charts/alloy/CHANGELOG.md index 884bfda2e0..10bb7714a9 100644 --- a/operations/helm/charts/alloy/CHANGELOG.md +++ b/operations/helm/charts/alloy/CHANGELOG.md @@ -7,6 +7,13 @@ This document contains a historical list of changes between releases. Only changes that impact end-user behavior are listed; changes to documentation or internal API changes are not present. +0.2.0 (2024-05-08) +------------------ + +### Other changes + +- Support all [Kubernetes recommended labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/) (@nlamirault) + 0.1.1 (2024-04-11) ------------------ From 4999b78298217fe3f59699bd849fa187362dcb8d Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Wed, 8 May 2024 13:58:28 -0400 Subject: [PATCH 5/6] add Unreleased section to Helm chart CHANGELOG.md --- operations/helm/charts/alloy/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/operations/helm/charts/alloy/CHANGELOG.md b/operations/helm/charts/alloy/CHANGELOG.md index 10bb7714a9..e39b83d9d1 100644 --- a/operations/helm/charts/alloy/CHANGELOG.md +++ b/operations/helm/charts/alloy/CHANGELOG.md @@ -7,6 +7,9 @@ This document contains a historical list of changes between releases. Only changes that impact end-user behavior are listed; changes to documentation or internal API changes are not present. +Unreleased +---------- + 0.2.0 (2024-05-08) ------------------ From 73d56e46ee0c93a789b7c2800ade299f1cb7f0d1 Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Wed, 8 May 2024 13:59:10 -0400 Subject: [PATCH 6/6] `make generate-helm-tests generate-helm-docs` --- operations/helm/charts/alloy/README.md | 2 +- .../alloy/templates/configmap.yaml | 1 + .../additional-serviceaccount-label/alloy/templates/rbac.yaml | 2 ++ .../alloy/templates/service.yaml | 1 + .../alloy/templates/serviceaccount.yaml | 1 + .../helm/tests/clustering/alloy/templates/cluster_service.yaml | 1 + operations/helm/tests/clustering/alloy/templates/configmap.yaml | 1 + operations/helm/tests/clustering/alloy/templates/rbac.yaml | 2 ++ operations/helm/tests/clustering/alloy/templates/service.yaml | 1 + .../helm/tests/clustering/alloy/templates/serviceaccount.yaml | 1 + .../controller-volumes-extra/alloy/templates/configmap.yaml | 1 + .../tests/controller-volumes-extra/alloy/templates/rbac.yaml | 2 ++ .../tests/controller-volumes-extra/alloy/templates/service.yaml | 1 + .../alloy/templates/serviceaccount.yaml | 1 + .../create-daemonset-hostnetwork/alloy/templates/configmap.yaml | 1 + .../create-daemonset-hostnetwork/alloy/templates/rbac.yaml | 2 ++ .../create-daemonset-hostnetwork/alloy/templates/service.yaml | 1 + .../alloy/templates/serviceaccount.yaml | 1 + .../helm/tests/create-daemonset/alloy/templates/configmap.yaml | 1 + .../helm/tests/create-daemonset/alloy/templates/rbac.yaml | 2 ++ .../helm/tests/create-daemonset/alloy/templates/service.yaml | 1 + .../tests/create-daemonset/alloy/templates/serviceaccount.yaml | 1 + .../alloy/templates/configmap.yaml | 1 + .../create-deployment-autoscaling/alloy/templates/hpa.yaml | 1 + .../create-deployment-autoscaling/alloy/templates/rbac.yaml | 2 ++ .../create-deployment-autoscaling/alloy/templates/service.yaml | 1 + .../alloy/templates/serviceaccount.yaml | 1 + .../helm/tests/create-deployment/alloy/templates/configmap.yaml | 1 + .../helm/tests/create-deployment/alloy/templates/rbac.yaml | 2 ++ .../helm/tests/create-deployment/alloy/templates/service.yaml | 1 + .../tests/create-deployment/alloy/templates/serviceaccount.yaml | 1 + .../alloy/templates/configmap.yaml | 1 + .../create-statefulset-autoscaling/alloy/templates/hpa.yaml | 1 + .../create-statefulset-autoscaling/alloy/templates/rbac.yaml | 2 ++ .../create-statefulset-autoscaling/alloy/templates/service.yaml | 1 + .../alloy/templates/serviceaccount.yaml | 1 + .../tests/create-statefulset/alloy/templates/configmap.yaml | 1 + .../helm/tests/create-statefulset/alloy/templates/rbac.yaml | 2 ++ .../helm/tests/create-statefulset/alloy/templates/service.yaml | 1 + .../create-statefulset/alloy/templates/serviceaccount.yaml | 1 + .../helm/tests/custom-config/alloy/templates/configmap.yaml | 1 + operations/helm/tests/custom-config/alloy/templates/rbac.yaml | 2 ++ .../helm/tests/custom-config/alloy/templates/service.yaml | 1 + .../tests/custom-config/alloy/templates/serviceaccount.yaml | 1 + .../helm/tests/default-values/alloy/templates/configmap.yaml | 1 + operations/helm/tests/default-values/alloy/templates/rbac.yaml | 2 ++ .../helm/tests/default-values/alloy/templates/service.yaml | 1 + .../tests/default-values/alloy/templates/serviceaccount.yaml | 1 + .../enable-servicemonitor-tls/alloy/templates/configmap.yaml | 1 + .../tests/enable-servicemonitor-tls/alloy/templates/rbac.yaml | 2 ++ .../enable-servicemonitor-tls/alloy/templates/service.yaml | 1 + .../alloy/templates/serviceaccount.yaml | 1 + .../alloy/templates/servicemonitor.yaml | 1 + .../tests/enable-servicemonitor/alloy/templates/configmap.yaml | 1 + .../helm/tests/enable-servicemonitor/alloy/templates/rbac.yaml | 2 ++ .../tests/enable-servicemonitor/alloy/templates/service.yaml | 1 + .../enable-servicemonitor/alloy/templates/serviceaccount.yaml | 1 + .../enable-servicemonitor/alloy/templates/servicemonitor.yaml | 1 + operations/helm/tests/envFrom/alloy/templates/configmap.yaml | 1 + operations/helm/tests/envFrom/alloy/templates/rbac.yaml | 2 ++ operations/helm/tests/envFrom/alloy/templates/service.yaml | 1 + .../helm/tests/envFrom/alloy/templates/serviceaccount.yaml | 1 + operations/helm/tests/existing-config/alloy/templates/rbac.yaml | 2 ++ .../helm/tests/existing-config/alloy/templates/service.yaml | 1 + .../tests/existing-config/alloy/templates/serviceaccount.yaml | 1 + operations/helm/tests/extra-env/alloy/templates/configmap.yaml | 1 + operations/helm/tests/extra-env/alloy/templates/rbac.yaml | 2 ++ operations/helm/tests/extra-env/alloy/templates/service.yaml | 1 + .../helm/tests/extra-env/alloy/templates/serviceaccount.yaml | 1 + .../helm/tests/extra-ports/alloy/templates/configmap.yaml | 1 + operations/helm/tests/extra-ports/alloy/templates/rbac.yaml | 2 ++ operations/helm/tests/extra-ports/alloy/templates/service.yaml | 1 + .../helm/tests/extra-ports/alloy/templates/serviceaccount.yaml | 1 + .../helm/tests/faro-ingress/alloy/templates/configmap.yaml | 1 + operations/helm/tests/faro-ingress/alloy/templates/ingress.yaml | 1 + operations/helm/tests/faro-ingress/alloy/templates/rbac.yaml | 2 ++ operations/helm/tests/faro-ingress/alloy/templates/service.yaml | 1 + .../helm/tests/faro-ingress/alloy/templates/serviceaccount.yaml | 1 + .../global-image-pullsecrets/alloy/templates/configmap.yaml | 1 + .../tests/global-image-pullsecrets/alloy/templates/rbac.yaml | 2 ++ .../tests/global-image-pullsecrets/alloy/templates/service.yaml | 1 + .../alloy/templates/serviceaccount.yaml | 1 + .../tests/global-image-registry/alloy/templates/configmap.yaml | 1 + .../helm/tests/global-image-registry/alloy/templates/rbac.yaml | 2 ++ .../tests/global-image-registry/alloy/templates/service.yaml | 1 + .../global-image-registry/alloy/templates/serviceaccount.yaml | 1 + .../helm/tests/initcontainers/alloy/templates/configmap.yaml | 1 + operations/helm/tests/initcontainers/alloy/templates/rbac.yaml | 2 ++ .../helm/tests/initcontainers/alloy/templates/service.yaml | 1 + .../tests/initcontainers/alloy/templates/serviceaccount.yaml | 1 + .../local-image-pullsecrets/alloy/templates/configmap.yaml | 1 + .../tests/local-image-pullsecrets/alloy/templates/rbac.yaml | 2 ++ .../tests/local-image-pullsecrets/alloy/templates/service.yaml | 1 + .../local-image-pullsecrets/alloy/templates/serviceaccount.yaml | 1 + .../tests/local-image-registry/alloy/templates/configmap.yaml | 1 + .../helm/tests/local-image-registry/alloy/templates/rbac.yaml | 2 ++ .../tests/local-image-registry/alloy/templates/service.yaml | 1 + .../local-image-registry/alloy/templates/serviceaccount.yaml | 1 + .../alloy/templates/configmap.yaml | 1 + .../nodeselectors-and-tolerations/alloy/templates/rbac.yaml | 2 ++ .../nodeselectors-and-tolerations/alloy/templates/service.yaml | 1 + .../alloy/templates/serviceaccount.yaml | 1 + operations/helm/tests/nonroot/alloy/templates/configmap.yaml | 1 + operations/helm/tests/nonroot/alloy/templates/rbac.yaml | 2 ++ operations/helm/tests/nonroot/alloy/templates/service.yaml | 1 + .../helm/tests/nonroot/alloy/templates/serviceaccount.yaml | 1 + .../helm/tests/pod_annotations/alloy/templates/configmap.yaml | 1 + operations/helm/tests/pod_annotations/alloy/templates/rbac.yaml | 2 ++ .../helm/tests/pod_annotations/alloy/templates/service.yaml | 1 + .../tests/pod_annotations/alloy/templates/serviceaccount.yaml | 1 + operations/helm/tests/sidecars/alloy/templates/configmap.yaml | 1 + operations/helm/tests/sidecars/alloy/templates/rbac.yaml | 2 ++ operations/helm/tests/sidecars/alloy/templates/service.yaml | 1 + .../helm/tests/sidecars/alloy/templates/serviceaccount.yaml | 1 + .../topologyspreadconstraints/alloy/templates/configmap.yaml | 1 + .../tests/topologyspreadconstraints/alloy/templates/rbac.yaml | 2 ++ .../topologyspreadconstraints/alloy/templates/service.yaml | 1 + .../alloy/templates/serviceaccount.yaml | 1 + .../helm/tests/with-digests/alloy/templates/configmap.yaml | 1 + operations/helm/tests/with-digests/alloy/templates/rbac.yaml | 2 ++ operations/helm/tests/with-digests/alloy/templates/service.yaml | 1 + .../helm/tests/with-digests/alloy/templates/serviceaccount.yaml | 1 + 122 files changed, 151 insertions(+), 1 deletion(-) diff --git a/operations/helm/charts/alloy/README.md b/operations/helm/charts/alloy/README.md index 9a67fadf52..b92cd0d679 100644 --- a/operations/helm/charts/alloy/README.md +++ b/operations/helm/charts/alloy/README.md @@ -1,6 +1,6 @@ # Grafana Alloy Helm chart -![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![AppVersion: v1.0.0](https://img.shields.io/badge/AppVersion-v1.0.0-informational?style=flat-square) +![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![AppVersion: v1.0.0](https://img.shields.io/badge/AppVersion-v1.0.0-informational?style=flat-square) Helm chart for deploying [Grafana Alloy][] to Kubernetes. diff --git a/operations/helm/tests/additional-serviceaccount-label/alloy/templates/configmap.yaml b/operations/helm/tests/additional-serviceaccount-label/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/additional-serviceaccount-label/alloy/templates/configmap.yaml +++ b/operations/helm/tests/additional-serviceaccount-label/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/additional-serviceaccount-label/alloy/templates/rbac.yaml b/operations/helm/tests/additional-serviceaccount-label/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/additional-serviceaccount-label/alloy/templates/rbac.yaml +++ b/operations/helm/tests/additional-serviceaccount-label/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/additional-serviceaccount-label/alloy/templates/service.yaml b/operations/helm/tests/additional-serviceaccount-label/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/additional-serviceaccount-label/alloy/templates/service.yaml +++ b/operations/helm/tests/additional-serviceaccount-label/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/additional-serviceaccount-label/alloy/templates/serviceaccount.yaml b/operations/helm/tests/additional-serviceaccount-label/alloy/templates/serviceaccount.yaml index 8c685ec855..d28a7ca16d 100644 --- a/operations/helm/tests/additional-serviceaccount-label/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/additional-serviceaccount-label/alloy/templates/serviceaccount.yaml @@ -11,4 +11,5 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac test: "true" diff --git a/operations/helm/tests/clustering/alloy/templates/cluster_service.yaml b/operations/helm/tests/clustering/alloy/templates/cluster_service.yaml index cf7242b4b0..5f6299cc8d 100644 --- a/operations/helm/tests/clustering/alloy/templates/cluster_service.yaml +++ b/operations/helm/tests/clustering/alloy/templates/cluster_service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP clusterIP: 'None' diff --git a/operations/helm/tests/clustering/alloy/templates/configmap.yaml b/operations/helm/tests/clustering/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/clustering/alloy/templates/configmap.yaml +++ b/operations/helm/tests/clustering/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/clustering/alloy/templates/rbac.yaml b/operations/helm/tests/clustering/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/clustering/alloy/templates/rbac.yaml +++ b/operations/helm/tests/clustering/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/clustering/alloy/templates/service.yaml b/operations/helm/tests/clustering/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/clustering/alloy/templates/service.yaml +++ b/operations/helm/tests/clustering/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/clustering/alloy/templates/serviceaccount.yaml b/operations/helm/tests/clustering/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/clustering/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/clustering/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/controller-volumes-extra/alloy/templates/configmap.yaml b/operations/helm/tests/controller-volumes-extra/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/controller-volumes-extra/alloy/templates/configmap.yaml +++ b/operations/helm/tests/controller-volumes-extra/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/controller-volumes-extra/alloy/templates/rbac.yaml b/operations/helm/tests/controller-volumes-extra/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/controller-volumes-extra/alloy/templates/rbac.yaml +++ b/operations/helm/tests/controller-volumes-extra/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/controller-volumes-extra/alloy/templates/service.yaml b/operations/helm/tests/controller-volumes-extra/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/controller-volumes-extra/alloy/templates/service.yaml +++ b/operations/helm/tests/controller-volumes-extra/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/controller-volumes-extra/alloy/templates/serviceaccount.yaml b/operations/helm/tests/controller-volumes-extra/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/controller-volumes-extra/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/controller-volumes-extra/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/configmap.yaml b/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/configmap.yaml +++ b/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/rbac.yaml b/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/rbac.yaml +++ b/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/service.yaml b/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/service.yaml +++ b/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/serviceaccount.yaml b/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/create-daemonset-hostnetwork/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/create-daemonset/alloy/templates/configmap.yaml b/operations/helm/tests/create-daemonset/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/create-daemonset/alloy/templates/configmap.yaml +++ b/operations/helm/tests/create-daemonset/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/create-daemonset/alloy/templates/rbac.yaml b/operations/helm/tests/create-daemonset/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/create-daemonset/alloy/templates/rbac.yaml +++ b/operations/helm/tests/create-daemonset/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/create-daemonset/alloy/templates/service.yaml b/operations/helm/tests/create-daemonset/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/create-daemonset/alloy/templates/service.yaml +++ b/operations/helm/tests/create-daemonset/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/create-daemonset/alloy/templates/serviceaccount.yaml b/operations/helm/tests/create-daemonset/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/create-daemonset/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/create-daemonset/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/create-deployment-autoscaling/alloy/templates/configmap.yaml b/operations/helm/tests/create-deployment-autoscaling/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/create-deployment-autoscaling/alloy/templates/configmap.yaml +++ b/operations/helm/tests/create-deployment-autoscaling/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/create-deployment-autoscaling/alloy/templates/hpa.yaml b/operations/helm/tests/create-deployment-autoscaling/alloy/templates/hpa.yaml index 7914063972..df0e8ad824 100644 --- a/operations/helm/tests/create-deployment-autoscaling/alloy/templates/hpa.yaml +++ b/operations/helm/tests/create-deployment-autoscaling/alloy/templates/hpa.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: availability spec: scaleTargetRef: apiVersion: apps/v1 diff --git a/operations/helm/tests/create-deployment-autoscaling/alloy/templates/rbac.yaml b/operations/helm/tests/create-deployment-autoscaling/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/create-deployment-autoscaling/alloy/templates/rbac.yaml +++ b/operations/helm/tests/create-deployment-autoscaling/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/create-deployment-autoscaling/alloy/templates/service.yaml b/operations/helm/tests/create-deployment-autoscaling/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/create-deployment-autoscaling/alloy/templates/service.yaml +++ b/operations/helm/tests/create-deployment-autoscaling/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/create-deployment-autoscaling/alloy/templates/serviceaccount.yaml b/operations/helm/tests/create-deployment-autoscaling/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/create-deployment-autoscaling/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/create-deployment-autoscaling/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/create-deployment/alloy/templates/configmap.yaml b/operations/helm/tests/create-deployment/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/create-deployment/alloy/templates/configmap.yaml +++ b/operations/helm/tests/create-deployment/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/create-deployment/alloy/templates/rbac.yaml b/operations/helm/tests/create-deployment/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/create-deployment/alloy/templates/rbac.yaml +++ b/operations/helm/tests/create-deployment/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/create-deployment/alloy/templates/service.yaml b/operations/helm/tests/create-deployment/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/create-deployment/alloy/templates/service.yaml +++ b/operations/helm/tests/create-deployment/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/create-deployment/alloy/templates/serviceaccount.yaml b/operations/helm/tests/create-deployment/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/create-deployment/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/create-deployment/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/configmap.yaml b/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/configmap.yaml +++ b/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/hpa.yaml b/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/hpa.yaml index 2dd9b01343..3cb8e6d366 100644 --- a/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/hpa.yaml +++ b/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/hpa.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: availability spec: scaleTargetRef: apiVersion: apps/v1 diff --git a/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/rbac.yaml b/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/rbac.yaml +++ b/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/service.yaml b/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/service.yaml +++ b/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/serviceaccount.yaml b/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/create-statefulset-autoscaling/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/create-statefulset/alloy/templates/configmap.yaml b/operations/helm/tests/create-statefulset/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/create-statefulset/alloy/templates/configmap.yaml +++ b/operations/helm/tests/create-statefulset/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/create-statefulset/alloy/templates/rbac.yaml b/operations/helm/tests/create-statefulset/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/create-statefulset/alloy/templates/rbac.yaml +++ b/operations/helm/tests/create-statefulset/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/create-statefulset/alloy/templates/service.yaml b/operations/helm/tests/create-statefulset/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/create-statefulset/alloy/templates/service.yaml +++ b/operations/helm/tests/create-statefulset/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/create-statefulset/alloy/templates/serviceaccount.yaml b/operations/helm/tests/create-statefulset/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/create-statefulset/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/create-statefulset/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/custom-config/alloy/templates/configmap.yaml b/operations/helm/tests/custom-config/alloy/templates/configmap.yaml index c6f25b8a10..cb45403406 100644 --- a/operations/helm/tests/custom-config/alloy/templates/configmap.yaml +++ b/operations/helm/tests/custom-config/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/custom-config/alloy/templates/rbac.yaml b/operations/helm/tests/custom-config/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/custom-config/alloy/templates/rbac.yaml +++ b/operations/helm/tests/custom-config/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/custom-config/alloy/templates/service.yaml b/operations/helm/tests/custom-config/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/custom-config/alloy/templates/service.yaml +++ b/operations/helm/tests/custom-config/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/custom-config/alloy/templates/serviceaccount.yaml b/operations/helm/tests/custom-config/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/custom-config/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/custom-config/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/default-values/alloy/templates/configmap.yaml b/operations/helm/tests/default-values/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/default-values/alloy/templates/configmap.yaml +++ b/operations/helm/tests/default-values/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/default-values/alloy/templates/rbac.yaml b/operations/helm/tests/default-values/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/default-values/alloy/templates/rbac.yaml +++ b/operations/helm/tests/default-values/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/default-values/alloy/templates/service.yaml b/operations/helm/tests/default-values/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/default-values/alloy/templates/service.yaml +++ b/operations/helm/tests/default-values/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/default-values/alloy/templates/serviceaccount.yaml b/operations/helm/tests/default-values/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/default-values/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/default-values/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/configmap.yaml b/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/configmap.yaml +++ b/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/rbac.yaml b/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/rbac.yaml +++ b/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/service.yaml b/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/service.yaml +++ b/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/serviceaccount.yaml b/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/servicemonitor.yaml b/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/servicemonitor.yaml index ac88625439..83d03c8f3c 100644 --- a/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/servicemonitor.yaml +++ b/operations/helm/tests/enable-servicemonitor-tls/alloy/templates/servicemonitor.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: metrics spec: endpoints: - port: http-metrics diff --git a/operations/helm/tests/enable-servicemonitor/alloy/templates/configmap.yaml b/operations/helm/tests/enable-servicemonitor/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/enable-servicemonitor/alloy/templates/configmap.yaml +++ b/operations/helm/tests/enable-servicemonitor/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/enable-servicemonitor/alloy/templates/rbac.yaml b/operations/helm/tests/enable-servicemonitor/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/enable-servicemonitor/alloy/templates/rbac.yaml +++ b/operations/helm/tests/enable-servicemonitor/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/enable-servicemonitor/alloy/templates/service.yaml b/operations/helm/tests/enable-servicemonitor/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/enable-servicemonitor/alloy/templates/service.yaml +++ b/operations/helm/tests/enable-servicemonitor/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/enable-servicemonitor/alloy/templates/serviceaccount.yaml b/operations/helm/tests/enable-servicemonitor/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/enable-servicemonitor/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/enable-servicemonitor/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/enable-servicemonitor/alloy/templates/servicemonitor.yaml b/operations/helm/tests/enable-servicemonitor/alloy/templates/servicemonitor.yaml index 0437bb1ef1..929273ee47 100644 --- a/operations/helm/tests/enable-servicemonitor/alloy/templates/servicemonitor.yaml +++ b/operations/helm/tests/enable-servicemonitor/alloy/templates/servicemonitor.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: metrics spec: endpoints: - port: http-metrics diff --git a/operations/helm/tests/envFrom/alloy/templates/configmap.yaml b/operations/helm/tests/envFrom/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/envFrom/alloy/templates/configmap.yaml +++ b/operations/helm/tests/envFrom/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/envFrom/alloy/templates/rbac.yaml b/operations/helm/tests/envFrom/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/envFrom/alloy/templates/rbac.yaml +++ b/operations/helm/tests/envFrom/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/envFrom/alloy/templates/service.yaml b/operations/helm/tests/envFrom/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/envFrom/alloy/templates/service.yaml +++ b/operations/helm/tests/envFrom/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/envFrom/alloy/templates/serviceaccount.yaml b/operations/helm/tests/envFrom/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/envFrom/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/envFrom/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/existing-config/alloy/templates/rbac.yaml b/operations/helm/tests/existing-config/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/existing-config/alloy/templates/rbac.yaml +++ b/operations/helm/tests/existing-config/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/existing-config/alloy/templates/service.yaml b/operations/helm/tests/existing-config/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/existing-config/alloy/templates/service.yaml +++ b/operations/helm/tests/existing-config/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/existing-config/alloy/templates/serviceaccount.yaml b/operations/helm/tests/existing-config/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/existing-config/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/existing-config/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/extra-env/alloy/templates/configmap.yaml b/operations/helm/tests/extra-env/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/extra-env/alloy/templates/configmap.yaml +++ b/operations/helm/tests/extra-env/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/extra-env/alloy/templates/rbac.yaml b/operations/helm/tests/extra-env/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/extra-env/alloy/templates/rbac.yaml +++ b/operations/helm/tests/extra-env/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/extra-env/alloy/templates/service.yaml b/operations/helm/tests/extra-env/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/extra-env/alloy/templates/service.yaml +++ b/operations/helm/tests/extra-env/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/extra-env/alloy/templates/serviceaccount.yaml b/operations/helm/tests/extra-env/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/extra-env/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/extra-env/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/extra-ports/alloy/templates/configmap.yaml b/operations/helm/tests/extra-ports/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/extra-ports/alloy/templates/configmap.yaml +++ b/operations/helm/tests/extra-ports/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/extra-ports/alloy/templates/rbac.yaml b/operations/helm/tests/extra-ports/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/extra-ports/alloy/templates/rbac.yaml +++ b/operations/helm/tests/extra-ports/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/extra-ports/alloy/templates/service.yaml b/operations/helm/tests/extra-ports/alloy/templates/service.yaml index b134bbbb0e..e8edb80d7e 100644 --- a/operations/helm/tests/extra-ports/alloy/templates/service.yaml +++ b/operations/helm/tests/extra-ports/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/extra-ports/alloy/templates/serviceaccount.yaml b/operations/helm/tests/extra-ports/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/extra-ports/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/extra-ports/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/faro-ingress/alloy/templates/configmap.yaml b/operations/helm/tests/faro-ingress/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/faro-ingress/alloy/templates/configmap.yaml +++ b/operations/helm/tests/faro-ingress/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/faro-ingress/alloy/templates/ingress.yaml b/operations/helm/tests/faro-ingress/alloy/templates/ingress.yaml index 7c4b32c460..f1fafc19f6 100644 --- a/operations/helm/tests/faro-ingress/alloy/templates/ingress.yaml +++ b/operations/helm/tests/faro-ingress/alloy/templates/ingress.yaml @@ -11,6 +11,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: rules: - host: chart-example.local diff --git a/operations/helm/tests/faro-ingress/alloy/templates/rbac.yaml b/operations/helm/tests/faro-ingress/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/faro-ingress/alloy/templates/rbac.yaml +++ b/operations/helm/tests/faro-ingress/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/faro-ingress/alloy/templates/service.yaml b/operations/helm/tests/faro-ingress/alloy/templates/service.yaml index fc3c7b3429..94dceaae52 100644 --- a/operations/helm/tests/faro-ingress/alloy/templates/service.yaml +++ b/operations/helm/tests/faro-ingress/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/faro-ingress/alloy/templates/serviceaccount.yaml b/operations/helm/tests/faro-ingress/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/faro-ingress/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/faro-ingress/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/global-image-pullsecrets/alloy/templates/configmap.yaml b/operations/helm/tests/global-image-pullsecrets/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/global-image-pullsecrets/alloy/templates/configmap.yaml +++ b/operations/helm/tests/global-image-pullsecrets/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/global-image-pullsecrets/alloy/templates/rbac.yaml b/operations/helm/tests/global-image-pullsecrets/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/global-image-pullsecrets/alloy/templates/rbac.yaml +++ b/operations/helm/tests/global-image-pullsecrets/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/global-image-pullsecrets/alloy/templates/service.yaml b/operations/helm/tests/global-image-pullsecrets/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/global-image-pullsecrets/alloy/templates/service.yaml +++ b/operations/helm/tests/global-image-pullsecrets/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/global-image-pullsecrets/alloy/templates/serviceaccount.yaml b/operations/helm/tests/global-image-pullsecrets/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/global-image-pullsecrets/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/global-image-pullsecrets/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/global-image-registry/alloy/templates/configmap.yaml b/operations/helm/tests/global-image-registry/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/global-image-registry/alloy/templates/configmap.yaml +++ b/operations/helm/tests/global-image-registry/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/global-image-registry/alloy/templates/rbac.yaml b/operations/helm/tests/global-image-registry/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/global-image-registry/alloy/templates/rbac.yaml +++ b/operations/helm/tests/global-image-registry/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/global-image-registry/alloy/templates/service.yaml b/operations/helm/tests/global-image-registry/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/global-image-registry/alloy/templates/service.yaml +++ b/operations/helm/tests/global-image-registry/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/global-image-registry/alloy/templates/serviceaccount.yaml b/operations/helm/tests/global-image-registry/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/global-image-registry/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/global-image-registry/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/initcontainers/alloy/templates/configmap.yaml b/operations/helm/tests/initcontainers/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/initcontainers/alloy/templates/configmap.yaml +++ b/operations/helm/tests/initcontainers/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/initcontainers/alloy/templates/rbac.yaml b/operations/helm/tests/initcontainers/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/initcontainers/alloy/templates/rbac.yaml +++ b/operations/helm/tests/initcontainers/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/initcontainers/alloy/templates/service.yaml b/operations/helm/tests/initcontainers/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/initcontainers/alloy/templates/service.yaml +++ b/operations/helm/tests/initcontainers/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/initcontainers/alloy/templates/serviceaccount.yaml b/operations/helm/tests/initcontainers/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/initcontainers/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/initcontainers/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/local-image-pullsecrets/alloy/templates/configmap.yaml b/operations/helm/tests/local-image-pullsecrets/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/local-image-pullsecrets/alloy/templates/configmap.yaml +++ b/operations/helm/tests/local-image-pullsecrets/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/local-image-pullsecrets/alloy/templates/rbac.yaml b/operations/helm/tests/local-image-pullsecrets/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/local-image-pullsecrets/alloy/templates/rbac.yaml +++ b/operations/helm/tests/local-image-pullsecrets/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/local-image-pullsecrets/alloy/templates/service.yaml b/operations/helm/tests/local-image-pullsecrets/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/local-image-pullsecrets/alloy/templates/service.yaml +++ b/operations/helm/tests/local-image-pullsecrets/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/local-image-pullsecrets/alloy/templates/serviceaccount.yaml b/operations/helm/tests/local-image-pullsecrets/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/local-image-pullsecrets/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/local-image-pullsecrets/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/local-image-registry/alloy/templates/configmap.yaml b/operations/helm/tests/local-image-registry/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/local-image-registry/alloy/templates/configmap.yaml +++ b/operations/helm/tests/local-image-registry/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/local-image-registry/alloy/templates/rbac.yaml b/operations/helm/tests/local-image-registry/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/local-image-registry/alloy/templates/rbac.yaml +++ b/operations/helm/tests/local-image-registry/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/local-image-registry/alloy/templates/service.yaml b/operations/helm/tests/local-image-registry/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/local-image-registry/alloy/templates/service.yaml +++ b/operations/helm/tests/local-image-registry/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/local-image-registry/alloy/templates/serviceaccount.yaml b/operations/helm/tests/local-image-registry/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/local-image-registry/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/local-image-registry/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/configmap.yaml b/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/configmap.yaml +++ b/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/rbac.yaml b/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/rbac.yaml +++ b/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/service.yaml b/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/service.yaml +++ b/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/serviceaccount.yaml b/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/nodeselectors-and-tolerations/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/nonroot/alloy/templates/configmap.yaml b/operations/helm/tests/nonroot/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/nonroot/alloy/templates/configmap.yaml +++ b/operations/helm/tests/nonroot/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/nonroot/alloy/templates/rbac.yaml b/operations/helm/tests/nonroot/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/nonroot/alloy/templates/rbac.yaml +++ b/operations/helm/tests/nonroot/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/nonroot/alloy/templates/service.yaml b/operations/helm/tests/nonroot/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/nonroot/alloy/templates/service.yaml +++ b/operations/helm/tests/nonroot/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/nonroot/alloy/templates/serviceaccount.yaml b/operations/helm/tests/nonroot/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/nonroot/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/nonroot/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/pod_annotations/alloy/templates/configmap.yaml b/operations/helm/tests/pod_annotations/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/pod_annotations/alloy/templates/configmap.yaml +++ b/operations/helm/tests/pod_annotations/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/pod_annotations/alloy/templates/rbac.yaml b/operations/helm/tests/pod_annotations/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/pod_annotations/alloy/templates/rbac.yaml +++ b/operations/helm/tests/pod_annotations/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/pod_annotations/alloy/templates/service.yaml b/operations/helm/tests/pod_annotations/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/pod_annotations/alloy/templates/service.yaml +++ b/operations/helm/tests/pod_annotations/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/pod_annotations/alloy/templates/serviceaccount.yaml b/operations/helm/tests/pod_annotations/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/pod_annotations/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/pod_annotations/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/sidecars/alloy/templates/configmap.yaml b/operations/helm/tests/sidecars/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/sidecars/alloy/templates/configmap.yaml +++ b/operations/helm/tests/sidecars/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/sidecars/alloy/templates/rbac.yaml b/operations/helm/tests/sidecars/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/sidecars/alloy/templates/rbac.yaml +++ b/operations/helm/tests/sidecars/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/sidecars/alloy/templates/service.yaml b/operations/helm/tests/sidecars/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/sidecars/alloy/templates/service.yaml +++ b/operations/helm/tests/sidecars/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/sidecars/alloy/templates/serviceaccount.yaml b/operations/helm/tests/sidecars/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/sidecars/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/sidecars/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/topologyspreadconstraints/alloy/templates/configmap.yaml b/operations/helm/tests/topologyspreadconstraints/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/topologyspreadconstraints/alloy/templates/configmap.yaml +++ b/operations/helm/tests/topologyspreadconstraints/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/topologyspreadconstraints/alloy/templates/rbac.yaml b/operations/helm/tests/topologyspreadconstraints/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/topologyspreadconstraints/alloy/templates/rbac.yaml +++ b/operations/helm/tests/topologyspreadconstraints/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/topologyspreadconstraints/alloy/templates/service.yaml b/operations/helm/tests/topologyspreadconstraints/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/topologyspreadconstraints/alloy/templates/service.yaml +++ b/operations/helm/tests/topologyspreadconstraints/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/topologyspreadconstraints/alloy/templates/serviceaccount.yaml b/operations/helm/tests/topologyspreadconstraints/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/topologyspreadconstraints/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/topologyspreadconstraints/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac diff --git a/operations/helm/tests/with-digests/alloy/templates/configmap.yaml b/operations/helm/tests/with-digests/alloy/templates/configmap.yaml index a707821166..381ccbff2f 100644 --- a/operations/helm/tests/with-digests/alloy/templates/configmap.yaml +++ b/operations/helm/tests/with-digests/alloy/templates/configmap.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: config data: config.alloy: |- logging { diff --git a/operations/helm/tests/with-digests/alloy/templates/rbac.yaml b/operations/helm/tests/with-digests/alloy/templates/rbac.yaml index 53ca27544f..58fe9c6a84 100644 --- a/operations/helm/tests/with-digests/alloy/templates/rbac.yaml +++ b/operations/helm/tests/with-digests/alloy/templates/rbac.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac rules: # Rules which allow discovery.kubernetes to function. - apiGroups: @@ -107,6 +108,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/operations/helm/tests/with-digests/alloy/templates/service.yaml b/operations/helm/tests/with-digests/alloy/templates/service.yaml index 5ad4e6c411..0e9857aef6 100644 --- a/operations/helm/tests/with-digests/alloy/templates/service.yaml +++ b/operations/helm/tests/with-digests/alloy/templates/service.yaml @@ -10,6 +10,7 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: networking spec: type: ClusterIP selector: diff --git a/operations/helm/tests/with-digests/alloy/templates/serviceaccount.yaml b/operations/helm/tests/with-digests/alloy/templates/serviceaccount.yaml index 46df991efb..16959476b1 100644 --- a/operations/helm/tests/with-digests/alloy/templates/serviceaccount.yaml +++ b/operations/helm/tests/with-digests/alloy/templates/serviceaccount.yaml @@ -11,3 +11,4 @@ metadata: app.kubernetes.io/instance: alloy app.kubernetes.io/version: "vX.Y.Z" app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: rbac