Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove self-link from metadata #1294

Merged
merged 1 commit into from
Jun 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions kubernetes/schema_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ func metadataFields(objectName string) map[string]*schema.Schema {
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),
Computed: true,
},
"self_link": {
Type: schema.TypeString,
Description: fmt.Sprintf("A URL representing this %s.", objectName),
Computed: true,
},
"uid": {
Type: schema.TypeString,
Description: fmt.Sprintf("The unique in time and space value for this %s. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", objectName),
Expand Down
4 changes: 0 additions & 4 deletions website/docs/guides/getting-started.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ Terraform will perform the following actions:
+ name = "nginx"
+ namespace = "nginx"
+ resource_version = (known after apply)
+ self_link = (known after apply)
+ uid = (known after apply)
}

Expand Down Expand Up @@ -275,7 +274,6 @@ Terraform will perform the following actions:
}
+ name = (known after apply)
+ resource_version = (known after apply)
+ self_link = (known after apply)
+ uid = (known after apply)
}

Expand Down Expand Up @@ -622,7 +620,6 @@ Terraform will perform the following actions:
+ generation = (known after apply)
+ name = "nginx"
+ resource_version = (known after apply)
+ self_link = (known after apply)
+ uid = (known after apply)
}
}
Expand All @@ -638,7 +635,6 @@ Terraform will perform the following actions:
+ name = "nginx"
+ namespace = "nginx"
+ resource_version = (known after apply)
+ self_link = (known after apply)
+ uid = (known after apply)
}

Expand Down