From 66ace6ac233bae8a9c5e2eece029dc1ea1683d8b Mon Sep 17 00:00:00 2001 From: XoR Date: Mon, 7 Apr 2025 13:12:38 +0300 Subject: [PATCH] update nginx image reference and modify nodePort values for production and test environments; remove unused UAT configmap and kustomization files --- base/deploy.yaml | 2 +- stages/{uat => dev}/configmap.yaml | 4 ++-- stages/{uat => dev}/kustomization.yaml | 2 +- stages/prod/kustomization.yaml | 2 +- stages/test/kustomization.yaml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) rename stages/{uat => dev}/configmap.yaml (81%) rename stages/{uat => dev}/kustomization.yaml (92%) diff --git a/base/deploy.yaml b/base/deploy.yaml index e7e6c60..6945202 100644 --- a/base/deploy.yaml +++ b/base/deploy.yaml @@ -14,7 +14,7 @@ spec: spec: containers: - name: nginx - image: public.ecr.aws/nginx/nginx:placeholder + image: nginx:placeholder volumeMounts: - name: content mountPath: /usr/share/nginx/html diff --git a/stages/uat/configmap.yaml b/stages/dev/configmap.yaml similarity index 81% rename from stages/uat/configmap.yaml rename to stages/dev/configmap.yaml index 890bef6..6e5ae27 100644 --- a/stages/uat/configmap.yaml +++ b/stages/dev/configmap.yaml @@ -7,11 +7,11 @@ data: - uat + dev -

uat

+

dev

diff --git a/stages/uat/kustomization.yaml b/stages/dev/kustomization.yaml similarity index 92% rename from stages/uat/kustomization.yaml rename to stages/dev/kustomization.yaml index 90bdd00..0c6e45b 100644 --- a/stages/uat/kustomization.yaml +++ b/stages/dev/kustomization.yaml @@ -12,4 +12,4 @@ patches: patch: |- - op: replace path: /spec/ports/0/nodePort - value: 30082 + value: 30182 diff --git a/stages/prod/kustomization.yaml b/stages/prod/kustomization.yaml index e8ec547..aaa80c8 100644 --- a/stages/prod/kustomization.yaml +++ b/stages/prod/kustomization.yaml @@ -12,4 +12,4 @@ patches: patch: |- - op: replace path: /spec/ports/0/nodePort - value: 30083 + value: 30183 diff --git a/stages/test/kustomization.yaml b/stages/test/kustomization.yaml index 3ec6aa6..b5e15a2 100644 --- a/stages/test/kustomization.yaml +++ b/stages/test/kustomization.yaml @@ -12,4 +12,4 @@ patches: patch: |- - op: replace path: /spec/ports/0/nodePort - value: 30081 + value: 30181