Skip to content

Commit

Permalink
Merge pull request #10 from evgkrsk/fix-deployment-env-vars
Browse files Browse the repository at this point in the history
Fix dangling .Values.env.vars preventing to install chart
  • Loading branch information
devopstales authored Feb 10, 2022
2 parents 2c21948 + 5b64711 commit 8e1cbc1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion charts/trivy-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: trivy-operator
description: A Helm chart for trivy-operator
type: application
version: 2.3
version: 2.3.1
appVersion: "1.16.0"
kubeVersion: ">=1.19.x-0"
keywords:
Expand Down
3 changes: 0 additions & 3 deletions charts/trivy-operator/templates/3-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ spec:
- name: GITHUB_TOKEN
value: "{{ .Values.githubToken.token }}"
{{- end }}
{{- if .Values.env.vars }}
{{ toYaml .Values.env.vars | indent 8 }}
{{- end }}
{{- if .Values.storage.enabled }}
volumeMounts:
- name: cache
Expand Down

0 comments on commit 8e1cbc1

Please sign in to comment.