Skip to content

Commit

Permalink
helm chart: fix role/PSP mapping (grafana#8656)
Browse files Browse the repository at this point in the history
**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 grafana#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>
  • Loading branch information
hervenicol and hervenicol authored Mar 16, 2023
1 parent 37c0b3d commit 9688f83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion production/helm/loki/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions production/helm/loki/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rules:
verbs:
- use
resourceNames:
- {{ include "loki.fullname" . }}
- {{ include "loki.name" . }}
{{- end }}
{{- if .Values.rbac.sccEnabled }}
rules:
Expand All @@ -26,6 +26,6 @@ rules:
verbs:
- use
resourceNames:
- {{ include "loki.fullname" . }}
- {{ include "loki.name" . }}
{{- end }}
{{- end }}

0 comments on commit 9688f83

Please sign in to comment.