Skip to content

Commit

Permalink
Fix helm chart configuration (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
clamoriniere committed Oct 2, 2020
1 parent ae25ec7 commit 1a4fcc0
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions chart/extendeddaemonset/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
args:
- --zap-level={{ .Values.logLevel }}
- --zap-encoder=console
- --zap-stacktrace-level=error
- -loglevel={{ .Values.logLevel }}
{{- if .Values.pprof.enabled }}
- --pprof=true
- -pprof
{{- end }}
env:
- name: WATCH_NAMESPACE
Expand All @@ -53,18 +51,12 @@ spec:
value: {{ .Chart.Name }}
ports:
- name: metrics
containerPort: 8383
containerPort: 8080
protocol: TCP
readinessProbe:
httpGet:
path: /ready
port: 8080
periodSeconds: 10
livenessProbe:
httpGet:
path: /live
port: 8080
periodSeconds: 10
path: /healthz/
port: 8081
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down

0 comments on commit 1a4fcc0

Please sign in to comment.