Commit a5f33ef
Add default namespace support to AgentInstallNamespaceFromDeploymentConfigFunc
This enhancement allows callers to specify a fallback namespace when the addon
deployment config doesn't specify an agent install namespace. The function now
accepts an optional defaultNs parameter that will be returned when
config.Spec.AgentInstallNamespace is empty.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
Signed-off-by: zhujian <[email protected]>1 parent 1a0a9be commit a5f33ef
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| |||
0 commit comments