diff --git a/charts/deepflow-agent/Chart.yaml b/charts/deepflow-agent/Chart.yaml index 5d73b35..9ce7af4 100644 --- a/charts/deepflow-agent/Chart.yaml +++ b/charts/deepflow-agent/Chart.yaml @@ -3,7 +3,7 @@ description: An automated observability platform for cloud-native developers. name: deepflow-agent engine: gotpl type: application -version: 6.5.010 +version: 6.5.011 appVersion: "6.5.9" kubeVersion: ">=1.16.0-0" sources: diff --git a/charts/deepflow-agent/templates/daemonset.yaml b/charts/deepflow-agent/templates/daemonset.yaml index c04076c..2753a50 100644 --- a/charts/deepflow-agent/templates/daemonset.yaml +++ b/charts/deepflow-agent/templates/daemonset.yaml @@ -27,7 +27,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: - dnsPolicy: ClusterFirstWithHostNet + dnsPolicy: {{ tpl .Values.dnsPolicy . }} hostNetwork: {{ tpl .Values.hostNetwork . }} hostPID: true imagePullSecrets: diff --git a/charts/deepflow-agent/values.yaml b/charts/deepflow-agent/values.yaml index c5acfa7..6ca29b8 100644 --- a/charts/deepflow-agent/values.yaml +++ b/charts/deepflow-agent/values.yaml @@ -33,6 +33,7 @@ podLabels: {} podSecurityContext: {} # fsGroup: 2000 hostNetwork: "false" +dnsPolicy: "ClusterFirst" ## Mount the netns hostPath directory read-only netns: diff --git a/charts/deepflow/Chart.yaml b/charts/deepflow/Chart.yaml index 875b2c5..7cc220e 100644 --- a/charts/deepflow/Chart.yaml +++ b/charts/deepflow/Chart.yaml @@ -3,7 +3,7 @@ description: An automated observability platform for cloud-native developers. name: deepflow engine: gotpl type: application -version: 6.5.010 +version: 6.5.011 appVersion: "6.5.9" kubeVersion: ">=1.16.0-0" sources: diff --git a/charts/deepflow/values.yaml b/charts/deepflow/values.yaml index 7ed89f5..7576aa5 100644 --- a/charts/deepflow/values.yaml +++ b/charts/deepflow/values.yaml @@ -679,6 +679,7 @@ deepflow-agent: podSecurityContext: {} # fsGroup: 2000 hostNetwork: "false" + dnsPolicy: "ClusterFirst" ## Mount the netns hostPath directory read-only netns: mount: false