From 8717ecf53befbc29719d6d14becee9b96b5024de Mon Sep 17 00:00:00 2001 From: Philip Liu <12836897+philipliu@users.noreply.github.com> Date: Mon, 26 Aug 2024 12:08:21 -0400 Subject: [PATCH] Revert "Set default `container.imagePullPolicy` to `IfNotPresent` (#1467)" (#1470) ### Description This reverts commit fff3240ee9348d82748602254cdb3282b439cb34. ### Context The previous change did not fix the deployments, causing the pods to be evicted continuously. ### Testing - `./gradlew test` ### Documentation N/A ### Known limitations N/A --- helm-charts/reference-server/templates/deployment.yaml | 2 +- .../sep-service/templates/eventprocessor-deployment.yaml | 2 +- helm-charts/sep-service/templates/observer-deployment.yaml | 2 +- helm-charts/sep-service/templates/platform-deployment.yaml | 2 +- helm-charts/sep-service/templates/sepserver-deployment.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/helm-charts/reference-server/templates/deployment.yaml b/helm-charts/reference-server/templates/deployment.yaml index 8305865e4..9de6ec342 100644 --- a/helm-charts/reference-server/templates/deployment.yaml +++ b/helm-charts/reference-server/templates/deployment.yaml @@ -26,7 +26,7 @@ spec: - name: reference image: {{ .Values.container.image }} args: [ "--kotlin-reference-server" ] - imagePullPolicy: {{ .Values.container.imagePullPolicy | default "IfNotPresent" }} + imagePullPolicy: {{ .Values.container.imagePullPolicy }} ports: - name: http containerPort: {{ .Values.services.ref.containerPort | default 8091 }} diff --git a/helm-charts/sep-service/templates/eventprocessor-deployment.yaml b/helm-charts/sep-service/templates/eventprocessor-deployment.yaml index 2fa66180b..610a22f23 100644 --- a/helm-charts/sep-service/templates/eventprocessor-deployment.yaml +++ b/helm-charts/sep-service/templates/eventprocessor-deployment.yaml @@ -27,7 +27,7 @@ spec: - name: event-processor image: {{ .Values.container.image }} args: [ "--event-processor" ] - imagePullPolicy: {{ .Values.container.imagePullPolicy | default "IfNotPresent" }} + imagePullPolicy: {{ .Values.container.imagePullPolicy }} ports: - name: http containerPort: {{ .Values.services.sep.containerPort | default 8088 }} diff --git a/helm-charts/sep-service/templates/observer-deployment.yaml b/helm-charts/sep-service/templates/observer-deployment.yaml index 8900f919e..d0f0e8e36 100644 --- a/helm-charts/sep-service/templates/observer-deployment.yaml +++ b/helm-charts/sep-service/templates/observer-deployment.yaml @@ -27,7 +27,7 @@ spec: - name: stellar-observer image: {{ .Values.container.image }} args: [ "--stellar-observer" ] - imagePullPolicy: {{ .Values.container.imagePullPolicy | default "IfNotPresent" }} + imagePullPolicy: {{ .Values.container.imagePullPolicy }} ports: - name: http containerPort: {{ .Values.services.observer.containerPort | default 8083 }} diff --git a/helm-charts/sep-service/templates/platform-deployment.yaml b/helm-charts/sep-service/templates/platform-deployment.yaml index 6ad250ccf..cbbbec049 100644 --- a/helm-charts/sep-service/templates/platform-deployment.yaml +++ b/helm-charts/sep-service/templates/platform-deployment.yaml @@ -26,7 +26,7 @@ spec: - name: platform image: {{ .Values.container.image }} args: [ "--platform-server" ] - imagePullPolicy: {{ .Values.container.imagePullPolicy | default "IfNotPresent" }} + imagePullPolicy: {{ .Values.container.imagePullPolicy}} ports: - name: http containerPort: {{ .Values.services.platform.containerPort | default 8085 }} diff --git a/helm-charts/sep-service/templates/sepserver-deployment.yaml b/helm-charts/sep-service/templates/sepserver-deployment.yaml index cc6fea38e..aec957b1e 100644 --- a/helm-charts/sep-service/templates/sepserver-deployment.yaml +++ b/helm-charts/sep-service/templates/sepserver-deployment.yaml @@ -27,7 +27,7 @@ spec: - name: sep-server image: {{ .Values.container.image }} args: [ "--sep-server" ] - imagePullPolicy: {{ .Values.container.imagePullPolicy | default "IfNotPresent" }} + imagePullPolicy: {{ .Values.container.imagePullPolicy }} ports: - name: http containerPort: {{ .Values.services.sep.containerPort | default 8080 }}