Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Commit 36045f2

Browse files
authored
Merge pull request #18 from MrAnno/image-extraargs
axosyslog-collector: add image.extraArgs
2 parents 210ac99 + 088d7a3 commit 36045f2

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

charts/axosyslog-collector/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: axosyslog-collector
3-
description: AxoSyslog kubernetes log collector
3+
description: AxoSyslog Kubernetes log collector
44
type: application
5-
version: 0.1.1
5+
version: 0.2.0
66
appVersion: "4.1.1"

charts/axosyslog-collector/templates/daemonset.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ spec:
101101
- name: "axosyslog-collector"
102102
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
103103
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
104+
{{- if .Values.image.extraArgs }}
105+
args:
106+
{{ toYaml .Values.image.extraArgs | indent 12 }}
107+
{{- end }}
104108
resources:
105109
{{ toYaml ( .Values.resources | default .Values.daemonset.resources ) | indent 12 }}
106110
securityContext: {{ toYaml ( .Values.podSecurityContext | default .Values.daemonset.securityContext ) | nindent 12 }}

charts/axosyslog-collector/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ image:
22
repository: ghcr.io/axoflow/axosyslog
33
pullPolicy: IfNotPresent
44
tag: "nightly" # until releasing v4.2
5+
extraArgs: []
56

67
imagePullSecrets: []
78
nameOverride: ""

0 commit comments

Comments
 (0)