Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update rbac and helm charts #55

Merged
merged 2 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deployments/nimbus-kubearmor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion deployments/nimbus-kubearmor/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rules:
- kubearmorpolicies
verbs:
- create
- delete
- list
- get
- update
- watch
4 changes: 2 additions & 2 deletions deployments/nimbus-netpol/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion deployments/nimbus-netpol/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rules:
- networkpolicies
verbs:
- create
- delete
- list
- get
- update
- watch
2 changes: 1 addition & 1 deletion pkg/adapter/nimbus-netpol/watcher/netpolwatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
2 changes: 1 addition & 1 deletion pkg/adapter/watcher/nimbuspolicy_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
}
Expand Down
Loading