Repository navigation
fix(helm): quote custom labels and fix default securityContext #862
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ global: | |
| router: | ||
| replicas: 1 | ||
|
|
||
| # -- Routing policy: cache_aware, round_robin, power_of_two, manual, random | ||
| # -- Routing policy: cache_aware, round_robin, power_of_two, manual, random, prefix_hash | ||
| policy: cache_aware | ||
|
|
||
| # -- Explicit worker URLs | ||
|
|
@@ -43,7 +43,7 @@ router: | |
| cacheThreshold: 0.3 | ||
| balanceAbsThreshold: 64 | ||
| balanceRelThreshold: 1.5 | ||
| evictionIntervalSecs: 60 | ||
| evictionIntervalSecs: 120 | ||
| maxTreeSize: 67108864 | ||
| blockSize: 16 | ||
|
|
||
|
|
@@ -154,7 +154,7 @@ router: | |
| # -- Security context for router container | ||
| securityContext: | ||
| readOnlyRootFilesystem: true | ||
| runAsNonRoot: true | ||
| runAsNonRoot: false | ||
| allowPrivilegeEscalation: false | ||
|
Comment on lines
155
to
158
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Document the rationale for The change fixes the # -- Security context for router container
+ # NOTE: runAsNonRoot is false because the lightseekorg/smg image currently
+ # runs as root. Set to true if using a non-root image variant.
securityContext:
readOnlyRootFilesystem: true
runAsNonRoot: false
allowPrivilegeEscalation: false🤖 Prompt for AI Agents |
||
|
|
||
| # -- Liveness probe tuning | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick | 🔵 Trivial
Consider bumping chart
versionalongsideappVersion.The
appVersionbump to1.3.3reflects CLI flag renames (breaking changes for users with custom values). Whileversion: 0.1.0can remain if chart structure is unchanged, SemVer best practice for Helm charts is to bump the chart version when default values or template behavior changes, as this signals to users that an upgrade may require values file updates.🤖 Prompt for AI Agents