Skip to content

Commit

Permalink
fix: align image pull secrets usage
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Aug 6, 2024
1 parent 3be5a45 commit 5e4e2ff
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
6 changes: 5 additions & 1 deletion production/helm/loki/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ 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.8.1

- [BUGFIX] Align imagePullSecrets for all workloads

## 6.8.0

- [BUGFIX] Fixed how we set imagePullSecrets for the admin-api and enterprise-gateway
Expand All @@ -24,7 +28,7 @@ Entries should include a reference to the pull request that introduced the chang
## 6.7.3

- [BUGFIX] Removed Helm test binary

## 6.7.2

- [BUGFIX] Fix imagePullSecrets for statefulset-results-cache
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.0
version: 6.8.0
version: 6.8.1
home: https://grafana.github.io/helm-charts
sources:
- https://github.com/grafana/loki
Expand Down
2 changes: 1 addition & 1 deletion production/helm/loki/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# loki

![Version: 6.8.0](https://img.shields.io/badge/Version-6.8.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.1.0](https://img.shields.io/badge/AppVersion-3.1.0-informational?style=flat-square)
![Version: 6.8.1](https://img.shields.io/badge/Version-6.8.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.1.0](https://img.shields.io/badge/AppVersion-3.1.0-informational?style=flat-square)

Helm chart for Grafana Loki and Grafana Enterprise Logs supporting both simple, scalable and distributed modes.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,9 @@ spec:
tolerations:
{{- toYaml .tolerations | nindent 8 }}
terminationGracePeriodSeconds: {{ .terminationGracePeriodSeconds }}
{{- if $.ctx.Values.imagePullSecrets }}
{{- with $.ctx.Values.imagePullSecrets }}
imagePullSecrets:
{{- range $.ctx.Values.imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .extraVolumes }}
volumes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,9 @@ spec:
{{- end }}
securityContext:
{{- toYaml .Values.enterprise.provisioner.securityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
- name: provisioner
Expand Down
4 changes: 2 additions & 2 deletions production/helm/loki/templates/tokengen/job-tokengen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ spec:
{{- end }}
securityContext:
{{- toYaml .Values.enterprise.tokengen.securityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml .Values.imagePullSecrets | nindent 8 }}
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
- name: loki
Expand Down

0 comments on commit 5e4e2ff

Please sign in to comment.