17 lines
618 B
YAML
17 lines
618 B
YAML
# base/deployment.yaml sets imagePullPolicy: Always, which is the right
|
|
# default for a mutable tag like :latest. The dev overlay pins an immutable
|
|
# sha-<commit> tag instead (see image-tag/), and for an immutable tag Always
|
|
# is pure waste - the content behind that tag can never change, so re-pulling
|
|
# it on every pod start only adds a registry round-trip and a hard dependency
|
|
# on the registry being reachable at scheduling time.
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: vncmail-plus
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: vncmail-plus
|
|
imagePullPolicy: IfNotPresent
|