File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,13 @@ func MakeInstallMongoDB() *cobra.Command {
44
44
45
45
namespace , _ := command .Flags ().GetString ("namespace" )
46
46
47
+ arch := getNodeArchitecture ()
48
+ fmt .Printf ("Node architecture: %q\n " , arch )
49
+
50
+ if arch != IntelArch {
51
+ return fmt .Errorf (`only Intel, i.e. PC architecture is supported for this app` )
52
+ }
53
+
47
54
userPath , err := config .InitUserDir ()
48
55
if err != nil {
49
56
return err
Original file line number Diff line number Diff line change @@ -45,6 +45,13 @@ func MakeInstallPostgresql() *cobra.Command {
45
45
46
46
fmt .Printf ("Using kubeconfig: %s\n " , kubeConfigPath )
47
47
48
+ arch := getNodeArchitecture ()
49
+ fmt .Printf ("Node architecture: %q\n " , arch )
50
+
51
+ if arch != IntelArch {
52
+ return fmt .Errorf (`only Intel, i.e. PC architecture is supported for this app` )
53
+ }
54
+
48
55
userPath , err := config .InitUserDir ()
49
56
if err != nil {
50
57
return err
You can’t perform that action at this time.
0 commit comments