Skip to content

Commit

Permalink
devops: fix that podman build failed by privileged: false (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
yudong2015 authored Nov 25, 2024
1 parent b7331ed commit 52e1c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devops/charts/agent/charts/jenkins/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ https://github.com/helm/charts/issues/5167#issuecomment-619137759
{{- end -}}

{{- define "jenkins.agent.privileged" -}}
{{ if eq (include "jenkins.agent.variant" .) "podman" }}
{{ if eq (include "jenkins.agent.variant" .) "-podman" }}
{{- print "true" -}}
{{- else -}}
{{- print "false" -}}
Expand Down

0 comments on commit 52e1c89

Please sign in to comment.