cloudfoundry / cloudfoundry/cli
cf env app-name var-name to get a single environment variable
@gururajsh is already working on this.
Since Sep 20, 2024.
- Dominant language
- Go
- Stars
- 1.9k
- Forks
- 990
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 8
Description
I am raising this request where when viewing the environment variables of an application, we need to do ssh to that application and run python script to check for the variables once the application is deployed in cockpit.
In my case I don't have access to do ssh to that application.
OR else need to perform scripting to view the environment variables in my case VCAP_SERVICES since the output generated from cf env ${appname} contains all the environment variables VCAP_SERVICES, VCAP_APPLICATION, USER-PROVIDED VARIABLES etc. and it is not json formated It is failing to list only VCAP_SERVICES of a particular service using jq command.
So, I want to reopen the same issue,
cf env app-name var-name to get a single environment variable #1003 : https://github.com/cloudfoundry/cli/issues/1003
to get the output of particular variable selected.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.