Skip to content

Upgrate CF CLI to support variable substitution #188

@o-orand

Description

@o-orand

Is your feature request related to a problem? Please describe.
As operator, I want to able to leverage new CF CLI syntax, see https://github.com/orange-cloudfoundry/paas-templates/issues/71

and https://docs.cloudfoundry.org/devguide/deploy-apps/manifest-attributes.html#variable-substitution

Given a vars.yml file such as

instances: 2
memory: 1G

Given an app manifest file using the following format: ((VARIABLE-NAME)) such as 🔢

---
applications:
- name: test-app
  instances: ((instances))
  memory: ((memory))
  buildpacks:
  - go_buildpack
  env:
    GOPACKAGENAME: go_calls_ruby
  command: go_calls_ruby

and CF CLI invoked with cf push --vars-file /PATH/vars.yml
then CF CLI pushes an interpolated manifest file.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Status
On Hold

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions