From f2b6573ff189413c628a071fbcea644b309da953 Mon Sep 17 00:00:00 2001 From: icechen Date: Tue, 4 Jan 2022 19:04:48 +0800 Subject: [PATCH] fix: add namespace --- go_handler/go_handler_template/go_api_production_pipeline.go | 1 + go_handler/go_handler_template/go_api_test_pipeline.go | 1 + go_handler/go_handler_template/go_service_production_pipeline.go | 1 + go_handler/go_handler_template/go_service_test_pipeline.go | 1 + 4 files changed, 4 insertions(+) diff --git a/go_handler/go_handler_template/go_api_production_pipeline.go b/go_handler/go_handler_template/go_api_production_pipeline.go index 08d403e..3059975 100644 --- a/go_handler/go_handler_template/go_api_production_pipeline.go +++ b/go_handler/go_handler_template/go_api_production_pipeline.go @@ -32,6 +32,7 @@ steps: chart: ./{{ .Root }}/deploy release: api-{{ .Name }} wait: true + namespace: {{ .NameSpace }} values: - nameSpace={{ .NameSpace }} - aliasName={{ .AliasName }} diff --git a/go_handler/go_handler_template/go_api_test_pipeline.go b/go_handler/go_handler_template/go_api_test_pipeline.go index 1a2cab6..ff024db 100644 --- a/go_handler/go_handler_template/go_api_test_pipeline.go +++ b/go_handler/go_handler_template/go_api_test_pipeline.go @@ -32,6 +32,7 @@ steps: chart: ./{{ .Root }}/deploy release: api-{{ .Name }} wait: true + namespace: {{ .NameSpace }} values: - nameSpace={{ .NameSpace }} - aliasName={{ .AliasName }} diff --git a/go_handler/go_handler_template/go_service_production_pipeline.go b/go_handler/go_handler_template/go_service_production_pipeline.go index c888ffa..0b8c669 100644 --- a/go_handler/go_handler_template/go_service_production_pipeline.go +++ b/go_handler/go_handler_template/go_service_production_pipeline.go @@ -32,6 +32,7 @@ steps: chart: ./{{ .Root }}/deploy release: service-{{ .Name }} wait: true + namespace: {{ .NameSpace }} values: - nameSpace={{ .NameSpace }} - aliasName={{ .AliasName }} diff --git a/go_handler/go_handler_template/go_service_test_pipeline.go b/go_handler/go_handler_template/go_service_test_pipeline.go index 94da166..e9146fe 100644 --- a/go_handler/go_handler_template/go_service_test_pipeline.go +++ b/go_handler/go_handler_template/go_service_test_pipeline.go @@ -32,6 +32,7 @@ steps: chart: ./{{ .Root }}/deploy release: service-{{ .Name }} wait: true + namespace: {{ .NameSpace }} values: - nameSpace={{ .NameSpace }} - aliasName={{ .AliasName }}