Files
kube-forge/cmd/apply-modules.go

21 lines
360 B
Go

package cmd
import (
"kube-forge/internal/templates"
"github.com/spf13/cobra"
)
func init() {
rootCmd.AddCommand(applyModulesCmd)
}
var applyModulesCmd = &cobra.Command{
Use: "apply-modules",
Short: "Apply only additional modules",
Run: func(cmd *cobra.Command, args []string) {
templates.ApplyK8sTemplates()
installAndConfigureModules()
},
}