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 1eaca8e..c257656 100644 --- a/go_handler/go_handler_template/go_api_test_pipeline.go +++ b/go_handler/go_handler_template/go_api_test_pipeline.go @@ -27,17 +27,17 @@ steps: image: bitsbeats/drone-helm3 settings: kube_api_server: - from_secret: kubernetes_server_test + from_secret: kubernetes_server kube_token: - from_secret: kubernetes_token_test + from_secret: kubernetes_token kube_certificate: - from_secret: kubernetes_cert_test + from_secret: kubernetes_cert chart: ./{{ .Root }}/deploy release: api-{{ .Name }}-test wait: true namespace: {{ .NameSpace }} values: - - nameSpace={{ .NameSpace }} + - nameSpace={{ .NameSpace }}-test - aliasName={{ .AliasName }} - image=reg.icechen.cn/{{ .NameSpace }}/api-{{ .Name }} - imageTag=${DRONE_COMMIT:0:8} 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 667f048..63aef13 100644 --- a/go_handler/go_handler_template/go_service_test_pipeline.go +++ b/go_handler/go_handler_template/go_service_test_pipeline.go @@ -27,15 +27,15 @@ steps: image: bitsbeats/drone-helm3 settings: kube_api_server: - from_secret: kubernetes_server_test + from_secret: kubernetes_server kube_token: - from_secret: kubernetes_token_test + from_secret: kubernetes_token kube_certificate: - from_secret: kubernetes_cert_test + from_secret: kubernetes_cert chart: ./{{ .Root }}/deploy release: service-{{ .Name }}-test wait: true - namespace: {{ .NameSpace }} + namespace: {{ .NameSpace }}-test values: - nameSpace={{ .NameSpace }} - aliasName={{ .AliasName }}