From ad107626bad2d2fcdcf34a8e9b27a2979a297e6f Mon Sep 17 00:00:00 2001 From: liaozan <378024053@qq.com> Date: Mon, 23 Oct 2023 01:26:55 +0800 Subject: [PATCH] Add PodTemplateSpec metadata name --- k8s-deploy-template.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index 350fa1e..78bd636 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -12,6 +12,7 @@ spec: app: ${APP_NAME} template: metadata: + name: ${APP_NAME} labels: app: ${APP_NAME} spec: -- GitLab