Skip to content

Commit 4374852

Browse files
Merge branch 'main' into main
2 parents 7fdfca6 + 472ce8d commit 4374852

35 files changed

+163
-67
lines changed

charts/grafana/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: grafana
3-
version: 9.1.1
4-
appVersion: 12.0.0-security-01
3+
version: 9.2.2
4+
appVersion: 12.0.1
55
kubeVersion: "^1.8.0-0"
66
description: The leading tool for querying and visualizing time series and metrics.
77
home: https://grafana.com

charts/grafana/ci/with-sidecars-envvaluefrom-values.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,21 @@ extraObjects:
1414
var2: "dmFsdWUy"
1515

1616
sidecar:
17+
alerts:
18+
enabled: true
19+
envValueFrom:
20+
VAR1:
21+
configMapKeyRef:
22+
name: '{{ include "grafana.fullname" . }}-test'
23+
key: var1
24+
VAR2:
25+
secretKeyRef:
26+
name: '{{ include "grafana.fullname" . }}-test'
27+
key: var2
28+
VAR3:
29+
fieldRef:
30+
apiVersion: v1
31+
fieldPath: metadata.namespace
1732
dashboards:
1833
enabled: true
1934
envValueFrom:

charts/grafana/templates/_pod.tpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ initContainers:
120120
- name: "{{ $key }}"
121121
value: "{{ $value }}"
122122
{{- end }}
123+
{{- range $key, $value := .Values.sidecar.alerts.envValueFrom }}
124+
- name: {{ $key | quote }}
125+
valueFrom:
126+
{{- tpl (toYaml $value) $ | nindent 10 }}
127+
{{- end }}
123128
{{- if .Values.sidecar.alerts.ignoreAlreadyProcessed }}
124129
- name: IGNORE_ALREADY_PROCESSED
125130
value: "true"

charts/grafana/templates/poddisruptionbudget.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ spec:
1919
selector:
2020
matchLabels:
2121
{{- include "grafana.selectorLabels" . | nindent 6 }}
22+
{{- with .Values.podDisruptionBudget.unhealthyPodEvictionPolicy }}
23+
unhealthyPodEvictionPolicy: {{ . }}
24+
{{- end }}
2225
{{- end }}

charts/grafana/values.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ podDisruptionBudget: {}
7070
# apiVersion: ""
7171
# minAvailable: 1
7272
# maxUnavailable: 1
73+
# unhealthyPodEvictionPolicy: IfHealthyBudget
7374

7475
## See `kubectl explain deployment.spec.strategy` for more
7576
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
@@ -986,6 +987,19 @@ sidecar:
986987
enabled: false
987988
# Additional environment variables for the alerts sidecar
988989
env: {}
990+
## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
991+
## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
992+
## Renders in container spec as:
993+
## env:
994+
## ...
995+
## - name: <key>
996+
## valueFrom:
997+
## <value rendered as YAML>
998+
envValueFrom: {}
999+
# ENV_NAME:
1000+
# configMapKeyRef:
1001+
# name: configmap-name
1002+
# key: value_key
9891003
# Do not reprocess already processed unchanged resources on k8s API reconnect.
9901004
# ignoreAlreadyProcessed: true
9911005
# label that the configmaps with alert are marked with (can be templated)

charts/promtail/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: promtail
33
description: Promtail is an agent which ships the contents of local logs to a Loki instance
44
type: application
5-
appVersion: 3.0.0
6-
version: 6.16.6
5+
appVersion: 3.5.1
6+
version: 6.17.0
77
home: https://grafana.com/loki
88
sources:
99
- https://github.com/grafana/loki

charts/promtail/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# promtail
22

3-
![Version: 6.16.6](https://img.shields.io/badge/Version-6.16.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square)
3+
![Version: 6.17.0](https://img.shields.io/badge/Version-6.17.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.5.1](https://img.shields.io/badge/AppVersion-3.5.1-informational?style=flat-square)
44

55
Promtail is an agent which ships the contents of local logs to a Loki instance
66

charts/tempo-distributed/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: tempo-distributed
33
description: Grafana Tempo in MicroService mode
44
type: application
5-
version: 1.40.0
5+
version: 1.41.1
66
appVersion: 2.7.2
77
engine: gotpl
88
home: https://grafana.com/docs/tempo/latest/

charts/tempo-distributed/README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tempo-distributed
22

3-
![Version: 1.40.0](https://img.shields.io/badge/Version-1.40.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.7.2](https://img.shields.io/badge/AppVersion-2.7.2-informational?style=flat-square)
3+
![Version: 1.41.1](https://img.shields.io/badge/Version-1.41.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.7.2](https://img.shields.io/badge/AppVersion-2.7.2-informational?style=flat-square)
44

55
Grafana Tempo in MicroService mode
66

@@ -48,6 +48,10 @@ The command removes all the Kubernetes components associated with the chart and
4848

4949
A major chart version change indicates that there is an incompatible breaking change needing manual actions.
5050

51+
### From Chart versions < 1.41.0
52+
* Breaking Change *
53+
In order to be consistent with other projects and documentations, the default port has been changed from 3100 to 3200.
54+
5155
### From Chart versions < 1.33.0
5256
* Breaking Change *
5357
In order to reduce confusion, the overrides configurations have been renamed as below.
@@ -426,7 +430,7 @@ The memcached default args are removed and should be provided manually. The sett
426430
| enterpriseFederationFrontend.service.annotations | object | `{}` | Annotations for enterpriseFederationFrontend service |
427431
| enterpriseFederationFrontend.service.loadBalancerIP | string | `""` | If type is LoadBalancer you can assign the IP to the LoadBalancer |
428432
| enterpriseFederationFrontend.service.loadBalancerSourceRanges | list | `[]` | If type is LoadBalancer limit incoming traffic from IPs. |
429-
| enterpriseFederationFrontend.service.port | int | `3100` | Port of the federation-frontend service |
433+
| enterpriseFederationFrontend.service.port | int | `3200` | Port of the federation-frontend service |
430434
| enterpriseFederationFrontend.service.type | string | `"ClusterIP"` | Type of service for the enterpriseFederationFrontend |
431435
| enterpriseFederationFrontend.terminationGracePeriodSeconds | int | `30` | Grace period to allow the federation-frontend to shutdown before it is killed |
432436
| enterpriseFederationFrontend.tolerations | list | `[]` | Tolerations for federation-frontend pods |
@@ -447,8 +451,8 @@ The memcached default args are removed and should be provided manually. The sett
447451
| enterpriseGateway.image.tag | string | `nil` | Docker image tag for the enterpriseGateway image. Overrides `tempo.image.tag` |
448452
| enterpriseGateway.ingress.annotations | object | `{}` | Annotations for the enterprise-gateway ingress |
449453
| enterpriseGateway.ingress.enabled | bool | `false` | Specifies whether an ingress for the enterprise-gateway should be created |
450-
| enterpriseGateway.ingress.hosts | list | `[{"host":"gateway.gem.example.com","paths":[{"path":"/"}]}]` | Hosts configuration for the enterprise-gateway ingress |
451-
| enterpriseGateway.ingress.tls | list | `[{"hosts":["gateway.gem.example.com"],"secretName":"gem-gateway-tls"}]` | TLS configuration for the enterprise-gateway ingress |
454+
| enterpriseGateway.ingress.hosts | list | `[{"host":"gateway.get.example.com","paths":[{"path":"/"}]}]` | Hosts configuration for the enterprise-gateway ingress |
455+
| enterpriseGateway.ingress.tls | list | `[{"hosts":["gateway.get.example.com"],"secretName":"get-gateway-tls"}]` | TLS configuration for the enterprise-gateway ingress |
452456
| enterpriseGateway.initContainers | list | `[]` | |
453457
| enterpriseGateway.nodeSelector | object | `{}` | |
454458
| enterpriseGateway.persistence.subPath | string | `nil` | |
@@ -479,7 +483,7 @@ The memcached default args are removed and should be provided manually. The sett
479483
| externalConfigSecretName | string | `"{{ include \"tempo.resourceName\" (dict \"ctx\" . \"component\" \"config\") }}"` | Name of the Secret or ConfigMap that contains the configuration (used for naming even if config is internal). |
480484
| externalConfigVersion | string | `"0"` | When 'useExternalConfig' is true, then changing 'externalConfigVersion' triggers restart of services - otherwise changes to the configuration cause a restart. |
481485
| externalRuntimeConfigName | string | `"{{ include \"tempo.resourceName\" (dict \"ctx\" . \"component\" \"runtime\") }}"` | Name of the Secret or ConfigMap that contains the runtime configuration (used for naming even if config is internal). |
482-
| extraObjects | list | `[]` | Create extra manifests via values. |
486+
| extraObjects | list | `[]` | extraObjects could be utilized to add dynamic manifests via values |
483487
| fullnameOverride | string | `""` | |
484488
| gateway.affinity | string | Hard node and soft zone anti-affinity | Affinity for gateway pods. Passed through `tpl` and, thus, to be configured as string |
485489
| gateway.annotations | object | `{}` | Annotations for gateway deployment |
@@ -735,7 +739,7 @@ The memcached default args are removed and should be provided manually. The sett
735739
| metricsGenerator.persistentVolumeClaimRetentionPolicy.whenScaled | string | `"Retain"` | Volume retention behavior when the replica count of the StatefulSet is reduced |
736740
| metricsGenerator.podAnnotations | object | `{}` | Annotations for metrics-generator pods |
737741
| metricsGenerator.podLabels | object | `{}` | Labels for metrics-generator pods |
738-
| metricsGenerator.ports | list | `[{"name":"grpc","port":9095,"service":true},{"name":"http-memberlist","port":7946,"service":false},{"name":"http-metrics","port":3100,"service":true}]` | Default ports |
742+
| metricsGenerator.ports | list | `[{"name":"grpc","port":9095,"service":true},{"name":"http-memberlist","port":7946,"service":false},{"name":"http-metrics","port":3200,"service":true}]` | Default ports |
739743
| metricsGenerator.priorityClassName | string | `nil` | The name of the PriorityClass for metrics-generator pods |
740744
| metricsGenerator.replicas | int | `1` | Number of replicas for the metrics-generator |
741745
| metricsGenerator.resources | object | `{}` | Resource requests and limits for the metrics-generator |
@@ -819,6 +823,7 @@ The memcached default args are removed and should be provided manually. The sett
819823
| querier.initContainers | list | `[]` | Init containers for the querier pod |
820824
| querier.maxSurge | int | `0` | Max Surge for querier pods |
821825
| querier.maxUnavailable | int | `1` | Pod Disruption Budget maxUnavailable |
826+
| querier.minReadySeconds | int | `10` | Minimum number of seconds for which a newly created Pod should be ready without any of its containers crashing/terminating |
822827
| querier.nodeSelector | object | `{}` | Node selector for querier pods |
823828
| querier.podAnnotations | object | `{}` | Annotations for querier pods |
824829
| querier.podLabels | object | `{}` | Labels for querier pods |
@@ -874,7 +879,7 @@ The memcached default args are removed and should be provided manually. The sett
874879
| queryFrontend.podAnnotations | object | `{}` | Annotations for query-frontend pods |
875880
| queryFrontend.podLabels | object | `{}` | Labels for queryFrontend pods |
876881
| queryFrontend.priorityClassName | string | `nil` | The name of the PriorityClass for query-frontend pods |
877-
| queryFrontend.query.config | string | `"backend: 127.0.0.1:3100\n"` | |
882+
| queryFrontend.query.config | string | `"backend: 127.0.0.1:3200\n"` | |
878883
| queryFrontend.query.enabled | bool | `false` | Required for grafana version <7.5 for compatibility with jaeger-ui. Doesn't work on ARM arch |
879884
| queryFrontend.query.extraArgs | list | `[]` | Additional CLI args for tempo-query pods |
880885
| queryFrontend.query.extraEnv | list | `[]` | Environment variables to add to the tempo-query pods |
@@ -913,7 +918,7 @@ The memcached default args are removed and should be provided manually. The sett
913918
| rollout_operator.securityContext.readOnlyRootFilesystem | bool | `true` | |
914919
| server.grpc_server_max_recv_msg_size | int | `4194304` | Max gRPC message size that can be received |
915920
| server.grpc_server_max_send_msg_size | int | `4194304` | Max gRPC message size that can be sent |
916-
| server.httpListenPort | int | `3100` | HTTP server listen host |
921+
| server.httpListenPort | int | `3200` | HTTP server listen host |
917922
| server.http_server_read_timeout | string | `"30s"` | Read timeout for HTTP server |
918923
| server.http_server_write_timeout | string | `"30s"` | Write timeout for HTTP server |
919924
| server.logFormat | string | `"logfmt"` | Log format. Can be set to logfmt (default) or json. |

charts/tempo-distributed/README.md.gotmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ The command removes all the Kubernetes components associated with the chart and
4141

4242
A major chart version change indicates that there is an incompatible breaking change needing manual actions.
4343

44+
### From Chart versions < 1.41.0
45+
* Breaking Change *
46+
In order to be consistent with other projects and documentations, the default port has been changed from 3100 to 3200.
47+
4448
### From Chart versions < 1.33.0
4549
* Breaking Change *
4650
In order to reduce confusion, the overrides configurations have been renamed as below.

0 commit comments

Comments
 (0)