Skip to content

Commit

Permalink
Fix service datasource after hashicorp#306 broke it (hashicorp#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat authored and alexsomesan committed Feb 14, 2019
1 parent 4bda7d7 commit d71ba4d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kubernetes/data_source_kubernetes_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ func dataSourceKubernetesService() *schema.Resource {
},
},
},
"publish_not_ready_addresses": {
Type: schema.TypeBool,
Optional: true,
Default: false,
Description: "When set to true, indicates that DNS implementations must publish the `notReadyAddresses` of subsets for the Endpoints associated with the Service. The default value is `false`. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate `SRV` records for its Pods without respect to their readiness for purpose of peer discovery.",
},
"selector": {
Type: schema.TypeMap,
Description: "Route service traffic to pods with label keys and values matching this selector. Only applies to types `ClusterIP`, `NodePort`, and `LoadBalancer`. More info: http://kubernetes.io/docs/user-guide/services#overview",
Expand Down

0 comments on commit d71ba4d

Please sign in to comment.