Skip to content

Commit

Permalink
Merge pull request #43 from snyk/fix/rm-rule-injection-env-vars-for-c…
Browse files Browse the repository at this point in the history
…ra-broker

fix: rm auto rule injection for non scm types
  • Loading branch information
aarlaud authored Jan 27, 2023
2 parents e2a6bca + 5058bca commit d400403
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/snyk-broker/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: snyk-broker
version: 1.1.11
version: 1.1.12
description: A Helm chart for Kubernetes
type: application
2 changes: 2 additions & 0 deletions charts/snyk-broker/templates/broker_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -310,11 +310,13 @@ spec:
- name: ACCEPT
value: /home/node/private/accept.json
{{ else }}
{{- if or (eq .Values.scmType "github-com") (eq .Values.scmType "github-enterprise") (eq .Values.scmType "bitbucket-server") (eq .Values.scmType "gitlab") (eq .Values.scmType "azure-repos") }}
# Default Values to allow Snyk Code Snippets and Snyk IaC
- name: ACCEPT_CODE
value: "true"
- name: ACCEPT_IAC
value: "tf,yaml,yml,json,tpl"
{{- end}}
{{- end }}
{{- range .Values.env }}
# custom env var in override.yaml
Expand Down

0 comments on commit d400403

Please sign in to comment.