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

feat(util): K8s cronjob sample files #1140

Merged
merged 1 commit into from May 16, 2022

Conversation

charles-josiah
Copy link
Contributor

Simple instructions to add a cronjob on K8S to execute a prowler and save the results on AWS S3.

Files:
cronjob.yml -> is a cronjob for K8S, you must set the frequency and probes from yours scans.
secret.yml -> is a secret file with AWS ID/Secret and the name of bucket

To apply:

kubectl -f cronjob.yml
kubectl -f secret.yml

@charles-josiah charles-josiah requested a review from a team as a code owner May 13, 2022 00:21
@jfagoagas jfagoagas added the status/needs-triage Issue pending triage label May 13, 2022
@toniblyx toniblyx changed the title Add files to add K8S Cronjob feat(util): K8s cronjob sample files May 13, 2022
Copy link
Member

@toniblyx toniblyx left a comment

Choose a reason for hiding this comment

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

LGTM

@toniblyx
Copy link
Member

Thanks @charles-josiah! good addition to the repo to help Prowler users that run it in Kubernetes.

@toniblyx toniblyx merged commit a18b18e into prowler-cloud:master May 16, 2022
@charles-josiah
Copy link
Contributor Author

Thanks people!!!

@charles-josiah charles-josiah deleted the k8s-cronjob branch May 16, 2022 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/needs-triage Issue pending triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants