init
This commit is contained in:
21
promtail-helm/templates/daemonset.yaml
Normal file
21
promtail-helm/templates/daemonset.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
{{- if .Values.daemonset.enabled -}}
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: {{ include "promtail.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
{{- include "promtail.labels" . | nindent 4 }}
|
||||
{{- with .Values.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "promtail.selectorLabels" . | nindent 6 }}
|
||||
updateStrategy:
|
||||
{{- toYaml .Values.updateStrategy | nindent 4 }}
|
||||
template:
|
||||
{{- include "promtail.podTemplate" . -}}
|
||||
{{- end -}}
|
Reference in New Issue
Block a user