Skip to content

Commit

Permalink
Merge pull request #22 from stefannica/2.0-baseline
Browse files Browse the repository at this point in the history
Remove trivy helm chart changes from the 2.0 baseline
  • Loading branch information
stefannica authored Aug 5, 2020
2 parents cc5ffeb + 3e59193 commit 99715cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions harbor-helm/templates/trivy/trivy-sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ spec:
{{ toYaml .Values.trivy.podAnnotations | indent 8 }}
{{- end }}
spec:
securityContext:
runAsNonRoot: true
runAsUser: 10000
fsGroup: 10000
automountServiceAccountToken: false
containers:
- name: trivy
Expand Down
4 changes: 2 additions & 2 deletions harbor-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -534,9 +534,9 @@ trivy:
enabled: false
image:
# repository the repository for Trivy adapter image
repository: registry.suse.de/devel/caps/registry/containers/registry/harbor-trivy-adapter
repository: goharbor/trivy-adapter-photon
# tag the tag for Trivy adapter image
tag: 2.0.0-rev1
tag: v2.0.0
# replicas the number of Pod replicas
replicas: 1
# debugMode the flag to enable Trivy debug mode with more verbose scanning log
Expand Down

0 comments on commit 99715cf

Please sign in to comment.