diff --git a/operations/helm/charts/alloy/CHANGELOG.md b/operations/helm/charts/alloy/CHANGELOG.md index 884bfda2e0..e39b83d9d1 100644 --- a/operations/helm/charts/alloy/CHANGELOG.md +++ b/operations/helm/charts/alloy/CHANGELOG.md @@ -7,6 +7,16 @@ 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) +------------------ + +### 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) ------------------ 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 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/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 }} 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