|
|
@ -16,6 +16,7 @@ limitations under the License.
|
|
|
|
package util
|
|
|
|
package util
|
|
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
import (
|
|
|
|
|
|
|
|
"fmt"
|
|
|
|
"log/slog"
|
|
|
|
"log/slog"
|
|
|
|
"strings"
|
|
|
|
"strings"
|
|
|
|
|
|
|
|
|
|
|
@ -265,8 +266,8 @@ func processImportValues(c *chart.Chart, merge bool) error {
|
|
|
|
for _, riv := range r.ImportValues {
|
|
|
|
for _, riv := range r.ImportValues {
|
|
|
|
switch iv := riv.(type) {
|
|
|
|
switch iv := riv.(type) {
|
|
|
|
case map[string]interface{}:
|
|
|
|
case map[string]interface{}:
|
|
|
|
child := iv["child"].(string)
|
|
|
|
child := fmt.Sprintf("%v", iv["child"])
|
|
|
|
parent := iv["parent"].(string)
|
|
|
|
parent := fmt.Sprintf("%v", iv["parent"])
|
|
|
|
|
|
|
|
|
|
|
|
outiv = append(outiv, map[string]string{
|
|
|
|
outiv = append(outiv, map[string]string{
|
|
|
|
"child": child,
|
|
|
|
"child": child,
|
|
|
|