<#4948 [FlyteCTL Feature] Add support for passing ...
# flyte-github
c
#4948 [FlyteCTL Feature] Add support for passing config via ENV vars Issue created by ddl-ebrown ### Describe the feature/command for FlyteCTL pyflyte accepts values like
FLYTE_PLATFORM_URL
as an override for the admin endpoint in flytes config file
Copy code
admin:
  # For GRPC endpoints you might want to use dns:///flyte.myexample.com
  endpoint: dns:///flyte:8181
  insecure: true
flytectl does not provide a similar config option. I thought it might be parsed like
FLTYE_ADMIN_ENDPOINT
or
FLYTECTL_ADMIN_ENDPOINT
-- but it doesn't look like cobra / viper is configured to parse environment variables in the flytectl binary. ### Provide a possible output or UX example This is useful for providing feature parity for configuration between the two toolchains. ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte