Skip to content

Commit

Permalink
fix missing logic for mounting an existing secret for reports, notifi…
Browse files Browse the repository at this point in the history
…cations & feeds services (#114)

Signed-off-by: Brady Todhunter <[email protected]>
  • Loading branch information
Btodhunter authored Jan 29, 2021
1 parent 6814e1a commit 1b4336f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion stable/anchore-engine/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: anchore-engine
version: 1.11.5
version: 1.11.6
appVersion: 0.9.0
description: Anchore container analysis and policy evaluation engine service
keywords:
Expand Down
4 changes: 2 additions & 2 deletions stable/anchore-engine/templates/api_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ spec:
envFrom:
{{- if not .Values.inject_secrets_via_env }}
- secretRef:
name: {{ template "anchore-engine.fullname" . }}
name: {{ default (include "anchore-engine.fullname" .) .Values.anchoreGlobal.existingSecret }}
{{- end }}
- configMapRef:
name: {{ template "anchore-engine.fullname" . }}-env
Expand Down Expand Up @@ -391,7 +391,7 @@ spec:
envFrom:
{{- if not .Values.inject_secrets_via_env }}
- secretRef:
name: {{ template "anchore-engine.fullname" . }}
name: {{ default (include "anchore-engine.fullname" .) .Values.anchoreGlobal.existingSecret }}
{{- end }}
- configMapRef:
name: {{ template "anchore-engine.fullname" . }}-env
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
envFrom:
{{- if not .Values.inject_secrets_via_env }}
- secretRef:
name: {{ default (include "anchore-engine.fullname" .) .Values.anchoreGlobal.existingSecret }}
name: {{ default (include "anchore-engine.enterprise-feeds.fullname" .) .Values.anchoreEnterpriseFeeds.existingSecret }}
{{- end }}
- configMapRef:
name: {{ template "anchore-engine.enterprise-feeds.fullname" . }}-env
Expand Down

0 comments on commit 1b4336f

Please sign in to comment.