Skip to content

Commit b0c3f1f

Browse files
Allow flags config via chart (#38)
* added config for flags * updated chart version
1 parent a12102d commit b0c3f1f

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

chart/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
2-
appVersion: "2.0"
3-
version: "1.2.0"
2+
appVersion: "2.2"
3+
version: "1.2.1"
44
description: A tool to log k8s events to stdout in JSON
55
home: https://github.com/max-rocket-internet/k8s-event-logger
66
name: k8s-event-logger

chart/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ spec:
3939
- name: {{ $key }}
4040
value: {{ $value | quote }}
4141
{{- end }}
42+
{{- with .Values.args }}
43+
args:
44+
{{- toYaml . | nindent 12 }}
45+
{{- end }}
4246
resources:
4347
{{- toYaml .Values.resources | nindent 12 }}
4448
{{- with .Values.nodeSelector }}

chart/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
image:
22
repository: maxrocketinternet/k8s-event-logger
3-
tag: "2.0"
3+
tag: "2.2"
44
pullPolicy: IfNotPresent
55

66
resources:
@@ -12,6 +12,7 @@ resources:
1212
memory: 128Mi
1313

1414
env: {}
15+
args: []
1516
imagePullSecrets: []
1617
nameOverride: ""
1718
fullnameOverride: ""

0 commit comments

Comments
 (0)