jetstack / jetstack/jetstack-secure
feat: Add ability to input a completely custom agent configuration to chart
- 主要語言
- Go
- 星號
- 262
- 分支
- 27
- 平均合併
- 2 天 7 小時
- 30 天內合併 PR
- 19
描述
Currently the config section is written to be helpful and auto template the required yaml based on either default or a list of resources. [See here](https://github.com/jetstack/jetstack-secure/blob/master/deploy/charts/jetstack-agent/values.yaml#L74-L85).
```yaml
# Configuration section for the agent itself
config:
# Can override the server if using a proxy between agent and Jetstack Secure
server: "https://platform.jetstack.io"
# REQUIRED - Your Jetstack Secure Organisation Name
organisation: ""
# REQUIRED - Your Jetstack Secure Cluster Name
cluster: ""
period: "0h1m0s"
dataGatherers:
default: true
custom: []
```
If we need to customise this to say namespaces for certain resource, that isn't currently possible.
A better trade of might be to just provide an option to use a customer configmap, or embed the entire config file and ignore the presets.
貢獻指南
研究方向
Start with the linked deploy/charts/jetstack-agent/values.yaml config section at lines 74-85, then trace how the chart renders the agent configuration. Compare the custom ConfigMap and embedded-config options described in the issue, and verify the selected approach by rendering the chart with a fully custom configuration. Done means arbitrary resource-specific settings can be supplied without the current presets.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- kubernetes
- 領域
- devops, infrastructure
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100