Remove selflink references in different testing-related files

This commit is contained in:
Wojciech Tyczyński
2022-01-13 11:33:26 +01:00
parent 8c6b910e68
commit 551790729f
14 changed files with 5 additions and 36 deletions

View File

@@ -404,8 +404,6 @@ func newClaim(name, claimUID, capacity, boundToVolume string, phase v1.Persisten
Phase: phase,
},
}
// Make sure ref.GetReference(claim) works
claim.ObjectMeta.SelfLink = "/api/v1/namespaces/" + testNamespace + "/persistentvolumeclaims/" + name
if len(annotations) > 0 {
claim.Annotations = make(map[string]string)