1
0
Fork 0
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:
Jim Bugwadia 2019-05-22 19:37:00 -07:00
commit 4f56e60f8d

View file

@ -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