mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user