UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 63ed8519 authored by Peter Sigur's avatar Peter Sigur
Browse files

Merge branch 'renovate/ironbank' into 'main'

Update Ironbank

See merge request !295
parents 2bd7e0a8 11aae67f
No related branches found
Tags 6.24.0-bb.0
1 merge request!295Update Ironbank
Pipeline #3853179 passed
Showing
with 80 additions and 88 deletions
......@@ -19,4 +19,7 @@ ignore/*
# Local History for Visual Studio Code
.history/
node_modules
\ No newline at end of file
node_modules
# Helm Docs
*.gotmpl
\ No newline at end of file
......@@ -3,6 +3,16 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
---
## [6.24.0-bb.0] - 2025-01-02
### Updated
- Updated `loki` from `v3.3.1` -> `v3.3.2`
- Updated `kubectl` from `v1.30.7` -> `v1.30.8`
- Updated `rollout_operator` from `0.20.0` -> `0.21.0`
- Updated `loki-canary` from `3.3.1` -> `3.3.2`
- Updated `k8s-sidecar` from `1.28.0` -> `1.28.4`
## [6.23.0-bb.1] - 2024-12-11
### Updated
......
<!-- Warning: Do not manually edit this file. See notes on gluon + helm-docs at the end of this file for more information. -->
# loki
![Version: 6.23.0-bb.1](https://img.shields.io/badge/Version-6.23.0--bb.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.3.1](https://img.shields.io/badge/AppVersion-3.3.1-informational?style=flat-square) ![Maintenance Track: bb_integrated](https://img.shields.io/badge/Maintenance_Track-bb_integrated-green?style=flat-square)
![Version: 6.24.0-bb.0](https://img.shields.io/badge/Version-6.24.0--bb.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.3.2](https://img.shields.io/badge/AppVersion-3.3.2-informational?style=flat-square) ![Maintenance Track: bb_integrated](https://img.shields.io/badge/Maintenance_Track-bb_integrated-green?style=flat-square)
Helm chart for Grafana Loki and Grafana Enterprise Logs supporting both simple, scalable and distributed modes.
......@@ -59,7 +59,7 @@ helm install loki chart/
| loki | object | See values.yaml | Configuration for running Loki |
| loki.image.registry | string | `"registry1.dso.mil"` | The Docker registry |
| loki.image.repository | string | `"ironbank/opensource/grafana/loki"` | Docker image repository |
| loki.image.tag | string | `"3.3.1"` | Overrides the image tag whose default is the chart's appVersion |
| loki.image.tag | string | `"3.3.2"` | Overrides the image tag whose default is the chart's appVersion |
| loki.image.digest | string | `nil` | Overrides the image tag with an image digest |
| loki.image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy |
| loki.annotations | object | `{}` | Common annotations for all deployments/StatefulSets |
......@@ -151,10 +151,10 @@ helm install loki chart/
| enterprise.provisioner.image.digest | string | `nil` | Overrides the image tag with an image digest |
| enterprise.provisioner.image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy |
| enterprise.provisioner.extraVolumeMounts | list | `[]` | Volume mounts to add to the provisioner pods |
| kubectlImage | object | `{"digest":null,"pullPolicy":"IfNotPresent","registry":"registry1.dso.mil","repository":"ironbank/opensource/kubernetes/kubectl","tag":"v1.30.7"}` | kubetclImage is used in the enterprise provisioner and tokengen jobs |
| kubectlImage | object | `{"digest":null,"pullPolicy":"IfNotPresent","registry":"registry1.dso.mil","repository":"ironbank/opensource/kubernetes/kubectl","tag":"v1.30.8"}` | kubetclImage is used in the enterprise provisioner and tokengen jobs |
| kubectlImage.registry | string | `"registry1.dso.mil"` | The Docker registry |
| kubectlImage.repository | string | `"ironbank/opensource/kubernetes/kubectl"` | Docker image repository |
| kubectlImage.tag | string | `"v1.30.7"` | Overrides the image tag whose default is the chart's appVersion |
| kubectlImage.tag | string | `"v1.30.8"` | Overrides the image tag whose default is the chart's appVersion |
| kubectlImage.digest | string | `nil` | Overrides the image tag with an image digest |
| kubectlImage.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy |
| test | object | `{"annotations":{},"canaryServiceAddress":"http://loki-canary:3500/metrics","enabled":false,"image":{"digest":null,"pullPolicy":"IfNotPresent","registry":"docker.io","repository":"grafana/loki-helm-test","tag":"ewelch-distributed-helm-chart-17db5ee"},"labels":{},"prometheusAddress":"http://prometheus:9090","timeout":"1m"}` | Section for configuring optional Helm test |
......@@ -515,7 +515,7 @@ helm install loki chart/
| backend.persistence.annotations | object | `{}` | Annotations for volume claim |
| backend.podDisruptionBudget.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
| backend.podDisruptionBudget.maxUnavailable | string | `"1"` | Number of pods that are unavailable after eviction as number or percentage (eg.: 50%). # Has higher precedence over `controller.pdb.minAvailable` |
| ingester | object | `{"affinity":{"podAntiAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":[{"labelSelector":{"matchLabels":{"app.kubernetes.io/component":"ingester"}},"topologyKey":"kubernetes.io/hostname"}]}},"appProtocol":{"grpc":""},"autoscaling":{"behavior":{"enabled":false,"scaleDown":{},"scaleUp":{}},"customMetrics":[],"enabled":false,"maxReplicas":3,"minReplicas":1,"targetCPUUtilizationPercentage":60,"targetMemoryUtilizationPercentage":null},"command":null,"extraArgs":[],"extraContainers":[],"extraEnv":[],"extraEnvFrom":[],"extraVolumeMounts":[],"extraVolumes":[],"hostAliases":[],"image":{"registry":null,"repository":null,"tag":null},"initContainers":[],"lifecycle":{},"livenessProbe":{},"maxUnavailable":1,"nodeSelector":{},"persistence":{"claims":[{"name":"data","size":"10Gi","storageClass":null}],"enableStatefulSetAutoDeletePVC":false,"enabled":false,"inMemory":false,"whenDeleted":"Retain","whenScaled":"Retain"},"podAnnotations":{},"podLabels":{},"priorityClassName":null,"readinessProbe":{},"replicas":0,"resources":{},"serviceAnnotations":{},"serviceLabels":{},"terminationGracePeriodSeconds":300,"tolerations":[],"topologySpreadConstraints":[{"labelSelector":{"matchLabels":{"app.kubernetes.io/component":"ingester"}},"maxSkew":1,"topologyKey":"kubernetes.io/hostname","whenUnsatisfiable":"ScheduleAnyway"}],"updateStrategy":{"type":"RollingUpdate"},"zoneAwareReplication":{"enabled":true,"maxUnavailablePct":33,"migration":{"enabled":false,"excludeDefaultZone":false,"readPath":false,"writePath":false},"zoneA":{"annotations":{},"extraAffinity":{},"nodeSelector":null,"podAnnotations":{}},"zoneB":{"annotations":{},"extraAffinity":{},"nodeSelector":null,"podAnnotations":{}},"zoneC":{"annotations":{},"extraAffinity":{},"nodeSelector":null,"podAnnotations":{}}}}` | Configuration for the ingester |
| ingester | object | `{"addIngesterNamePrefix":false,"affinity":{"podAntiAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":[{"labelSelector":{"matchLabels":{"app.kubernetes.io/component":"ingester"}},"topologyKey":"kubernetes.io/hostname"}]}},"appProtocol":{"grpc":""},"autoscaling":{"behavior":{"enabled":false,"scaleDown":{},"scaleUp":{}},"customMetrics":[],"enabled":false,"maxReplicas":3,"minReplicas":1,"targetCPUUtilizationPercentage":60,"targetMemoryUtilizationPercentage":null},"command":null,"extraArgs":[],"extraContainers":[],"extraEnv":[],"extraEnvFrom":[],"extraVolumeMounts":[],"extraVolumes":[],"hostAliases":[],"image":{"registry":null,"repository":null,"tag":null},"initContainers":[],"lifecycle":{},"livenessProbe":{},"maxUnavailable":1,"nodeSelector":{},"persistence":{"claims":[{"name":"data","size":"10Gi","storageClass":null}],"enableStatefulSetAutoDeletePVC":false,"enabled":false,"inMemory":false,"whenDeleted":"Retain","whenScaled":"Retain"},"podAnnotations":{},"podLabels":{},"priorityClassName":null,"readinessProbe":{},"replicas":0,"resources":{},"rolloutGroupPrefix":null,"serviceAnnotations":{},"serviceLabels":{},"terminationGracePeriodSeconds":300,"tolerations":[],"topologySpreadConstraints":[{"labelSelector":{"matchLabels":{"app.kubernetes.io/component":"ingester"}},"maxSkew":1,"topologyKey":"kubernetes.io/hostname","whenUnsatisfiable":"ScheduleAnyway"}],"updateStrategy":{"type":"RollingUpdate"},"zoneAwareReplication":{"enabled":true,"maxUnavailablePct":33,"migration":{"enabled":false,"excludeDefaultZone":false,"readPath":false,"writePath":false},"zoneA":{"annotations":{},"extraAffinity":{},"nodeSelector":null,"podAnnotations":{}},"zoneB":{"annotations":{},"extraAffinity":{},"nodeSelector":null,"podAnnotations":{}},"zoneC":{"annotations":{},"extraAffinity":{},"nodeSelector":null,"podAnnotations":{}}}}` | Configuration for the ingester |
| ingester.replicas | int | `0` | Number of replicas for the ingester, when zoneAwareReplication.enabled is true, the total number of replicas will match this value with each zone having 1/3rd of the total replicas. |
| ingester.hostAliases | list | `[]` | hostAliases to add |
| ingester.autoscaling.enabled | bool | `false` | Enable autoscaling for the ingester |
......@@ -1067,7 +1067,7 @@ helm install loki chart/
| minio.tenant.defaultUserCredentials | object | `{"password":"","username":"minio-user"}` | User credentials to create for above user. Otherwise password is randomly generated. This auth is not required to be set or reclaimed for minio use with Loki |
| extraObjects | list | `[]` | |
| sidecar.image.repository | string | `"registry1.dso.mil/ironbank/kiwigrid/k8s-sidecar"` | The Docker registry and image for the k8s sidecar |
| sidecar.image.tag | string | `"1.28.0"` | Docker image tag |
| sidecar.image.tag | string | `"1.28.4"` | Docker image tag |
| sidecar.image.sha | string | `""` | Docker image sha. If empty, no sha will be used |
| sidecar.image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy |
| sidecar.resources.limits.cpu | string | `"100m"` | |
......
......@@ -13,11 +13,19 @@ 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.24.0
- [BUGFIX] Add conditional to include ruler config only if `ruler.enabled=true`
- [BUGFIX] Disables the Helm test pod when `test.enabled=false`.
- [BUGFIX] Fix `enterprise.image.tag` to `3.3.0`
- [ENHANCEMENT] Bump Loki version to 3.3.2
## 6.23.0
- [CHANGE] Changed version of Grafana Loki to 3.3.1
- [CHANGE] Changed version of Minio helm chart to 5.3.0 (#14834)
- [BUGFIX] Add default wal dir to ruler config ([#14920](https://github.com/grafana/loki/pull/14920))
- [FIX] Fix statefulset templates to not show diffs in ArgoCD
## 6.22.0
......@@ -107,7 +115,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
......
......@@ -10,6 +10,6 @@ dependencies:
version: 0.5.12
- name: rollout-operator
repository: https://grafana.github.io/helm-charts
version: 0.20.0
digest: sha256:e0d0f918a01326e6262e9ffa2e0ed2adb6030cbfa3ee3879ec2f465a9471fe26
generated: "2024-12-03T11:52:29.92745-05:00"
version: 0.21.0
digest: sha256:971744ee9a175edeb61272b9e5132db487a17301ffaefd0debba259761c47e03
generated: "2025-01-02T13:07:48.477318-05:00"
......@@ -2,8 +2,8 @@ apiVersion: v2
name: loki
description: Helm chart for Grafana Loki and Grafana Enterprise Logs supporting both simple, scalable and distributed modes.
type: application
appVersion: 3.3.1
version: 6.23.0-bb.1
appVersion: 3.3.2
version: 6.24.0-bb.0
home: https://grafana.github.io/helm-charts
sources:
- https://github.com/grafana/loki
......@@ -27,20 +27,20 @@ dependencies:
- name: rollout-operator
alias: rollout_operator
repository: https://grafana.github.io/helm-charts
version: 0.20.0
version: 0.21.0
condition: rollout_operator.enabled
annotations:
bigbang.dev/maintenanceTrack: bb_integrated
bigbang.dev/applicationVersions: |
- Loki: 3.3.1
- Loki: 3.3.2
bigbang.dev/upstreamReleaseNotesMarkdown: |
- [Find upstream chart's release notes and CHANGELOG here](https://github.com/grafana/loki/blob/main/production/helm/loki/CHANGELOG.md)
- [Find upstream application's release notes and CHANGELOG here](https://grafana.com/docs/loki/latest/release-notes/)
helm.sh/images: |
- name: loki
image: registry1.dso.mil/ironbank/opensource/grafana/loki:3.3.1
image: registry1.dso.mil/ironbank/opensource/grafana/loki:3.3.2
- name: kubectl
image: registry1.dso.mil/ironbank/opensource/kubernetes/kubectl:v1.30.7
image: registry1.dso.mil/ironbank/opensource/kubernetes/kubectl:v1.30.8
- name: grafana-enterprise-logs
image: registry1.dso.mil/ironbank/grafana/grafana-enterprise-logs:v3.3.0
condition: enterprise.enabled
......@@ -51,7 +51,7 @@ annotations:
image: docker.io/grafana/loki-helm-test:latest
condition: test.enabled
- name: loki-canary
image: docker.io/grafana/loki-canary:3.3.1
image: docker.io/grafana/loki-canary:3.3.2
condition: monitoring.lokiCanary.enabled
- name: nginx-gateway
image: registry1.dso.mil/ironbank/opensource/nginx/nginx:1.27.3
......
......@@ -5,7 +5,7 @@ metadata:
upstream:
type: git
git:
commit: ed0b1f9edc04dc127a9ab02d6c7cf7f869ef34bb
commit: 28683a90269705414fc2b9ca1cba411c315d426f
repo: https://github.com/grafana/loki
directory: /production/helm/loki
ref: helm-loki-6.23.0
ref: helm-loki-6.24.0
# loki
![Version: 6.23.0](https://img.shields.io/badge/Version-6.23.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.3.1](https://img.shields.io/badge/AppVersion-3.3.1-informational?style=flat-square)
![Version: 6.24.0](https://img.shields.io/badge/Version-6.24.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.3.2](https://img.shields.io/badge/AppVersion-3.3.2-informational?style=flat-square)
Helm chart for Grafana Loki and Grafana Enterprise Logs supporting both simple, scalable and distributed modes.
......@@ -16,7 +16,7 @@ Helm chart for Grafana Loki and Grafana Enterprise Logs supporting both simple,
|------------|------|---------|
| https://charts.min.io/ | minio(minio) | 5.3.0 |
| https://grafana.github.io/helm-charts | grafana-agent-operator(grafana-agent-operator) | 0.5.0 |
| https://grafana.github.io/helm-charts | rollout_operator(rollout-operator) | 0.20.0 |
| https://grafana.github.io/helm-charts | rollout_operator(rollout-operator) | 0.21.0 |
Find more information in the Loki Helm Chart [documentation](https://grafana.com/docs/loki/next/installation/helm).
......
{{ template "chart.header" . }}
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
{{ template "chart.description" . }}
{{ template "chart.sourcesSection" . }}
{{ template "chart.requirementsSection" . }}
Find more information in the Loki Helm Chart [documentation](https://grafana.com/docs/loki/next/installation/helm).
## Contributing and releasing
If you made any changes to the [Chart.yaml](https://github.com/grafana/loki/blob/main/production/helm/loki/Chart.yaml) or [values.yaml](https://github.com/grafana/loki/blob/main/production/helm/loki/values.yaml) run `make helm-docs` from the root of the repository to update the documentation and commit the changed files.
Futhermore, please add an entry to the [CHANGELOG.md](./CHANGELOG.md) file about what you changed. This file has a header that looks like this:
```
[//]: # (<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.)
````
Place your changes as a bulleted list below this header. The helm chart is automatically released once a week, at which point the `CHANGELOG.md` file will be updated to reflect the release of all changes between this header the the header of the previous version as the changes for that weeks release. For example, if the weekly release will be `1.21.0`, and the `CHANGELOG.md` file has the following entries:
```
[//]: # (<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.)
- [CHANGE] Changed the thing
- [FEATURE] Cool new feature
## 1.20.0
- [BUGFIX] Fixed the bug
```
Then the weekly release will create a `CHANGELOG.md` with the following content:
```
[//]: # (<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.)
## 1.21.0
- [CHANGE] Changed the thing
- [FEATURE] Cool new feature
## 1.20.0
- [BUGFIX] Fixed the bug
```
#### Versioning
Normally contributors need _not_ bump the version nor update the [CHANGELOG.md](https://github.com/grafana/loki/blob/main/production/helm/loki/CHANGELOG.md). A new version of the Chart will follow this cadence:
- Automatic weekly releases
- Releases that coincide with Loki/GEL releases
- Manual releases when necessary (ie. to address a CVE or critical bug)
File deleted
File added
......@@ -161,7 +161,9 @@ spec:
{{- if .Values.bloomGateway.persistence.enabled }}
volumeClaimTemplates:
{{- range .Values.bloomGateway.persistence.claims }}
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ .name }}
{{- with .annotations }}
annotations:
......
......@@ -161,7 +161,9 @@ spec:
{{- if .Values.bloomPlanner.persistence.enabled }}
volumeClaimTemplates:
{{- range .Values.bloomPlanner.persistence.claims }}
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ .name }}
{{- with .annotations }}
annotations:
......
......@@ -173,7 +173,9 @@ spec:
{{- if .Values.compactor.persistence.enabled }}
volumeClaimTemplates:
{{- range .Values.compactor.persistence.claims }}
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ .name }}
{{- with .annotations }}
annotations:
......
......@@ -173,7 +173,9 @@ spec:
{{- end }}
{{- else }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data
{{- with .Values.indexGateway.persistence.annotations }}
annotations:
......
......@@ -71,4 +71,22 @@ expects a dict
*/}}
{{- define "loki.ingester.maxUnavailable" -}}
{{- ceil (mulf .replicas (divf (int .ctx.Values.ingester.zoneAwareReplication.maxUnavailablePct) 100)) -}}
{{- end -}}
\ No newline at end of file
{{- end -}}
{{/*
Return rollout-group prefix if it is set
*/}}
{{- define "loki.prefixRolloutGroup" -}}
{{- if .Values.ingester.rolloutGroupPrefix -}}
{{- .Values.ingester.rolloutGroupPrefix -}}-
{{- end -}}
{{- end -}}
{{/*
Return ingester name prefix if required
*/}}
{{- define "loki.prefixIngesterName" -}}
{{- if .Values.ingester.addIngesterNamePrefix -}}
loki-
{{- end -}}
{{- end -}}
......@@ -13,7 +13,7 @@ metadata:
spec:
selector:
matchLabels:
rollout-group: ingester
rollout-group: {{ include "loki.prefixRolloutGroup" . }}ingester
{{- with .Values.ingester.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
......
......@@ -19,7 +19,7 @@ spec:
- key: rollout-group
operator: NotIn
values:
- "ingester"
- '{{ include "loki.prefixRolloutGroup" . }}ingester'
{{- with .Values.ingester.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
......
......@@ -33,6 +33,6 @@ spec:
{{- end }}
selector:
{{- include "loki.ingesterSelectorLabels" . | nindent 4 }}
name: ingester-zone-a
rollout-group: ingester
name: {{ include "loki.prefixIngesterName" . }}ingester-zone-a
rollout-group: {{ include "loki.prefixRolloutGroup" . }}ingester
{{- end -}}
......@@ -33,6 +33,6 @@ spec:
{{- end }}
selector:
{{- include "loki.ingesterSelectorLabels" . | nindent 4 }}
name: ingester-zone-b
rollout-group: ingester
name: {{ include "loki.prefixIngesterName" . }}ingester-zone-b
rollout-group: {{ include "loki.prefixRolloutGroup" . }}ingester
{{- end -}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment