mirror of
https://github.com/kyverno/kyverno.git
synced 2025-04-16 01:07:14 +00:00
Merge branch '34_update_docs' of https://github.com/nirmata/kyverno into 34_update_docs
This commit is contained in:
commit
4f56e60f8d
1 changed files with 8 additions and 6 deletions
14
README.md
14
README.md
|
@ -66,15 +66,17 @@ spec:
|
|||
- name: set-image-pull-policy
|
||||
resource:
|
||||
kinds:
|
||||
- Pod
|
||||
- Deployment
|
||||
mutate:
|
||||
overlay:
|
||||
spec:
|
||||
containers:
|
||||
# match images which end with :latest
|
||||
- (image): "*:latest"
|
||||
# set the imagePullPolicy to "Always"
|
||||
imagePullPolicy: "Always"
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
# match images which end with :latest
|
||||
- (image): "*:latest"
|
||||
# set the imagePullPolicy to "Always"
|
||||
imagePullPolicy: "Always"
|
||||
````
|
||||
|
||||
### 3. Generating resources
|
||||
|
|
Loading…
Add table
Reference in a new issue