-
Story
-
Resolution: Obsolete
-
Normal
-
None
-
None
-
3
-
False
-
None
-
False
-
-
When the load Balancer Config map has been generated in the install director, the file should be appended to the list of storage files in the ignition file.
// TODO: if installConfig.platform.UserConfiguredDNS == Enabled lbConfigPath := fmt.Sprintf("%s/%s", command.RootOpts.Dir, lbconfig.ConfigName) if _, err := os.Stat(lbConfigPath); err != nil { if !os.IsNotExist(err) { return fmt.Errorf("failed to find %s: %w", lbConfigPath, err) } } else { lbConfigContents, err := os.ReadFile(lbConfigPath) if err != nil { return fmt.Errorf("failed to read %s: %w", lbConfigPath, err) } lbPath := fmt.Sprintf("/opt/openshift/manifests/%s", lbconfig.ConfigName) a.Config.Storage.Files = replaceOrAppend(a.Config.Storage.Files, ignition.FileFromBytes(lbPath, "root", 420, lbConfigContents)) os.Remove(lbConfigPath) }
- clones
-
CORS-3037 User Managed DNS: [Azure] Edit bootstrap ignition
- Closed
- links to