Skip to content

Commit aa3e658

Browse files
authored
remove self-link from metadata (#1294)
Fix perpetual diff in some resources #1172
1 parent 74d12c0 commit aa3e658

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

kubernetes/schema_metadata.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ func metadataFields(objectName string) map[string]*schema.Schema {
4040
Description: fmt.Sprintf("An opaque value that represents the internal version of this %s that can be used by clients to determine when %s has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", objectName, objectName),
4141
Computed: true,
4242
},
43-
"self_link": {
44-
Type: schema.TypeString,
45-
Description: fmt.Sprintf("A URL representing this %s.", objectName),
46-
Computed: true,
47-
},
4843
"uid": {
4944
Type: schema.TypeString,
5045
Description: fmt.Sprintf("The unique in time and space value for this %s. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", objectName),

website/docs/guides/getting-started.html.markdown

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ Terraform will perform the following actions:
241241
+ name = "nginx"
242242
+ namespace = "nginx"
243243
+ resource_version = (known after apply)
244-
+ self_link = (known after apply)
245244
+ uid = (known after apply)
246245
}
247246
@@ -275,7 +274,6 @@ Terraform will perform the following actions:
275274
}
276275
+ name = (known after apply)
277276
+ resource_version = (known after apply)
278-
+ self_link = (known after apply)
279277
+ uid = (known after apply)
280278
}
281279
@@ -622,7 +620,6 @@ Terraform will perform the following actions:
622620
+ generation = (known after apply)
623621
+ name = "nginx"
624622
+ resource_version = (known after apply)
625-
+ self_link = (known after apply)
626623
+ uid = (known after apply)
627624
}
628625
}
@@ -638,7 +635,6 @@ Terraform will perform the following actions:
638635
+ name = "nginx"
639636
+ namespace = "nginx"
640637
+ resource_version = (known after apply)
641-
+ self_link = (known after apply)
642638
+ uid = (known after apply)
643639
}
644640

0 commit comments

Comments
 (0)