Skip to content

Commit

Permalink
configure github feed sync based on anchoreEnterpriseFeeds.githubDriv…
Browse files Browse the repository at this point in the history
…erEnabled when anchoreEnterpriseGlobal.enabled=true

Signed-off-by: Brady Todhunter <[email protected]>
  • Loading branch information
Btodhunter committed Apr 28, 2021
1 parent 024e0c6 commit 9010b3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stable/anchore-engine/templates/engine_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ data:
# If enabled only sync specific feeds instead of all that are found.
enabled: true
feeds:
{{- if not .Values.anchoreEnterpriseGlobal.enabled }}
{{- if .Values.anchoreEnterpriseGlobal.enabled }}
github: {{ .Values.anchoreEnterpriseFeeds.githubDriverEnabled }}
{{- else }}
github: {{ default "true" .Values.anchoreGlobal.syncGithub }}
{{- end }}
# Vulnerabilities feed is the feed for distro cve sources (redhat, debian, ubuntu, oracle, alpine....)
Expand Down

0 comments on commit 9010b3e

Please sign in to comment.