Expose Kind field for Consul Service Registrations (#26170)

* consul: Add service kind to jobspec

* consul: Add kind to service docs

* Add changelog
This commit is contained in:
Allison Larson
2025-06-30 14:32:23 -07:00
committed by GitHub
parent aa3c08d069
commit 63f0788747
10 changed files with 224 additions and 3 deletions

View File

@@ -254,6 +254,9 @@ type Service struct {
// Cluster is valid only for Nomad Enterprise with provider: consul
Cluster string `hcl:"cluster,optional"`
// Kind defines the consul service kind, valid only when provider: consul
Kind string `hcl:"kind,optional"`
}
const (