helm chart: fix role/PSP mapping (#8656)

**What this PR does / why we need it**:

Fixes role/PSP and role/SCC mapping in Helm chart.

**Which issue(s) this PR fixes**:
Fixes #8652

**Special notes for your reviewer**:

**Checklist**
- [x] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [ ] Documentation added
- [ ] Tests updated
- [x] `CHANGELOG.md` updated
- [ ] Changes that require user attention or interaction to upgrade are
documented in `docs/sources/upgrading/_index.md`

Co-authored-by: Herve Nicol <12008875+hervenicol@users.noreply.github.com>
pull/8600/head^2
Hervé Nicol 2 years ago committed by GitHub
parent 37c0b3dec2
commit 9688f83954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      production/helm/loki/CHANGELOG.md
  2. 4
      production/helm/loki/templates/role.yaml

@ -13,11 +13,12 @@ Entries should include a reference to the pull request that introduced the chang
[//]: # (<AUTOMATED_UPDATES_LOCATOR> : do not remove this line. This locator is used by the CI pipeline to automatically create a changelog entry for each new Loki release. Add other chart versions and respective changelog entries bellow this line.)
- [BUGFIX] Fix role/PSP mapping
## 4.8.0
- [CHANGE] Changed version of Grafana Enterprise Logs to v1.6.2
## 4.7
- [CHANGE] **BREAKING** Rename `gel-license.jwt` property of secret `gel-secrets` to `license.jwt` on enterprise-logs chart.

@ -15,7 +15,7 @@ rules:
verbs:
- use
resourceNames:
- {{ include "loki.fullname" . }}
- {{ include "loki.name" . }}
{{- end }}
{{- if .Values.rbac.sccEnabled }}
rules:
@ -26,6 +26,6 @@ rules:
verbs:
- use
resourceNames:
- {{ include "loki.fullname" . }}
- {{ include "loki.name" . }}
{{- end }}
{{- end }}

Loading…
Cancel
Save