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

add env variable for ingestor/grpc image #264

Merged
merged 4 commits into from
Sep 13, 2024
Merged

Conversation

jt-dd
Copy link
Contributor

@jt-dd jt-dd commented Sep 13, 2024

Adding the following env variable for easier setup of the ingestor image:

      # Custom config for docker compose environment
      - KH_MONGODB_URL=mongodb://mongodb:27017
      - KH_JANUSGRAPH_URL=ws://kubegraph:8182/gremlin
      # Default config
      - KH_INGESTOR_API_ENDPOINT=0.0.0.0:9000
      - KH_INGESTOR_TEMP_DIR=/tmp/kubehound
      - KH_INGESTOR_MAX_ARCHIVE_SIZE=2147483648 # 2GB
      - KH_INGESTOR_ARCHIVE_NAME=archive.tar.gz
      # AWS Bucket configuration
      - KH_INGESTOR_REGION=us-east-1
      - KH_INGESTOR_BUCKET_NAME= # s3://<your_bucket>
      - AWS_ACCESS_KEY_ID=
      - AWS_SECRET_ACCESS_KEY=
      - AWS_SESSION_TOKEN= # for aws-vault generated credentials

Also fix the issue regarding the bucket_name input from the config file/inline args.

@jt-dd jt-dd marked this pull request as ready for review September 13, 2024 12:04
@jt-dd jt-dd requested a review from a team as a code owner September 13, 2024 12:04
@jt-dd jt-dd requested a review from Minosity-VR September 13, 2024 12:04
Minosity-VR
Minosity-VR previously approved these changes Sep 13, 2024
Copy link
Contributor

@Minosity-VR Minosity-VR left a comment

Choose a reason for hiding this comment

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

Just a renaming proposal (which needs to be repercuted everywhere)

test/system/kubehound_dump.yaml Outdated Show resolved Hide resolved
Minosity-VR
Minosity-VR previously approved these changes Sep 13, 2024
@jt-dd jt-dd merged commit 57a2384 into main Sep 13, 2024
8 checks passed
@jt-dd jt-dd deleted the jt-dd/fix-env-vars-grpc branch September 13, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants