CLI parameter to overwrite MTA parameters
@ddonchev 已经在做这个了。
开始于 2020年11月27日。
评估
这个 Issue 还没有评估数据。
描述
Description
Hi everyone,
In my project, I have a resource which needs to be passed a secret token during deployment. This is why I wouldn't want to put the token into the repository as part of mta or extension (even if putting credentials into the extension seems to be recommended), but inject it to the cf deploy command from the CD pipeline.
As a workaround, we've currently modeled the resource as existing-service and manually create the service instance. For dev-spaces, however, we'd like to use a development plan of the service, which doesn't need the secret token. However, we still have to manually create the service, as we can't change the resource type to managed-service from the mta extension.
In an ideal world, I would be able to, in my mta.yaml (or any extension), specify a parameter like this:
ID: test
_schema-version: 3.3.0
version: 0.0.0
parameters:
secret: fillme
resources:
...
In the CLI, I would only now need to be able to overwrite the parameters via an additional CLI parameter, e.g.:
cf deploy my.mtar --parameter secret=thesecret
Would it be possible to add such a feature?
I've checked cf help deploy but didn't find any hint into this direction...
I don't know if server-side support is necessary here, but in the worst case the CLI could generate an transient mta extension with the parameters and just send it along.
Thank you very much for your support!
Kind regards
Lukas
- 主要语言
- Go
- 星标
- 87
- 派生
- 42
- 平均合并
- 17 天 21 小时
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cloudfoundry/multiapps-cli-plugin 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
cloudfoundry/multiapps-cli-plugin#257 · 1 条评论 ·
-
in progress
难度 3/5 1-2 天 新手友好度 35/100
cloudfoundry/multiapps-cli-plugin#220 · 1 条评论 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
cloudfoundry/multiapps-cli-plugin#218 · 2 条评论 ·
-
enhancement
难度 3/5 1-2 天 新手友好度 45/100
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
cloudfoundry/multiapps-cli-plugin#196 · 1 条评论 ·
查看 cloudfoundry/multiapps-cli-plugin 的全部 Issue
相似的 Issue
-
optimization optimization:agents-md-curator
难度 2/5 1-3 小时 新手友好度 86/100
githubnext/gh-aw-cao#13143 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
blinklabs-io/bursa#904 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
难度 2/5 1-3 小时 新手友好度 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 条评论 ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist 未关闭bug
难度 2/5 1-3 小时 新手友好度 90/100