fix: add host
continuous-integration/drone/push Build is passing Details

master
icechen 2022-01-05 14:25:02 +08:00
parent d82cfdff49
commit 9d1867e70f
2 changed files with 6 additions and 6 deletions

View File

@ -28,7 +28,7 @@ steps:
image: bitsbeats/drone-helm3
settings:
kube_api_server:
from_secret: kubernetes_server
from_secret: kubernetes_server_test
kube_token:
from_secret: kubernetes_token_test
kube_certificate:
@ -36,9 +36,9 @@ steps:
chart: ./{{ .Root }}/deploy
release: api-{{ .Name }}-test
wait: true
namespace: {{ .NameSpace }}-test
namespace: {{ .NameSpace }}
values:
- nameSpace={{ .NameSpace }}-test
- nameSpace={{ .NameSpace }}
- aliasName={{ .AliasName }}
- image=reg.icechen.cn/{{ .NameSpace }}/api-{{ .Name }}
- imageTag=${DRONE_COMMIT:0:8}

View File

@ -28,7 +28,7 @@ steps:
image: bitsbeats/drone-helm3
settings:
kube_api_server:
from_secret: kubernetes_server
from_secret: kubernetes_server_test
kube_token:
from_secret: kubernetes_token_test
kube_certificate:
@ -36,9 +36,9 @@ steps:
chart: ./{{ .Root }}/deploy
release: service-{{ .Name }}-test
wait: true
namespace: {{ .NameSpace }}-test
namespace: {{ .NameSpace }}
values:
- nameSpace={{ .NameSpace }}-test
- nameSpace={{ .NameSpace }}
- aliasName={{ .AliasName }}
- image=reg.icechen.cn/{{ .NameSpace }}/service-{{ .Name }}
- imageTag=${DRONE_COMMIT:0:8}