Skip to content

Commit

Permalink
Update charts/trust-policies/templates/_helpers.tpl
Browse files Browse the repository at this point in the history
Co-authored-by: Brian DeHamer <bdehamer@github.com>
  • Loading branch information
codysoyland and bdehamer authored Jun 24, 2024
1 parent 48eb118 commit 95631cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/trust-policies/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Generate subjectRegExp value
*/}}
{{- define "clusterimagepolicy.subjectRegExp" -}}
{{- if .Values.policy.subjectRegExp -}}
subjectRegExp: {{- .Values.policy.subjectRegExp -}}
subjectRegExp: {{ .Values.policy.subjectRegExp }}
{{- else -}}
subjectRegExp: https://github.com/{{ .Values.policy.organization | required "One of policy.organization/policy.subjectRegExp is required" }}/{{ .Values.policy.repository }}/\.github/workflows/.*
{{- end -}}
Expand Down

0 comments on commit 95631cb

Please sign in to comment.