Skip to content

helm-loki-5.41.5

@Sheikh-Abubaker Sheikh-Abubaker tagged this 10 Jan 09:19
…hart error (#11621)

**What this PR does / why we need it**:
The code in
https://github.com/grafana/loki/blob/main/production/helm/loki/templates/_helpers.tpl
file doesn't include "swift" type object storage.
when user using swift by configure `loki.storage.swift.*`, then
`loki.storage.type` shall = `swift` , but the
"loki.isUsingObjectStorage" cannot get the proper value in this case.

As of now "swift" type object storage has been added to resolve Loki
HELM Chart error.
**Which issue(s) this PR fixes**:.

Fixes #11611 

**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
- [ ] `CHANGELOG.md` updated
- [ ] If the change is worth mentioning in the release notes, add
`add-to-release-notes` label
- [ ] Changes that require user attention or interaction to upgrade are
documented in `docs/sources/setup/upgrade/_index.md`
- [x] For Helm chart changes bump the Helm chart version in
`production/helm/loki/Chart.yaml` and update
`production/helm/loki/CHANGELOG.md` and
`production/helm/loki/README.md`. [Example
PR](https://github.com/grafana/loki/commit/d10549e3ece02120974929894ee333d07755d213)
- [ ] If the change is deprecating or removing a configuration option,
update the `deprecated-config.yaml` and `deleted-config.yaml` files
respectively in the `tools/deprecated-config-checker` directory.
[Example
PR](https://github.com/grafana/loki/pull/10840/commits/0d4416a4b03739583349934b96f272fb4f685d15)

Signed-off-by: Sheikh-Abubaker <sheikhabubaker761@gmail.com>
Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>
Assets 2