Update k8s/overlays/local/patches/deployment-patch.yaml
Some checks failed
eCommerce-backend/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
2026-02-22 14:38:13 +00:00
parent f695049b63
commit 019d37dd25

View File

@@ -4,11 +4,30 @@ metadata:
name: ecommerce-app name: ecommerce-app
namespace: ecommerce namespace: ecommerce
spec: spec:
replicas: 1
template: template:
spec: spec:
initContainers: initContainers:
- name: run-migrations - name: run-migrations
imagePullPolicy: Never imagePullPolicy: Always
# imagePullSecrets are set at pod level below
containers: containers:
- name: ecommerce-app - name: ecommerce-app
imagePullPolicy: Never imagePullPolicy: Always
imagePullSecrets:
- name: harbor-registry-secret # kubectl create secret docker-registry harbor-registry-secret ...
# apiVersion: apps/v1
# kind: Deployment
# metadata:
# name: ecommerce-app
# namespace: ecommerce
# spec:
# template:
# spec:
# initContainers:
# - name: run-migrations
# imagePullPolicy: Never
# containers:
# - name: ecommerce-app
# imagePullPolicy: Never