mirror of https://github.com/hashicorp/consul
22 lines
431 B
Protocol Buffer
22 lines
431 B
Protocol Buffer
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
syntax = "proto3";
|
|
|
|
package hashicorp.consul.catalog.v2beta1;
|
|
|
|
import "pbcatalog/v2beta1/selector.proto";
|
|
import "pbresource/annotations.proto";
|
|
|
|
message DNSPolicy {
|
|
option (hashicorp.consul.resource.spec) = {scope: SCOPE_NAMESPACE};
|
|
|
|
WorkloadSelector workloads = 1;
|
|
Weights weights = 2;
|
|
}
|
|
|
|
message Weights {
|
|
uint32 passing = 1;
|
|
uint32 warning = 2;
|
|
}
|