Skip to content

Commit

Permalink
Merge pull request #121 from daemon1024/main
Browse files Browse the repository at this point in the history
  • Loading branch information
daemon1024 authored Aug 16, 2022
2 parents af33b00 + 49c4933 commit c908757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion install/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
package install

var kubearmor = "kubearmor"
var port int32 = 32767

var serviceAccountName = kubearmor
var clusterRoleBindingName = kubearmor
Expand Down
3 changes: 2 additions & 1 deletion install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func printBar(msg string, total int) int {
func printAnimation(msg string, flag bool) int {
clearLine(90)
fmt.Printf(msg + "\n")
if flag == true {
if flag {
progress++
}
printBar(" KubeArmor Installing ", 16)
Expand Down Expand Up @@ -117,6 +117,7 @@ func checkPods(c *k8s.Client) int {

// K8sInstaller for karmor install
func K8sInstaller(c *k8s.Client, o Options) error {
animation = o.Animation
env := AutoDetectEnvironment(c)
if env == "none" {
return errors.New("unsupported environment or cluster not configured correctly")
Expand Down

0 comments on commit c908757

Please sign in to comment.