Update k8s/overlays/local/patches/deployment-patch.yaml
Some checks failed
eCommerce-backend/pipeline/head Something is wrong with the build of this commit
Some checks failed
eCommerce-backend/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user