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

docker: fixed hub_update and cli run #3256

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zc-devs
Copy link

@zc-devs zc-devs commented Sep 23, 2024

  1. As documentation states:

    NO_HUB_UPGRADE Skip hub update / upgrade when the container starts

    I added check to hub_update function.

  2. To be able to run CLI from Kubernetes Cron Jobs, I added exit after configuration steps, but before downloading Hub stuff and running crowdsec.


Additional context - #937 (comment).

and exit LAPI and Agent are disabled
Copy link

@zc-devs: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.

  • /kind feature
  • /kind enhancement
  • /kind refactoring
  • /kind fix
  • /kind chore
  • /kind dependencies
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

Copy link

@zc-devs: There are no area labels on this PR. You can add as many areas as you see fit.

  • /area agent
  • /area local-api
  • /area cscli
  • /area appsec
  • /area security
  • /area configuration
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant