diff --git a/deployments/nimbus-kubearmor/Chart.yaml b/deployments/nimbus-kubearmor/Chart.yaml index 0492d785..2e33d805 100644 --- a/deployments/nimbus-kubearmor/Chart.yaml +++ b/deployments/nimbus-kubearmor/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: 0.1.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.1.0" +appVersion: "0.1.1" diff --git a/deployments/nimbus-kubearmor/templates/role.yaml b/deployments/nimbus-kubearmor/templates/role.yaml index 5935bb51..1ef3109c 100644 --- a/deployments/nimbus-kubearmor/templates/role.yaml +++ b/deployments/nimbus-kubearmor/templates/role.yaml @@ -18,7 +18,7 @@ rules: - kubearmorpolicies verbs: - create - - delete + - list - get - update - watch diff --git a/deployments/nimbus-netpol/Chart.yaml b/deployments/nimbus-netpol/Chart.yaml index ece938f1..dbdd11c3 100644 --- a/deployments/nimbus-netpol/Chart.yaml +++ b/deployments/nimbus-netpol/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: 0.1.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.1.0" +appVersion: "0.1.1" diff --git a/deployments/nimbus-netpol/templates/role.yaml b/deployments/nimbus-netpol/templates/role.yaml index 4d4ee14e..9ddc8fb8 100644 --- a/deployments/nimbus-netpol/templates/role.yaml +++ b/deployments/nimbus-netpol/templates/role.yaml @@ -18,7 +18,7 @@ rules: - networkpolicies verbs: - create - - delete + - list - get - update - watch diff --git a/pkg/adapter/nimbus-netpol/watcher/netpolwatcher.go b/pkg/adapter/nimbus-netpol/watcher/netpolwatcher.go index e3bd44ae..2f5b2254 100644 --- a/pkg/adapter/nimbus-netpol/watcher/netpolwatcher.go +++ b/pkg/adapter/nimbus-netpol/watcher/netpolwatcher.go @@ -88,6 +88,6 @@ func WatchNetpols(ctx context.Context, updatedNetpolCh, deletedNetpolCh chan com logger.Error(err, "failed to add event handlers") return } - logger.Info("KubeArmorPolicy watcher started") + logger.Info("NetworkPolicy watcher started") informer.Run(ctx.Done()) } diff --git a/pkg/adapter/watcher/nimbuspolicy_watcher.go b/pkg/adapter/watcher/nimbuspolicy_watcher.go index 7ae2acb6..fe4980d2 100644 --- a/pkg/adapter/watcher/nimbuspolicy_watcher.go +++ b/pkg/adapter/watcher/nimbuspolicy_watcher.go @@ -94,7 +94,7 @@ func WatchNimbusPolicies(ctx context.Context, npCh, deleteNpCh chan common.Reque Name: u.GetName(), Namespace: u.GetNamespace(), } - logger.Info("NimbusPolicy uted", "NimbusPolicy.Name", u.GetName(), "NimbusPolicy.Namespace", u.GetNamespace()) + logger.Info("NimbusPolicy deleted", "NimbusPolicy.Name", u.GetName(), "NimbusPolicy.Namespace", u.GetNamespace()) deleteNpCh <- npNamespacedName }, }