diff --git a/deployments/kubehound/binary/Dockerfile b/deployments/kubehound/binary/Dockerfile index f76fa9d14..7ed4d99da 100644 --- a/deployments/kubehound/binary/Dockerfile +++ b/deployments/kubehound/binary/Dockerfile @@ -22,4 +22,4 @@ EXPOSE 9000 USER nonroot:nonroot ENTRYPOINT ["/kubehound"] -CMD ["serve"] \ No newline at end of file +CMD ["serve"] diff --git a/deployments/kubehound/docker-compose.dev.ingestor.yaml b/deployments/kubehound/docker-compose.dev.ingestor.yaml index 96751b20d..1cce289ed 100644 --- a/deployments/kubehound/docker-compose.dev.ingestor.yaml +++ b/deployments/kubehound/docker-compose.dev.ingestor.yaml @@ -3,7 +3,7 @@ services: grpc: build: context: ../../ - dockerfile: deployments/kubehound/kubehound/Dockerfile + dockerfile: deployments/kubehound/binary/Dockerfile restart: unless-stopped ports: - "127.0.0.1:9000:9000" diff --git a/deployments/kubehound/docker-compose.release.ingestor.yaml b/deployments/kubehound/docker-compose.release.ingestor.yaml index fd270a8a2..9fc3b7d73 100644 --- a/deployments/kubehound/docker-compose.release.ingestor.yaml +++ b/deployments/kubehound/docker-compose.release.ingestor.yaml @@ -7,6 +7,21 @@ services: - "127.0.0.1:9000:9000" networks: - kubenet + environment: + # 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_URL= # s3:// + - AWS_ACCESS_KEY_ID= + - AWS_SECRET_ACCESS_KEY= + - AWS_SESSION_TOKEN= # for aws-vault generated credentials networks: kubenet: diff --git a/deployments/kubehound/docker-compose.release.yaml b/deployments/kubehound/docker-compose.release.yaml index bb9c4d660..d70a55230 100644 --- a/deployments/kubehound/docker-compose.release.yaml +++ b/deployments/kubehound/docker-compose.release.yaml @@ -5,7 +5,10 @@ services: - "127.0.0.1:27017:27017" kubegraph: - image: ghcr.io/datadog/kubehound-ui:latest + image: ghcr.io/datadog/kubehound-graph:latest ports: - "127.0.0.1:8182:8182" - "127.0.0.1:8099:8099" + + ui-jupyter: + image: ghcr.io/datadog/kubehound-ui:latest