Skip to content

Commit

Permalink
fix: simplify scmType matching for accept rules
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Rogers <[email protected]>
  • Loading branch information
aarlaud and soniqua authored May 7, 2024
1 parent 4d8be87 commit 324f7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/snyk-broker/templates/broker_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ 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 "bitbucket-server-bearer-auth") (eq .Values.scmType "gitlab") (eq .Values.scmType "azure-repos") }}
{{- if has .Values.scmType ( list "github-com" "github-enterprise" "bitbucket-server" "bitbucket-server-bearer-auth" "gitlab" "azure-repos") }}
{{- if not .Values.disableAutoAcceptRules }}
# Default Values to allow Snyk Code Snippets and Snyk IaC
{{- if not .Values.enableSnykCodeLocalEngine }}
Expand Down

0 comments on commit 324f7ae

Please sign in to comment.