opa gatekeeper v3.23.1

AssignImage.spec.parameters.pathTests[]

PathTest allows the user to customize how the mutation works if parent paths are missing. It traverses the list in order. All sub paths are tested against the provided condition, if the test fails, the mutation is not applied. All `subPath` entries must be a prefix of `location`. Any glob characters will take on the same value as was used to expand the matching glob in `location`. Available Tests: * MustExist - the path must exist or do not mutate * MustNotExist - the path must not exist or do not mutate.

2 fields
AssignImage.spec.parameters.pathTests[] fields and descriptions
Field / TypeDescription
condition
string

Condition describes whether the path either MustExist or MustNotExist in the original object

  • enum: ["MustExist","MustNotExist"]
subPath
string

No description provided.