Skip to content

Commit

Permalink
Enable tekton agent in the config
Browse files Browse the repository at this point in the history
  • Loading branch information
ccojocar committed Mar 22, 2019
1 parent 38f4e9e commit 389dc33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prow/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,8 @@ func validateAgent(v JobBase, podNamespace string) error {
k := string(prowapi.KubernetesAgent)
b := string(prowapi.KnativeBuildAgent)
j := string(prowapi.JenkinsAgent)
agents := sets.NewString(k, b, j)
p := string(prowapi.TektonAgent)
agents := sets.NewString(k, b, j, p)
agent := v.Agent
switch {
case !agents.Has(agent):
Expand Down

0 comments on commit 389dc33

Please sign in to comment.