Skip to content

Commit

Permalink
feat(helm/chart/template): set namespace for RBAC's service account (g…
Browse files Browse the repository at this point in the history
…rafana#6061)

Signed-off-by: hainenber <[email protected]>
  • Loading branch information
hainenber authored and BarunKGP committed Feb 20, 2024
1 parent 78e36f4 commit 5371b89
Show file tree
Hide file tree
Showing 27 changed files with 34 additions and 5 deletions.
13 changes: 8 additions & 5 deletions operations/helm/charts/grafana-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ internal API changes are not present.
Unreleased
----------

### Bugfixes

- Configure namespace for service account when RBAC resources is created. (@hainenber)

### Other changes

- Change config reloader image to `ghcr.io/jimmidyson/configmap-reload:v0.12.0` to reflect change in repository and version. (@berendiwema)

0.30.0 (2024-01-05)
-------------------

Expand All @@ -23,11 +31,6 @@ Unreleased

- Statefulset should use value `.controller.enableStatefulSetAutoDeletePVC` instead of just `.enableStatefulSetAutoDeletePVC`. (@captncraig)

### Other changes

- Change config reloader image to `ghcr.io/jimmidyson/configmap-reload:v0.12.0` to reflect change in repository and version. (@berendiwema)


0.29.0 (2023-11-30)
-------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "grafana-agent.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "grafana-agent.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.additionalLabels }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: default
labels:
helm.sh/chart: grafana-agent
app.kubernetes.io/name: grafana-agent
Expand Down

0 comments on commit 5371b89

Please sign in to comment.