Add namespace, secret for image registry, and prod configs

This commit is contained in:
Agent
2026-03-20 10:21:33 +00:00
parent f70ba958c7
commit fe66d197aa
9 changed files with 124 additions and 11 deletions

View File

@@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: todo-frontend
namespace: todo-test
labels:
app: todo-frontend
spec:
@@ -14,10 +15,12 @@ spec:
labels:
app: todo-frontend
spec:
imagePullSecrets:
- name: todo-registry-secret
containers:
- name: todo-frontend
image: todo-frontend:latest
imagePullPolicy: IfNotPresent
image: ccr.ccs.tencentyun.com/todo-test/todo-frontend:latest
imagePullPolicy: Always
ports:
- containerPort: 80
env: