Skip to content

Commit

Permalink
update image & change image tag usage (#111)
Browse files Browse the repository at this point in the history
Signed-off-by: André Bauer <[email protected]>
  • Loading branch information
monotek authored Jul 6, 2022
1 parent 9eae38b commit 2219919
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions charts/fluentd-elasticsearch/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: fluentd-elasticsearch
version: 13.5.0
appVersion: 4.0.0
version: 13.6.0
appVersion: v4.1.0
type: application
home: https://www.fluentd.org/
description: A Fluentd Helm chart for Kubernetes with Elasticsearch output
Expand Down
4 changes: 2 additions & 2 deletions charts/fluentd-elasticsearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ The following table lists the configurable parameters of the Fluentd elasticsear
| `hostLogDir.varLog` | Specify where fluentd can find var log | `/var/log` |
| `hostLogDir.dockerContainers` | Specify where fluentd can find logs for docker container | `/var/lib/docker/containers` |
| `hostLogDir.libSystemdDir` | Specify where fluentd can find logs for lib Systemd | `/usr/lib64` |
| `image.repository` | Image | `quay.io/fluentd_elasticsearch/fluentd` |
| `image.tag` | Image tag | `v4.0.0` |
| `image.repository` | Image repository | `quay.io/fluentd_elasticsearch/fluentd` |
| `image.tag` | Image tag (uses appVersion from Chart.yaml as default) | `` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Image pull secrets | `` |
| `livenessProbe.enabled` | Whether to enable livenessProbe | `true` |
Expand Down
2 changes: 1 addition & 1 deletion charts/fluentd-elasticsearch/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
{{- end }}
containers:
- name: {{ include "fluentd-elasticsearch.fullname" . }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
env:
- name: FLUENTD_ARGS
Expand Down
9 changes: 5 additions & 4 deletions charts/fluentd-elasticsearch/values.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
image:
repository: quay.io/fluentd_elasticsearch/fluentd
## Specify an imagePullPolicy (Required)
## It's recommended to change this to 'Always' if the image tag is 'latest'
## ref: http://kubernetes.io/docs/user-guide/images/#updating-images
tag: v4.0.0
# if empty uses appVersion from Chart.yaml as default image tag
tag: ""
## Specify an imagePullPolicy (Required)
## It's recommended to change this to 'Always' if the image tag is 'latest'
## ref: http://kubernetes.io/docs/user-guide/images/#updating-images
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
Expand Down

0 comments on commit 2219919

Please sign in to comment.