CLI parameter to overwrite MTA parameters
@ddonchev đang làm issue này rồi.
Từ ngày 27/11/2020.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- Go
- Star
- 87
- Fork
- 42
- Merge trung bình
- 17 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cloudfoundry/multiapps-cli-plugin
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
cloudfoundry/multiapps-cli-plugin#257 · 1 bình luận ·
-
in progress
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
cloudfoundry/multiapps-cli-plugin#220 · 1 bình luận ·
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
cloudfoundry/multiapps-cli-plugin#218 · 2 bình luận ·
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
cloudfoundry/multiapps-cli-plugin#196 · 1 bình luận ·
Tất cả issue của cloudfoundry/multiapps-cli-plugin
Issue tương tự
-
optimization optimization:agents-md-curator
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
githubnext/gh-aw-cao#13143 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
blinklabs-io/bursa#904 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 bình luận ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100