Update TestKubeCertAgent to use new "v3" label value
This commit is contained in:
parent
55de160551
commit
04544b3d3c
@ -32,7 +32,7 @@ func TestKubeCertAgent(t *testing.T) {
|
|||||||
ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
|
ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
agentPods, err := kubeClient.CoreV1().Pods(env.ConciergeNamespace).List(ctx, metav1.ListOptions{
|
agentPods, err := kubeClient.CoreV1().Pods(env.ConciergeNamespace).List(ctx, metav1.ListOptions{
|
||||||
LabelSelector: "kube-cert-agent.pinniped.dev=v2",
|
LabelSelector: "kube-cert-agent.pinniped.dev=v3",
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false, fmt.Errorf("failed to list pods: %w", err)
|
return false, fmt.Errorf("failed to list pods: %w", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user