Add optional secret to pull Docker image in fluent-bit chart (#2489)

k29
Frédéric Barrière 5 years ago committed by GitHub
parent f1d00807eb
commit 3fb65dd5de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      production/helm/fluent-bit/Chart.yaml
  2. 10
      production/helm/fluent-bit/templates/daemonset.yaml
  3. 5
      production/helm/fluent-bit/values.yaml
  4. 2
      production/helm/loki-stack/Chart.yaml

@ -1,6 +1,6 @@
apiVersion: "v1"
name: fluent-bit
version: 0.1.5
version: 0.2.0
appVersion: v1.5.0
kubeVersion: "^1.10.0-0"
description: "Uses fluent-bit Loki go plugin for gathering logs and sending them to Loki"

@ -35,9 +35,15 @@ spec:
{{- end }}
spec:
serviceAccountName: {{ template "fluent-bit-loki.serviceAccountName" . }}
{{- if .Values.priorityClassName }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
{{- end }}
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
containers:
- name: fluent-bit-loki
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"

@ -50,6 +50,11 @@ image:
repository: grafana/fluent-bit-plugin-loki
tag: 1.5.0-amd64
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be present in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
# pullSecrets:
# - myRegistrKeySecretName
nameOverride: fluent-bit-loki

@ -1,6 +1,6 @@
apiVersion: "v1"
name: loki-stack
version: 0.38.4
version: 0.39.0
appVersion: v1.5.0
kubeVersion: "^1.10.0-0"
description: "Loki: like Prometheus, but for logs."

Loading…
Cancel
Save