修改deployment文件中namespace属性
Some checks failed
Build Push and Deploy Image / build (push) Failing after 21m34s

This commit is contained in:
bamanker
2026-01-05 23:40:42 +08:00
parent 1118fa6b26
commit 3352d7efc1
2 changed files with 3 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ metadata:
app: $APP_NAME
version: $APP_TAG
name: $APP_NAME
namespace: dl-proj #一定要写名称空间
namespace: default #一定要写名称空间
spec:
progressDeadlineSeconds: 600
replicas: 1
@@ -57,7 +57,7 @@ metadata:
labels:
app: $APP_NAME
name: $APP_NAME
namespace: dl-proj
namespace: default
spec:
type: NodePort
externalTrafficPolicy: Local