diff --git a/tests/e2e/k8s/util/k8s_yaml.go b/tests/e2e/k8s/util/k8s_yaml.go index 61ea74a4..d7eafb70 100644 --- a/tests/e2e/k8s/util/k8s_yaml.go +++ b/tests/e2e/k8s/util/k8s_yaml.go @@ -75,8 +75,8 @@ func (f *Fabric) generateK8SYAML(p *peer, cfg *PeerConfig) (string, error) { Namespace: f.namespace, Tag: "latest", PeerLabels: map[string]string{ - "cluster": p.cluster.name, - "ip": p.cluster.ip, + ClusterNameLabel: p.cluster.name, + PeerIPLabel: p.cluster.ip, }, }) if err != nil {