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

View File

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