From c7a3f7937fe224f7d308c8a66048e101bac73be4 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Fri, 26 Jul 2024 17:37:00 +0200 Subject: [PATCH] chore: run kubectl when chart changed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Made with ❤️️ by updatecli --- grafana-agent.yaml | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/grafana-agent.yaml b/grafana-agent.yaml index 1147f12..7d74761 100644 --- a/grafana-agent.yaml +++ b/grafana-agent.yaml @@ -6958,6 +6958,7 @@ metadata: namespace: grafana-agent --- apiVersion: v1 +automountServiceAccountToken: true kind: ServiceAccount metadata: labels: @@ -6966,8 +6967,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: kube-state-metrics app.kubernetes.io/part-of: kube-state-metrics - app.kubernetes.io/version: 2.12.0 - helm.sh/chart: kube-state-metrics-5.20.1 + app.kubernetes.io/version: 2.13.0 + helm.sh/chart: kube-state-metrics-5.24.0 name: ksm-kube-state-metrics namespace: kube-system --- @@ -7077,8 +7078,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: kube-state-metrics app.kubernetes.io/part-of: kube-state-metrics - app.kubernetes.io/version: 2.12.0 - helm.sh/chart: kube-state-metrics-5.20.1 + app.kubernetes.io/version: 2.13.0 + helm.sh/chart: kube-state-metrics-5.24.0 name: ksm-kube-state-metrics rules: - apiGroups: @@ -7311,8 +7312,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: kube-state-metrics app.kubernetes.io/part-of: kube-state-metrics - app.kubernetes.io/version: 2.12.0 - helm.sh/chart: kube-state-metrics-5.20.1 + app.kubernetes.io/version: 2.13.0 + helm.sh/chart: kube-state-metrics-5.24.0 name: ksm-kube-state-metrics roleRef: apiGroup: rbac.authorization.k8s.io @@ -7334,8 +7335,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: kube-state-metrics app.kubernetes.io/part-of: kube-state-metrics - app.kubernetes.io/version: 2.12.0 - helm.sh/chart: kube-state-metrics-5.20.1 + app.kubernetes.io/version: 2.13.0 + helm.sh/chart: kube-state-metrics-5.24.0 name: ksm-kube-state-metrics namespace: kube-system spec: @@ -7394,8 +7395,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: kube-state-metrics app.kubernetes.io/part-of: kube-state-metrics - app.kubernetes.io/version: 2.12.0 - helm.sh/chart: kube-state-metrics-5.20.1 + app.kubernetes.io/version: 2.13.0 + helm.sh/chart: kube-state-metrics-5.24.0 name: ksm-kube-state-metrics namespace: kube-system spec: @@ -7415,20 +7416,21 @@ spec: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: kube-state-metrics app.kubernetes.io/part-of: kube-state-metrics - app.kubernetes.io/version: 2.12.0 - helm.sh/chart: kube-state-metrics-5.20.1 + app.kubernetes.io/version: 2.13.0 + helm.sh/chart: kube-state-metrics-5.24.0 spec: + automountServiceAccountToken: true containers: - args: - --port=8080 - --resources=certificatesigningrequests,configmaps,cronjobs,daemonsets,deployments,endpoints,horizontalpodautoscalers,ingresses,jobs,leases,limitranges,mutatingwebhookconfigurations,namespaces,networkpolicies,nodes,persistentvolumeclaims,persistentvolumes,poddisruptionbudgets,pods,replicasets,replicationcontrollers,resourcequotas,secrets,services,statefulsets,storageclasses,validatingwebhookconfigurations,volumeattachments - image: registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.12.0 + image: registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.13.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 3 httpGet: httpHeaders: null - path: /healthz + path: /livez port: 8080 scheme: HTTP initialDelaySeconds: 5 @@ -7443,7 +7445,7 @@ spec: failureThreshold: 3 httpGet: httpHeaders: null - path: / + path: /readyz port: 8080 scheme: HTTP initialDelaySeconds: 5