Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/promtail/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ deprecated: true
description: Promtail is an agent which ships the contents of local logs to a Loki instance
type: application
appVersion: 3.5.1
version: 6.17.1
version: 6.18.0
home: https://grafana.com/loki
sources:
- https://github.com/grafana/loki
Expand Down
4 changes: 3 additions & 1 deletion charts/promtail/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# promtail

![Version: 6.17.1](https://img.shields.io/badge/Version-6.17.1-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)
![Version: 6.18.0](https://img.shields.io/badge/Version-6.18.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)

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

Expand Down Expand Up @@ -106,6 +106,8 @@ The new release which will pick up again from the existing `positions.yaml`.
| deployment.enabled | bool | `false` | Deploys Promtail as a Deployment |
| deployment.replicaCount | int | `1` | |
| deployment.strategy | object | `{"type":"RollingUpdate"}` | Set deployment object update strategy |
| dnsConfig | object | `{}` | Set dnsConfig for the pod. Read more about dnsConfig https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config |
| dnsPolicy | string | `nil` | Set dnsPolicy for the pod. If not set k8s defaults to ClusterFirst when hostNetwork=false and Default when hostNetwork=true |
| enableServiceLinks | bool | `true` | Configure enableServiceLinks in pod |
| extraArgs | list | `[]` | |
| extraContainers | object | `{}` | |
Expand Down
7 changes: 7 additions & 0 deletions charts/promtail/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ spec:
{{- with .Values.hostNetwork }}
hostNetwork: {{ . }}
{{- end }}
{{- with .Values.dnsPolicy }}
dnsPolicy: {{ . }}
{{- end }}
{{- with .Values.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
Expand Down
6 changes: 6 additions & 0 deletions charts/promtail/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ hostAliases: []
# -- Controls whether the pod has the `hostNetwork` flag set.
hostNetwork: null

# -- Set dnsPolicy for the pod. If not set k8s defaults to ClusterFirst when hostNetwork=false and Default when hostNetwork=true
dnsPolicy: null

# -- Set dnsConfig for the pod. Read more about dnsConfig https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig: {}

# -- Annotations for the DaemonSet
annotations: {}

Expand Down