Skip to content

Commit

Permalink
set annotateResources=true in MakeFile
Browse files Browse the repository at this point in the history
Signed-off-by: Aryan-sharma11 <[email protected]>
  • Loading branch information
Aryan-sharma11 committed Aug 1, 2024
1 parent 7894d00 commit 3943cbc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion KubeArmor/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ run: build
cd $(CURDIR); sudo rm -f /tmp/kubearmor.log
cd $(CURDIR)/BPF; make clean
cd $(CURDIR)/BPF; make
cd $(CURDIR); DEBUG=true sudo -E ./kubearmor -logPath=/tmp/kubearmor.log -enableKubeArmorPolicy -enableKubeArmorHostPolicy -hostVisibility=process,file,network,capabilities -defaultFilePosture block -defaultCapabilitiesPosture block -defaultNetworkPosture block -hostDefaultFilePosture block -hostDefaultCapabilitiesPosture block -hostDefaultNetworkPosture block
cd $(CURDIR); DEBUG=true sudo -E ./kubearmor -logPath=/tmp/kubearmor.log -enableKubeArmorPolicy -enableKubeArmorHostPolicy -hostVisibility=process,file,network,capabilities -defaultFilePosture block -defaultCapabilitiesPosture block -defaultNetworkPosture block -hostDefaultFilePosture block -hostDefaultCapabilitiesPosture block -hostDefaultNetworkPosture block -annotateResources=true

.PHONY: run-container
run-container: build
Expand Down
2 changes: 0 additions & 2 deletions pkg/KubeArmorController/informer/nodewatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,3 @@ func NodeWatcher(c *kubernetes.Clientset, cluster *types.Cluster, log logr.Logge

inf.Run(wait.NeverStop)
}

// add fall back logix for pod annotataions

0 comments on commit 3943cbc

Please sign in to comment.