Skip to content

Commit

Permalink
fix deepflow-agent dns policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick committed Jul 9, 2024
1 parent 28986d8 commit 8f8498c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/deepflow-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/deepflow-agent/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
dnsPolicy: ClusterFirstWithHostNet
dnsPolicy: {{ tpl .Values.dnsPolicy . }}
hostNetwork: {{ tpl .Values.hostNetwork . }}
hostPID: true
imagePullSecrets:
Expand Down
1 change: 1 addition & 0 deletions charts/deepflow-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ podLabels: {}
podSecurityContext: {}
# fsGroup: 2000
hostNetwork: "false"
dnsPolicy: "ClusterFirst"

## Mount the netns hostPath directory read-only
netns:
Expand Down
2 changes: 1 addition & 1 deletion charts/deepflow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions charts/deepflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,7 @@ deepflow-agent:
podSecurityContext: {}
# fsGroup: 2000
hostNetwork: "false"
dnsPolicy: "ClusterFirst"
## Mount the netns hostPath directory read-only
netns:
mount: false
Expand Down

0 comments on commit 8f8498c

Please sign in to comment.