diff --git a/mirroroperator/registrymirror.py b/mirroroperator/registrymirror.py index 62be697..abe0c67 100644 --- a/mirroroperator/registrymirror.py +++ b/mirroroperator/registrymirror.py @@ -264,7 +264,7 @@ def generate_daemon_set(self, daemon_set): self.hostess_docker_registry, self.hostess_docker_image, self.hostess_docker_tag), - image_pull_policy="Always", + image_pull_policy="IfNotPresent", resources=client.V1ResourceRequirements( requests={ "memory": "64Mi", "cpu": "0.001" @@ -299,7 +299,7 @@ def generate_daemon_set(self, daemon_set): "-x" ], image="alpine:3.6", - image_pull_policy="Always", + image_pull_policy="IfNotPresent", resources=client.V1ResourceRequirements( requests={"memory": "1Mi", "cpu": "0.001"}, limits={"memory": "32Mi", "cpu": "0.1"}