Skip to content

Commit

Permalink
feat: make dnsPolicy configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrokiefer committed Mar 22, 2021
1 parent b9d4f90 commit 3c3a346
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/conntrack-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: 0.6.0
description: Prometheus Conntrack Exporter
name: conntrack-exporter
version: 0.1.6
version: 0.1.7
2 changes: 1 addition & 1 deletion charts/conntrack-exporter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
protocol: TCP
resources:
{{ toYaml .Values.resources | indent 12 }}
dnsPolicy: ClusterFirst
dnsPolicy: {{ .Values.dnsPolicy }}
hostNetwork: true
restartPolicy: Always
terminationGracePeriodSeconds: 30
Expand Down
2 changes: 2 additions & 0 deletions charts/conntrack-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ extraArgs:

port: 9127

dnsPolicy: ClusterFirst

## Override the deployment namespace
##
namespaceOverride: ""

0 comments on commit 3c3a346

Please sign in to comment.