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
@@ -46,8 +46,8 @@ func NewDeploymentWithStrategy(ctx context.Context, cli Client, project *types.P
|
||||
return nil, fmt.Errorf("get cluster domain: %w", err)
|
||||
}
|
||||
resolver := &deploy.ServiceSpecResolver{
|
||||
// If the domain is not found (not reserved), an empty domain is used for the resolver.
|
||||
ClusterDomain: domain,
|
||||
// If no domain is configured, an empty domain is used for the resolver.
|
||||
ClusterDomain: domain.Name,
|
||||
}
|
||||
|
||||
return &Deployment{
|
||||
|
||||
Reference in new issue
Block a user