crowdsecurity / helm-charts

CrowdSec community kubernetes helm charts
MIT License
27 stars 33 forks source link

Helm charts does not have the v1.4.6 #97

Closed bittu664 closed 1 year ago

bittu664 commented 1 year ago

hello team, 2 days ago i install the crowdsec helm-charts. on that time its working. but now its not working . the crowdsec agent pod is crashing again and agian and it says that :-

Screenshot 2023-05-09 at 4 49 32 PM

Crowdsec is not the latest version. Current version is 'v1.4.5' and the latest stable version is 'v1.4.6'. Please update it!"

Populating configuration directory...
time="09-05-2023 09:46:20" level=warning msg="Crowdsec is not the latest version. Current version is 'v1.4.5' and the latest stable version is 'v1.4.6'. Please update it!"
time="09-05-2023 09:46:20" level=warning msg="As a result, you will not be able to use parsers/scenarios/collections added to Crowdsec Hub after CrowdSec v1.4.6"
time="09-05-2023 09:46:20" level=info msg="Wrote new 560575 bytes index to /etc/crowdsec/hub/.index.json"
2023-05-09T09:46:21.215031544Z time="09-05-2023 09:46:21" level=warning msg="Crowdsec is not the latest version. Current version is 'v1.4.5' and the latest stable version is 'v1.4.6'. Please update it!"
2023-05-09T09:46:21.215062902Z time="09-05-2023 09:46:21" level=warning msg="As a result, you will not be able to use parsers/scenarios/collections added to Crowdsec Hub after CrowdSec v1.4.6"
time="09-05-2023 09:46:21" level=info msg="crowdsecurity/linux : up-to-date"
time="09-05-2023 09:46:21" level=info msg="Item 'crowdsecurity/linux' is up-to-date"
2023-05-09T09:46:21.220586918Z time="09-05-2023 09:46:21" level=info msg="Run 'sudo systemctl reload crowdsec' for the new configuration to be effective."
2023-05-09T09:46:21.927556189Z time="09-05-2023 09:46:21" level=warning msg="Crowdsec is not the latest version. Current version is 'v1.4.5' and the latest stable version is 'v1.4.6'. Please update it!"
time="09-05-2023 09:46:21" level=warning msg="As a result, you will not be able to use parsers/scenarios/collections added to Crowdsec Hub after CrowdSec v1.4.6"
time="09-05-2023 09:46:21" level=info msg="crowdsecurity/whitelists : up-to-date"
2023-05-09T09:46:21.943428291Z time="09-05-2023 09:46:21" level=info msg="Item 'crowdsecurity/whitelists' is up-to-date"
2023-05-09T09:46:21.943438460Z time="09-05-2023 09:46:21" level=info msg="Run 'sudo systemctl reload crowdsec' for the new configuration to be effective."
time="09-05-2023 09:46:22" level=warning msg="Crowdsec is not the latest version. Current version is 'v1.4.5' and the latest stable version is 'v1.4.6'. Please update it!"
2023-05-09T09:46:22.685099148Z time="09-05-2023 09:46:22" level=warning msg="As a result, you will not be able to use parsers/scenarios/collections added to Crowdsec Hub after CrowdSec v1.4.6"
time="09-05-2023 09:46:22" level=info msg="crowdsecurity/docker-logs : OK"
2023-05-09T09:46:22.869612664Z time="09-05-2023 09:46:22" level=info msg="Enabled parsers : crowdsecurity/docker-logs"
2023-05-09T09:46:22.870723518Z time="09-05-2023 09:46:22" level=info msg="Enabled crowdsecurity/docker-logs"
time="09-05-2023 09:46:22" level=info msg="Run 'sudo systemctl reload crowdsec' for the new configuration to be effective."
time="2023-05-09T09:46:22Z" level=warning msg="Deprecation warning: the pid_dir config can be safely removed and is not required"
2023-05-09T09:46:22.953964013Z time="09-05-2023 09:46:22" level=info msg="Crowdsec v1.4.5-linux-a9a2186a76af63551352aa3bc296bdbe80ca4893"
time="09-05-2023 09:46:22" level=warning msg="MaxOpenConns is 0, defaulting to 100"
2023-05-09T09:46:22.958985070Z time="09-05-2023 09:46:22" level=info msg="Loading prometheus collectors"
time="09-05-2023 09:46:22" level=warning msg="Exprhelpers loaded without database client."
2023-05-09T09:46:22.972478911Z time="09-05-2023 09:46:22" level=info msg="Loading grok library /etc/crowdsec/patterns"
2023-05-09T09:46:24.496665043Z time="09-05-2023 09:46:24" level=info msg="Loading enrich plugins"
time="09-05-2023 09:46:24" level=info msg="Successfully registered enricher 'GeoIpCity'"
time="09-05-2023 09:46:24" level=info msg="Successfully registered enricher 'GeoIpASN'"
time="09-05-2023 09:46:24" level=info msg="Successfully registered enricher 'IpToRange'"
time="09-05-2023 09:46:24" level=info msg="Successfully registered enricher 'reverse_dns'"
2023-05-09T09:46:24.496951828Z time="09-05-2023 09:46:24" level=info msg="Successfully registered enricher 'ParseDate'"
time="09-05-2023 09:46:24" level=info msg="Loading parsers from 6 files"
2023-05-09T09:46:24.497506314Z time="09-05-2023 09:46:24" level=info msg="Loaded 1 parser nodes" file=/etc/crowdsec/parsers/s00-raw/docker-logs.yaml stage=s00-raw
2023-05-09T09:46:24.522202696Z time="09-05-2023 09:46:24" level=info msg="Loaded 2 parser nodes" file=/etc/crowdsec/parsers/s00-raw/syslog-logs.yaml stage=s00-raw
2023-05-09T09:46:24.577397754Z time="09-05-2023 09:46:24" level=info msg="Loaded 1 parser nodes" file=/etc/crowdsec/parsers/s01-parse/sshd-logs.yaml stage=s01-parse
2023-05-09T09:46:24.577841503Z time="09-05-2023 09:46:24" level=info msg="Loaded 1 parser nodes" file=/etc/crowdsec/parsers/s02-enrich/dateparse-enrich.yaml stage=s02-enrich
2023-05-09T09:46:24.578774726Z time="09-05-2023 09:46:24" level=info msg="Loaded 1 parser nodes" file=/etc/crowdsec/parsers/s02-enrich/geoip-enrich.yaml stage=s02-enrich
time="09-05-2023 09:46:24" level=info msg="Loaded 1 parser nodes" file=/etc/crowdsec/parsers/s02-enrich/whitelists.yaml stage=s02-enrich
time="09-05-2023 09:46:24" level=info msg="Loaded 7 nodes from 3 stages"
time="09-05-2023 09:46:24" level=info msg="No postoverflow parsers to load"
time="09-05-2023 09:46:24" level=info msg="Loading 2 scenario files"
time="09-05-2023 09:46:24" level=info msg="Adding leaky bucket" cfg=aged-tree file=/etc/crowdsec/scenarios/ssh-slow-bf.yaml name=crowdsecurity/ssh-slow-bf
time="09-05-2023 09:46:24" level=info msg="Adding leaky bucket" cfg=bold-resonance file=/etc/crowdsec/scenarios/ssh-slow-bf.yaml name=crowdsecurity/ssh-slow-bf_user-enum
time="09-05-2023 09:46:24" level=info msg="Adding leaky bucket" cfg=floral-shadow file=/etc/crowdsec/scenarios/ssh-bf.yaml name=crowdsecurity/ssh-bf
2023-05-09T09:46:24.580264889Z time="09-05-2023 09:46:24" level=info msg="Adding leaky bucket" cfg=winter-rain file=/etc/crowdsec/scenarios/ssh-bf.yaml name=crowdsecurity/ssh-bf_user-enum
2023-05-09T09:46:24.580271982Z time="09-05-2023 09:46:24" level=warning msg="Loaded 4 scenarios"
2023-05-09T09:46:24.580276660Z time="09-05-2023 09:46:24" level=info msg="loading acquisition file : /etc/crowdsec/acquis.yaml"
2023-05-09T09:46:24.580615493Z time="09-05-2023 09:46:24" level=info msg="Force add watch on /var/log/containers" type=file
2023-05-09T09:46:24.581124364Z time="09-05-2023 09:46:24" level=warning msg="No matching files for pattern /var/log/containers/traefik-traefik.log" type=file
2023-05-09T09:46:24.581248095Z time="09-05-2023 09:46:24" level=info msg="Starting processing data"
2023-05-09T09:46:24.644749486Z time="09-05-2023 09:46:24" level=fatal msg="starting outputs error : authenticate watcher (): Post \"https://crowdsec-service.crowdsec:8080/v1/watchers/login\": http code 403, invalid body: invalid character '{' after top-level value"
2023-05-09T09:46:24.644807945Z time="09-05-2023 09:46:24" level=fatal msg="starting outputs error : authenticate watcher (): Post \"https://crowdsec-service.crowdsec:8080/v1/watchers/login\": http code 403, invalid body: invalid character '{' after top-level value"

but in the artifacthub.io there is no v1.4.6 , pls help me here. Screenshot 2023-05-09 at 3 32 10 PM

one main thing , here i am using traefik-ingress controller. i want full steps to install in kubernetes with proper way.

LaurenceJJones commented 1 year ago

Transferring to helm chart repo