diff --git a/kubernetes/data_source_kubernetes_service.go b/kubernetes/data_source_kubernetes_service.go index 58f86ce78a..80991d1f31 100644 --- a/kubernetes/data_source_kubernetes_service.go +++ b/kubernetes/data_source_kubernetes_service.go @@ -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",