We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 611e16a + 680c85c commit f624899Copy full SHA for f624899
pkg/asset/manifests/dns.go
@@ -148,6 +148,13 @@ func (d *DNS) Generate(dependencies asset.Parents) error {
148
}
149
150
case gcptypes.Name:
151
+ // We donot want to configure cloud DNS when `UserProvisionedDNS` is enabled.
152
+ // So, do not set PrivateZone and PublicZone fields in the DNS manifest.
153
+ if installConfig.Config.GCP.UserProvisionedDNS == gcptypes.UserProvisionedDNSEnabled {
154
+ config.Spec.PublicZone = &configv1.DNSZone{ID: ""}
155
+ config.Spec.PrivateZone = &configv1.DNSZone{ID: ""}
156
+ break
157
+ }
158
client, err := icgcp.NewClient(context.Background())
159
if err != nil {
160
return err
0 commit comments