Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cf env app-name var-name to get a single environment variable #3211

Open
AnilPonduri opened this issue Sep 17, 2024 · 1 comment
Open

cf env app-name var-name to get a single environment variable #3211

AnilPonduri opened this issue Sep 17, 2024 · 1 comment
Assignees

Comments

@AnilPonduri
Copy link

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 : #1003
to get the output of particular variable selected.

@gururajsh
Copy link
Member

Hello.. Thank you for opening the this issue. We have added this to our enhancements list. We'll review this request and get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants