jetstack / jetstack/jetstack-secure

feat: Add ability to input a completely custom agent configuration to chart

未关闭
#418 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
helm kind/feature
主要语言
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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。