mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-06 09:16:36 +00:00
* added mutation field in checks and config * added test * fix tests * revert resolve export * remove Patched resources as moving that to separate functionality apart from validation * go mod tidy * move mutation to the container level * change prefix based on the resource kind * collect all mutations from results and apply * added test for cronjob and deployment apart from just pod * test cronjob prefix * return a copy of mutation * fix tests and comments * address feedback comments * fix warning formating * refactor getJSONSchemaPrefix function
15 lines
353 B
YAML
15 lines
353 B
YAML
successMessage: Image pull policy is "Always"
|
|
failureMessage: Image pull policy should be "Always"
|
|
category: Reliability
|
|
target: Container
|
|
schema:
|
|
'$schema': http://json-schema.org/draft-07/schema
|
|
required:
|
|
- imagePullPolicy
|
|
properties:
|
|
imagePullPolicy:
|
|
const: Always
|
|
mutations:
|
|
- op: add
|
|
path: /imagePullPolicy
|
|
value: Always |