2021-07-20 11:28:37 +00:00
|
|
|
diff -tubr charts/fluent-bit/templates/_pod.tpl charts/fluent-bit.zdt/templates/_pod.tpl
|
|
|
|
--- charts/fluent-bit/templates/_pod.tpl 2021-06-22 12:25:10.000000000 +0200
|
|
|
|
+++ charts/fluent-bit.zdt/templates/_pod.tpl 2021-07-20 12:44:55.349873171 +0200
|
|
|
|
@@ -21,6 +21,8 @@
|
|
|
|
initContainers:
|
|
|
|
{{- toYaml .Values.initContainers | nindent 2 }}
|
2021-03-07 11:38:53 +00:00
|
|
|
{{- end }}
|
2021-07-20 11:28:37 +00:00
|
|
|
+hostNetwork: true
|
|
|
|
+dnsPolicy: ClusterFirstWithHostNet
|
2021-03-07 11:38:53 +00:00
|
|
|
containers:
|
|
|
|
- name: {{ .Chart.Name }}
|
|
|
|
securityContext:
|
2021-07-20 11:28:37 +00:00
|
|
|
diff -tubr charts/fluent-bit/templates/clusterrole.yaml charts/fluent-bit.zdt/templates/clusterrole.yaml
|
|
|
|
--- charts/fluent-bit/templates/clusterrole.yaml 2021-06-22 12:25:10.000000000 +0200
|
|
|
|
+++ charts/fluent-bit.zdt/templates/clusterrole.yaml 2021-07-20 12:44:29.936278716 +0200
|
2021-03-07 11:38:53 +00:00
|
|
|
@@ -11,6 +11,8 @@
|
|
|
|
resources:
|
|
|
|
- pods
|
|
|
|
- namespaces
|
2021-07-20 11:28:37 +00:00
|
|
|
+ - nodes
|
|
|
|
+ - nodes/proxy
|
2021-03-07 11:38:53 +00:00
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
2021-07-20 11:28:37 +00:00
|
|
|
diff -tubr charts/fluent-bit/templates/tests/test-connection.yaml charts/fluent-bit.zdt/templates/tests/test-connection.yaml
|
|
|
|
--- charts/fluent-bit/templates/tests/test-connection.yaml 2021-06-22 12:25:10.000000000 +0200
|
|
|
|
+++ charts/fluent-bit.zdt/templates/tests/test-connection.yaml 2021-05-17 12:09:02.724057438 +0200
|
2021-03-05 15:53:02 +00:00
|
|
|
@@ -1,3 +1,4 @@
|
|
|
|
+{{- if .Values.testFramework.enabled }}
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Pod
|
|
|
|
metadata:
|
|
|
|
@@ -18,3 +19,4 @@
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
restartPolicy: Never
|
|
|
|
+{{- end }}
|
2021-07-20 11:28:37 +00:00
|
|
|
diff -tubr charts/fluent-bit/values.yaml charts/fluent-bit.zdt/values.yaml
|
|
|
|
--- charts/fluent-bit/values.yaml 2021-06-22 12:25:10.000000000 +0200
|
|
|
|
+++ charts/fluent-bit.zdt/values.yaml 2021-07-19 10:23:01.383398153 +0200
|
2021-03-05 15:53:02 +00:00
|
|
|
@@ -12,6 +12,7 @@
|
|
|
|
# tag:
|
|
|
|
|
|
|
|
testFramework:
|
|
|
|
+ enabled: false
|
|
|
|
image:
|
|
|
|
repository: busybox
|
|
|
|
pullPolicy: Always
|