Skip to content

Commit

Permalink
Helm chart support for OpenStack application credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Holton committed Aug 28, 2024
1 parent 8afdfd5 commit 0fe7a7c
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 6 deletions.
3 changes: 3 additions & 0 deletions docs/sources/setup/install/helm/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5700,6 +5700,9 @@ null
"signatureVersion": null
},
"swift": {
"application_credential_id": null,
"application_credential_name": null,
"application_credential_secret": null,
"auth_url": null,
"auth_version": null,
"connect_timeout": null,
Expand Down
6 changes: 5 additions & 1 deletion production/helm/loki/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,21 @@ 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.)

## 6.10.2

- [ENHANCEMENT] Add support for OpenStack application credentials when using Swift for storage

## 6.10.1

- [CHANGE] Bumped version of `kiwigrid/k8s-sidecar` to 1.27.5; this remediates several CVE


## 6.10.0

- [CHANGE] Changed version of Grafana Enterprise Logs to 3.1.1
- [CHANGE] Changed version of Grafana Loki to 3.1.1
- [ENHANCEMENT] Added ability to disable AWS S3 dualstack endpoint usage.


## 6.9.0

- [BUGFIX] Fixed how we set imagePullSecrets for the memcached and provisioner.
Expand Down
2 changes: 1 addition & 1 deletion production/helm/loki/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: loki
description: Helm chart for Grafana Loki and Grafana Enterprise Logs supporting both simple, scalable and distributed modes.
type: application
appVersion: 3.1.1
version: 6.10.1
version: 6.10.2
home: https://grafana.github.io/helm-charts
sources:
- https://github.com/grafana/loki
Expand Down
34 changes: 30 additions & 4 deletions production/helm/loki/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -377,22 +377,35 @@ azure:
{{- else if eq .Values.loki.storage.type "swift" -}}
{{- with .Values.loki.storage.swift }}
swift:
{{- with .application_credential_id }}
application_credential_id: {{ . }}
{{- end }}
{{- with .application_credential_name }}
application_credential_name: {{ . }}
{{- end }}
{{- with .application_credential_secret }}
application_credential_secret: {{ . }}
{{- end }}
{{- with .auth_version }}
auth_version: {{ . }}
{{- end }}
auth_url: {{ .auth_url }}
{{- with .internal }}
internal: {{ . }}
{{- end }}
username: {{ .username }}
{{- with .username }}
username: {{ . }}
{{- end }}
user_domain_name: {{ .user_domain_name }}
{{- with .user_domain_id }}
user_domain_id: {{ . }}
{{- end }}
{{- with .user_id }}
user_id: {{ . }}
{{- end }}
password: {{ .password }}
{{- with .password }}
password: {{ . }}
{{- end }}
{{- with .domain_id }}
domain_id: {{ . }}
{{- end }}
Expand Down Expand Up @@ -461,22 +474,35 @@ storage:
{{- with .Values.loki.storage.swift }}
backend: "swift"
swift:
{{- with .application_credential_id }}
application_credential_id: {{ . }}
{{- end }}
{{- with .application_credential_name }}
application_credential_name: {{ . }}
{{- end }}
{{- with .application_credential_secret }}
application_credential_secret: {{ . }}
{{- end }}
{{- with .auth_version }}
auth_version: {{ . }}
{{- end }}
auth_url: {{ .auth_url }}
{{- with .internal }}
internal: {{ . }}
{{- end }}
username: {{ .username }}
{{- with .username }}
username: {{ . }}
{{- end }}
user_domain_name: {{ .user_domain_name }}
{{- with .user_domain_id }}
user_domain_id: {{ . }}
{{- end }}
{{- with .user_id }}
user_id: {{ . }}
{{- end }}
password: {{ .password }}
{{- with .password }}
password: {{ . }}
{{- end }}
{{- with .domain_id }}
domain_id: {{ . }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions production/helm/loki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,9 @@ loki:
requestTimeout: null
endpointSuffix: null
swift:
application_credential_id: null
application_credential_name: null
application_credential_secret: null
auth_version: null
auth_url: null
internal: null
Expand Down

0 comments on commit 0fe7a7c

Please sign in to comment.