2023-05-05 13:47:28 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-21 17:31:54 +00:00
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
2023-05-05 13:47:28 +00:00
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package hashicorp.consul.catalog.v1alpha1;
|
|
|
|
|
|
|
|
import "pbcatalog/v1alpha1/selector.proto";
|
2023-09-21 21:18:47 +00:00
|
|
|
import "pbresource/annotations.proto";
|
2023-05-05 13:47:28 +00:00
|
|
|
|
|
|
|
message DNSPolicy {
|
2023-09-21 21:18:47 +00:00
|
|
|
option (hashicorp.consul.resource.spec) = {scope: SCOPE_NAMESPACE};
|
|
|
|
|
2023-05-05 13:47:28 +00:00
|
|
|
WorkloadSelector workloads = 1;
|
|
|
|
Weights weights = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Weights {
|
|
|
|
uint32 passing = 1;
|
|
|
|
uint32 warning = 2;
|
|
|
|
}
|