Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
devopstales committed Feb 8, 2022
1 parent 0fb96be commit 2c21948
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions charts/trivy-operator/templates/3-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: LOG_LEVEL
value: "{{ .Values.log_level }}"
{{- if .Values.githubToken.enabled }}
- name: GITHUB_TOKEN
value: "{{ .Values.githubToken.token }}"
Expand Down
1 change: 1 addition & 0 deletions charts/trivy-operator/templates/4-namespace-scanner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
crontab: "{{ .Values.namespaceScanner.crontab }}"
clusterWide: "{{ .Values.namespaceScanner.clusterWide }}"
namespace_selector: "{{ .Values.namespaceScanner.namespaceSelector }}"
clusterWide: {{ .Values.namespaceScanner.clusterWide | default "false" }}
{{- if .Values.registryAuth.enabled }}
{{- with .Values.registryAuth.registry }}
registry:
Expand Down
5 changes: 1 addition & 4 deletions charts/trivy-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ image:
pullPolicy: Always
tag: "2.3"

env:
vars:
- name: LOG_LEVEL
value: "INFO"
log_level: "INFO"

imagePullSecrets: []
podSecurityContext:
Expand Down

0 comments on commit 2c21948

Please sign in to comment.