mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-04-27 19:47:31 +00:00
chore: fix some comments (#1548)
Signed-off-by: cloudclaim <824973921@qq.com> Co-authored-by: M. Mert Yildiran <me@mertyildiran.com> Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
This commit is contained in:
parent
4ec06b7c95
commit
13b35f1672
2
Makefile
2
Makefile
@ -14,7 +14,7 @@ export VER?=0.0.0
|
|||||||
help: ## Print this help message.
|
help: ## Print this help message.
|
||||||
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
|
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
|
||||||
|
|
||||||
build-debug: ## Build for debuging.
|
build-debug: ## Build for debugging.
|
||||||
export CGO_ENABLED=1
|
export CGO_ENABLED=1
|
||||||
export GCLFAGS='-gcflags="all=-N -l"'
|
export GCLFAGS='-gcflags="all=-N -l"'
|
||||||
${MAKE} build-base
|
${MAKE} build-base
|
||||||
|
@ -19,7 +19,7 @@ func FormatError(err error) error {
|
|||||||
if k8serrors.IsForbidden(err) {
|
if k8serrors.IsForbidden(err) {
|
||||||
errorNew = fmt.Errorf("insufficient permissions: %w. "+
|
errorNew = fmt.Errorf("insufficient permissions: %w. "+
|
||||||
"supply the required permission or control %s's access to namespaces by setting %s "+
|
"supply the required permission or control %s's access to namespaces by setting %s "+
|
||||||
"in the config file or setting the targeted namespace with --%s %s=<NAMEPSACE>",
|
"in the config file or setting the targeted namespace with --%s %s=<NAMESPACE>",
|
||||||
err,
|
err,
|
||||||
misc.Software,
|
misc.Software,
|
||||||
configStructs.ReleaseNamespaceLabel,
|
configStructs.ReleaseNamespaceLabel,
|
||||||
|
@ -23,7 +23,7 @@ kubectl delete clusterrolebinding kubeshark-cluster-role-binding
|
|||||||
kubectl delete clusterrole kubeshark-cluster-role
|
kubectl delete clusterrole kubeshark-cluster-role
|
||||||
```
|
```
|
||||||
|
|
||||||
## Accesing
|
## Accessing
|
||||||
|
|
||||||
Do the port forwarding:
|
Do the port forwarding:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user