Skip to content

🐞 Missing CRD spec for concurrencyPolicy #2002

@rfelber

Description

@rfelber

🐞 Bug report

Describe the bug

The new feature #275 seems to be broken due to a missing CRD spec.

Steps To Reproduce

Trying to use the feature in scheduled scans results in an error:

Example scheduledScan:

apiVersion: execution.securecodebox.io/v1
kind: ScheduledScan
metadata:
  name: nmap-test
spec:
  interval: 24h
  concurrencyPolicy: Forbid
  successfulJobsHistoryLimit: 1
  failedJobsHistoryLimit: 1
  scanSpec:
    scanType: "nmap"
    parameters:
       ...

Result / Error:

error validating data: ValidationError(ScheduledScan.spec): unknown field "concurrencyPolicy" in io.securecodebox.execution.v1.ScheduledScan.spec

Expected behavior

No error

System (please complete the following information):

  • SCB v4.1.0
  • Kubernetes 1.24

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions