mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 21:29:02 +00:00
feat(dns): allow setting an externally managed cluster domain
This commit is contained in:
1 parent
b28c458029
commit
9ee3ca15eb
21 files changed
+233
-136
No files matched your search
@@ -14,7 +14,7 @@ service Cluster {
|
||||
rpc RemoveMachine(RemoveMachineRequest) returns (google.protobuf.Empty);
|
||||
|
||||
rpc ReserveDomain(ReserveDomainRequest) returns (Domain);
|
||||
rpc SetDomain(SetDomainRequest) returns (Domain);
|
||||
rpc SetDomain(SetDomainRequest) returns (google.protobuf.Empty);
|
||||
rpc GetDomain(google.protobuf.Empty) returns (Domain);
|
||||
rpc ReleaseDomain(google.protobuf.Empty) returns (Domain);
|
||||
rpc CreateDomainRecords(CreateDomainRecordsRequest) returns (CreateDomainRecordsResponse);
|
||||
@@ -57,6 +57,9 @@ message RemoveMachineRequest {
|
||||
|
||||
message Domain {
|
||||
string name = 1;
|
||||
// Whether the domain is reserved in Uncloud DNS. Older daemons (<0.21) omit this field
|
||||
// and only support reserved domains, so clients should treat absence as true.
|
||||
optional bool reserved = 2;
|
||||
}
|
||||
|
||||
message ReserveDomainRequest {
|
||||
@@ -64,6 +67,7 @@ message ReserveDomainRequest {
|
||||
}
|
||||
|
||||
message SetDomainRequest {
|
||||
// An externally managed domain name. Empty clears a manually set domain.
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user