1700 create app for demo #2273
No reviewers
Labels
No labels
1week
2weeks
Failed compliance check
IP cameras
NATS
Possible security concern
Review effort 1/5
Review effort 2/5
Review effort 3/5
Review effort 4/5
Review effort 5/5
UI
aardvark
accessibility
amd64
api
arm64
auth
back-end
bgp
blog
bug
build
checkers
ci-cd
cleanup
cnpg
codex
core
dependencies
device-management
documentation
duplicate
dusk
ebpf
enhancement
eta 1d
eta 1hr
eta 3d
eta 3hr
feature
fieldsurvey
github_actions
go
good first issue
help wanted
invalid
javascript
k8s
log-collector
mapper
mtr
needs-triage
netflow
network-sweep
observability
oracle
otel
plug-in
proton
python
question
reddit
redhat
research
rperf
rperf-checker
rust
sdk
security
serviceradar-agent
serviceradar-agent-gateway
serviceradar-web
serviceradar-web-ng
siem
snmp
sysmon
topology
ubiquiti
wasm
wontfix
zen-engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carverauto/serviceradar!2273
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/2273/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from GitHub pull request.
Original GitHub pull request: #1701
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/pull/1701
Original created: 2025-10-05T02:33:51Z
Original updated: 2025-10-05T02:45:18Z
Original head: carverauto/serviceradar:1700-create-app-for-demo
Original base: main
Original merged: 2025-10-05T02:45:15Z by @mfreeman451
PR Type
Enhancement, Other
Description
Add ArgoCD application for demo production deployment
Integrate Alpine network utilities (ping, nmap, netcat) into Docker images
Update image tags to specific versions for demo environments
Configure Bazel build with Go pure mode
Diagram Walkthrough
File Walkthrough
7 files
Add Go pure mode configurationAdd secret generator job resourceUpdate core image to specific versionUpdate hostname from staging to productionUpdate image tags and remove empty patchesRemove production resource patches contentUpdate core image tag to specific version1 files
Add Alpine network utility APK downloads2 files
Integrate network utilities into Docker imagesCreate ArgoCD application for demo production1 files
Fix shell command syntax1 files
Add missing newline at file endImported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/1701#issuecomment-3368693469
Original created: 2025-10-05T02:34:57Z
PR Compliance Guide 🔍
Below is a summary of compliance checks for this PR:
Network recon tools
Description: Adding network tools (ping, nmap, netcat) into multiple runtime images increases attack
surface and can be abused for network reconnaissance if containers are compromised;
consider limiting to a dedicated tools image or gating via debug-only builds.
BUILD.bazel [210-956]
Referred Code
Public ingress exposure
Description: Public ingress to demo.serviceradar.cloud is enabled; ensure no sensitive backends are
exposed and rate limiting/WAF are configured as annotations do not include security
protections like auth, rate limits, or WAF.
ingress.yaml [4-29]
Referred Code
Secret job hardening
Description: The secret generator runs with /bin/sh and executes an inline script; ensure secrets are
not logged and job pod has least privileges as current manifest does not show
securityContext or restricted permissions.
secret-generator-job.yaml [17-24]
Referred Code
🎫 #1700
Codebase context is not defined
Follow the guide to enable codebase context checks.
No custom compliance provided
Follow the guide to enable custom compliance check.
Compliance status legend
🟢 - Fully Compliant🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/1701#issuecomment-3368693904
Original created: 2025-10-05T02:36:01Z
PR Code Suggestions ✨
Explore these optional code suggestions:
Pin production deployment to a stable branch
For the production ArgoCD application, change the
source.targetRevisionfrom thefeature branch
1700-create-app-for-demoto a stable reference likeHEADormain.k8s/argocd/applications/demo-prod.yaml [8-13]
Suggestion importance[1-10]: 8
__
Why: The suggestion correctly identifies a critical issue in the production deployment configuration where an ephemeral feature branch is used as the source, which is unstable and against best practices.
Avoid using 'latest' image tags
In the production
kustomization.yaml, replace thelatestand pre-release imagetags with specific, immutable version tags to ensure reproducible and stable
deployments.
k8s/demo/prod/kustomization.yaml [11-21]
Suggestion importance[1-10]: 8
__
Why: The suggestion highlights a critical anti-pattern of using
latestand pre-release image tags in a production configuration, which undermines deployment stability and reproducibility.Prevent silent file overwrites during extraction
In the
alpine_netutils_rootfs_amd64genrule, add the--keep-old-filesflag tothe
tar -xzfcommand to prevent silent overwrites when extracting multipletarballs to the same directory.
docker/images/BUILD.bazel [125-143]
Suggestion importance[1-10]: 6
__
Why: The suggestion correctly identifies a potential for silent file overwrites when merging tarballs, which could lead to unpredictable image contents, and proposes a valid solution to prevent it.