Skip to content

Commit d8ad15a

Browse files
committed
test kube-audit
1 parent 55efa37 commit d8ad15a

File tree

4 files changed

+3
-42
lines changed

4 files changed

+3
-42
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Optionally, the module supports advanced security group management for the worke
1616
### Before you begin
1717

1818
- Ensure that you have an up-to-date version of [curl](https://curl.se/docs/manpage.html).
19+
- Ensure that you have an up-to-date version of [tar](https://www.gnu.org/software/tar/).
1920
- [OPTIONAL] Ensure that you have an up-to-date version of the [jq](https://jqlang.github.io/jq).
2021
- [OPTIONAL] Ensure that you have an up-to-date version of the [kubectl](https://kubernetes.io/docs/tasks/tools/#kubectl).
2122

modules/kube-audit/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ resource "null_resource" "install_required_binaries" {
1212
audit_webhook_listener_image_tag_digest = var.audit_webhook_listener_image_tag_digest
1313
}
1414
provisioner "local-exec" {
15-
command = "${path.module}/scripts/install-binaries.sh ${local.binaries_path}"
15+
command = "../../scripts/install-binaries.sh ${local.binaries_path}"
1616
interpreter = ["/bin/bash", "-c"]
1717
}
1818
}

modules/kube-audit/scripts/install-binaries.sh

Lines changed: 0 additions & 40 deletions
This file was deleted.

scripts/install-binaries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ mkdir -p "${DIRECTORY}/common-bash-library"
2626
tar -xzf "${DIRECTORY}/common-bash.tar.gz" --strip-components=1 -C "${DIRECTORY}/common-bash-library"
2727
rm -f "${DIRECTORY}/common-bash.tar.gz"
2828

29-
# TThe file doesn’t exist at the time shellcheck runs, so this check is skipped.
29+
# The file doesn’t exist at the time shellcheck runs, so this check is skipped.
3030
# shellcheck disable=SC1091
3131
source "${DIRECTORY}/common-bash-library/common/common.sh"
3232

0 commit comments

Comments
 (0)