Merge "Add infra services Image Pull Policy"

This commit is contained in:
Zuul 2021-03-05 16:17:24 +00:00 committed by Gerrit Code Review
commit acb3d02e83
2 changed files with 6 additions and 4 deletions

View File

@ -135,8 +135,9 @@ func (jh jumpHost) generateDeployment(instance string, labels map[string]string)
Spec: corev1.PodSpec{
Containers: []corev1.Container{
{
Name: JumpHostServiceName,
Image: jh.config.Image,
Name: JumpHostServiceName,
Image: jh.config.Image,
ImagePullPolicy: corev1.PullIfNotPresent,
Ports: []corev1.ContainerPort{
{
Name: "ssh",

View File

@ -108,8 +108,9 @@ func (lb loadBalancer) generateDeploymentAndSecret(instance string, labels map[s
Spec: corev1.PodSpec{
Containers: []corev1.Container{
{
Name: LoadBalancerServiceName,
Image: lb.config.Image,
Name: LoadBalancerServiceName,
Image: lb.config.Image,
ImagePullPolicy: corev1.PullIfNotPresent,
Ports: []corev1.ContainerPort{
{
Name: "http",