Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Use correct value for cluster service domain (#1166)
Browse files Browse the repository at this point in the history
Cluster CR has service domain as a field. Use correct value for that.
  • Loading branch information
tuommaki authored Nov 16, 2020
1 parent 3c2ab12 commit d9468e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service/controller/resource/capzcrs/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (r *Resource) mapAzureConfigToCluster(ctx context.Context, cr providerv1alp
key.ClusterIPRange(cr),
},
},
ServiceDomain: key.ClusterBaseDomain(cr),
ServiceDomain: cr.Spec.Cluster.Kubernetes.Domain,
},
ControlPlaneEndpoint: capiv1alpha3.APIEndpoint{
Host: key.ClusterAPIEndpoint(cr),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ metadata:
spec:
clusterNetwork:
apiServerPort: 443
serviceDomain: c6fme.k8s.ghost.westeurope.azure.gigantic.io
serviceDomain: cluster.local
services:
cidrBlocks:
- 172.31.0.0/16
Expand Down

0 comments on commit d9468e9

Please sign in to comment.