forked from LaconicNetwork/kompose
normalize docker-compose service that has name with underscore
kubernetes or openshift does not allow underscores in the object names, while docker-compose does, in this commit the code has been added to convert underscores to hypens.
This commit is contained in:
+3
-2
@@ -3,10 +3,11 @@ package cmd
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"github.com/Sirupsen/logrus"
|
||||
"github.com/spf13/cobra"
|
||||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var completion = &cobra.Command{
|
||||
|
||||
Reference in New Issue
Block a user