Skip to content

Commit

Permalink
Merge pull request #1801 from rksharma95/controller-image-hotfix
Browse files Browse the repository at this point in the history
fix(operator): controller image updation issue
  • Loading branch information
daemon1024 authored Jul 25, 2024
2 parents 3a0fb40 + ebf7410 commit 5e385ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/KubeArmorOperator/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ replace (
require (
github.com/kubearmor/KubeArmor/KubeArmor v0.0.0-20240110164432-c2c1b121cd94
github.com/kubearmor/KubeArmor/deployments v0.0.0-20230809083125-e2d5d5709d2c
github.com/kubearmor/KubeArmor/pkg/KubeArmorController v0.0.0-20240110164432-c2c1b121cd94
github.com/kubearmor/KubeArmor/pkg/KubeArmorController v0.0.0-20240709192358-fc2173d2587c
github.com/spf13/cobra v1.8.0
go.uber.org/zap v1.26.0
k8s.io/api v0.29.0
Expand Down
1 change: 0 additions & 1 deletion pkg/KubeArmorOperator/internal/controller/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ func (clusterWatcher *ClusterWatcher) deployControllerDeployment(deployment *app
deployment.Spec.Template.Spec.NodeSelector = map[string]string{
common.SecurityFsLabel: "yes",
}
deployment.Spec.Template.Spec.Containers = deployments.GetKubeArmorControllerDeployment(common.Namespace).Spec.Template.Spec.Containers
} else {
deployment.Spec.Template.Spec.NodeSelector = nil
for i, container := range deployment.Spec.Template.Spec.Containers {
Expand Down

0 comments on commit 5e385ec

Please sign in to comment.