Manifest yaml for employee app include its manifest organization with kustomize

This commit is contained in:
adelyaou 2025-10-21 22:58:09 +07:00
parent dfbd85da23
commit 041fcbb6e4
4 changed files with 11 additions and 8 deletions

View File

@ -10,9 +10,9 @@ commonLabels:
environment: dev environment: dev
images: images:
- name: registry.gitlab.com/octavianadelya/employee-app/backend - name: docker.io/adelyao/employee-be
newTag: latest newTag: latest
- name: registry.gitlab.com/octavianadelya/employee-app/frontend - name: docker.io/adelyao/employee-fe
newTag: latest newTag: latest
patches: patches:

View File

@ -8,7 +8,7 @@ spec:
spec: spec:
containers: containers:
- name: employee-backend - name: employee-backend
image: registry.gitlab.com/adelya/employee-app/backend imagePullPolicy: Always
env: env:
- name: NODE_ENV - name: NODE_ENV
value: "development" value: "development"
@ -26,7 +26,7 @@ spec:
spec: spec:
containers: containers:
- name: employee-frontend - name: employee-frontend
image: registry.gitlab.com/adelya/employee-app/frontend imagePullPolicy: Always
env: env:
- name: VITE_API_URL - name: VITE_API_URL
value: "http://backend-service:4000" value: "http://backend-service:4000"

View File

@ -10,10 +10,13 @@ commonLabels:
environment: production environment: production
images: images:
- name: registry.gitlab.com/octavianadelya/employee-app/backend - name: docker.io/adelyao/employee-be
newTag: prod-latest newTag: prod-latest
- name: registry.gitlab.com/octavianadelya/employee-app/frontend - name: docker.io/adelyao/employee-fe
newTag: prod-latest newTag: prod-latest
patches: patches:
- path: patch-deployment.yaml - path: patch-deployment.yaml
target:
kind: Deployment
name: backend-deployment

View File

@ -10,9 +10,9 @@ commonLabels:
environment: staging environment: staging
images: images:
- name: registry.gitlab.com/octavianadelya/employee-app/backend - name: docker.io/adelyao/employee-be
newTag: staging-latest newTag: staging-latest
- name: registry.gitlab.com/octavianadelya/employee-app/frontend - name: docker.io/adelyao/employee-fe
newTag: staging-latest newTag: staging-latest
patches: patches: