Skip to content

Commit

Permalink
also validate owner references
Browse files Browse the repository at this point in the history
  • Loading branch information
linki committed Dec 18, 2023
1 parent 093b740 commit 3524f5f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmd/e2e/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,14 @@ func verifyStack(t *testing.T, stacksetName, currentVersion string, stacksetSpec
require.EqualValues(t, stackResourceLabels, configMap.Labels)
require.Contains(t, configMap.Name, stack.Name)
require.Equal(t, map[string]string{"key": "value"}, configMap.Data)
require.Equal(t, []metav1.OwnerReference{
{
APIVersion: "zalando.org/v1",
Kind: "Stack",
Name: stack.Name,
UID: stack.UID,
},
}, configMap.OwnerReferences)
}

verifyStackIngressSources(
Expand Down

0 comments on commit 3524f5f

Please sign in to comment.