Skip to content
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: 3 additions & 1 deletion deploy/k8s/deploy-local.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash

set -e

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
Expand All @@ -8,4 +9,5 @@ export COLLECTION_METHOD="${COLLECTION_METHOD:-ebpf}"
export MONITORING_SUPPORT="${MONITORING_SUPPORT:-false}"
export POD_SECURITY_POLICIES="${POD_SECURITY_POLICIES:-false}"

$DIR/deploy.sh
# shellcheck source=/dev/null
"$DIR"/deploy.sh
3 changes: 2 additions & 1 deletion deploy/k8s/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
set -e

K8S_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"

# shellcheck source=/dev/null
source "${K8S_DIR}/central.sh"
# shellcheck source=/dev/null
source "${K8S_DIR}/sensor.sh"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{ ShellCheck.SC1091 Line 7: Not following: ./sensor.sh: openBinaryFile: does not exist (No such file or directory) See https://www.shellcheck.net/wiki/SC1091}

2 changes: 0 additions & 2 deletions scripts/style/shellcheck_skip.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
.github/workflows/scripts/patch-changelog.sh
deploy/common/docker-auth.sh
deploy/common/k8sbased.sh
deploy/k8s/deploy-local.sh
deploy/k8s/deploy.sh
deploy/openshift/deploy-local.sh
deploy/openshift/deploy.sh
dev-tools/add-host-alias.sh
Expand Down