From 712d6ae36c09fe8bcfd092cbf9750e1a3326eb76 Mon Sep 17 00:00:00 2001 From: Don Khan Date: Wed, 29 Jan 2025 09:39:55 -0500 Subject: [PATCH] Fix YAML linter warning, add --pull. --- csireverseproxy/manifests/revproxy.yaml | 2 +- docker.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csireverseproxy/manifests/revproxy.yaml b/csireverseproxy/manifests/revproxy.yaml index 2422e3f3..d726662f 100644 --- a/csireverseproxy/manifests/revproxy.yaml +++ b/csireverseproxy/manifests/revproxy.yaml @@ -73,7 +73,7 @@ spec: - name: X_CSI_REVPROXY_TLS_CERT_DIR value: /app/tls - name: X_CSI_REVPROXY_WATCH_NAMESPACE - value: powermax # Change this to the namespace where proxy will be installed + value: powermax # Change this to the namespace where proxy will be installed volumeMounts: - name: configmap-volume mountPath: /etc/config/configmap diff --git a/docker.mk b/docker.mk index 29e037b9..d5a86cd7 100644 --- a/docker.mk +++ b/docker.mk @@ -30,7 +30,7 @@ endif docker: download-csm-common $(eval include csm-common.mk) @echo "Building: $(REGISTRY)/$(IMAGENAME):$(IMAGETAG)" - $(BUILDER) build $(NOCACHE) -t "$(REGISTRY)/$(IMAGENAME):$(IMAGETAG)" --target $(BUILDSTAGE) --build-arg GOPROXY --build-arg BASEIMAGE=$(CSM_BASEIMAGE) --build-arg GOIMAGE=$(DEFAULT_GOIMAGE) . + $(BUILDER) build --pull $(NOCACHE) -t "$(REGISTRY)/$(IMAGENAME):$(IMAGETAG)" --target $(BUILDSTAGE) --build-arg GOPROXY --build-arg BASEIMAGE=$(CSM_BASEIMAGE) --build-arg GOIMAGE=$(DEFAULT_GOIMAGE) . docker-no-cache: @echo "Building with --no-cache ..."