Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Tke
Commits
a945416f
Commit
a945416f
authored
4 years ago
by
jiayongfei
Browse files
Options
Download
Email Patches
Plain Diff
fix: update etcd image for platform test
parent
b85fb5cf
test_etcd_image
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/e2e/manifests/etcd/etcd.yaml
+1
-1
test/e2e/manifests/etcd/etcd.yaml
test/e2e/tke/tke.go
+2
-0
test/e2e/tke/tke.go
with
3 additions
and
1 deletion
+3
-1
test/e2e/manifests/etcd/etcd.yaml
+
1
-
1
View file @
a945416f
...
...
@@ -45,7 +45,7 @@ spec:
-
--client-cert-auth=true
-
--ca-file=/app/certs/etcd-ca.crt
-
--trusted-ca-file=/app/certs/etcd-ca.crt
image
:
quay.io/coreos/etcd:latest
image
:
registry.tke.com/library/etcd:{{ .Tag }}
volumeMounts
:
-
name
:
certs-volume
mountPath
:
/app/certs
...
...
This diff is collapsed.
Click to expand it.
test/e2e/tke/tke.go
+
2
-
0
View file @
a945416f
...
...
@@ -26,6 +26,7 @@ import (
"net/url"
"os"
"time"
"tkestack.io/tke/pkg/platform/provider/baremetal/images"
"github.com/onsi/gomega"
...
...
@@ -153,6 +154,7 @@ func (t *TKE) createEtcd(ctx context.Context) error {
options
:=
map
[
string
]
interface
{}{
"Servers"
:
[]
string
{
t
.
hostName
},
"Namespace"
:
t
.
Namespace
,
"Tag"
:
images
.
Get
()
.
ETCD
.
Tag
,
}
err
:=
apiclient
.
CreateResourceWithDir
(
context
.
Background
(),
t
.
client
,
e2e
.
EtcdYamlFile
,
options
)
if
err
!=
nil
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help