Skip to content

Commit

Permalink
fix: add field for custom CA in containerexecutor JobOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
dejanzele committed Mar 11, 2024
1 parent 757d61d commit 098d031
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/executor/containerexecutor/containerexecutor.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ type JobOptions struct {
UsernameSecret *testkube.SecretRef
TokenSecret *testkube.SecretRef
CertificateSecret string
AgentAPITLSSecret string
Variables map[string]testkube.Variable
ActiveDeadlineSeconds int64
ArtifactRequest *testkube.ArtifactRequest
Expand Down Expand Up @@ -694,6 +695,7 @@ func NewJobOptionsFromExecutionOptions(options client.ExecuteOptions) *JobOption
UsernameSecret: options.UsernameSecret,
TokenSecret: options.TokenSecret,
CertificateSecret: options.CertificateSecret,
AgentAPITLSSecret: options.AgentAPITLSSecret,
ActiveDeadlineSeconds: options.Request.ActiveDeadlineSeconds,
ArtifactRequest: artifactRequest,
DelaySeconds: jobDelaySeconds,
Expand Down

0 comments on commit 098d031

Please sign in to comment.