flipt-io / flipt

Enterprise-ready, GitOps enabled, CloudNative feature management solution
https://flipt.io
GNU General Public License v3.0
3.41k stars 190 forks source link

An Request Endpoint to fetch default configuration for Remote Servers #3216

Open PythonHacker24 opened 5 days ago

PythonHacker24 commented 5 days ago

Problem

While working with cloud servers which mostly have a default shell environment, it takes an extra step of downloading the default config from the cloud dashboard into the local system and then copying it into the cloud's shell. This adds friction in first-time usage as well as further more setups.

Ideal Solution

Have an endpoint for the default file and allows users to use curl -fsSL https://get.flipt.io/flipt.yaml command for downloading the default file on the cloud.



cloud:
  organization: <ORGANIZATION_NAME>
  gateway: <GATEWAY_NAME>
  authentication:
    api_key: <API_KEY>

server:
  cloud:
    enabled: true

authentication:
  required: true
  methods:
    cloud:
      enabled: true

audit:
  sinks:
    cloud:
      enabled: true

experimental:
  cloud:
    enabled: true```

This addition of a simple feature would take no time and will help save a lot of time. I have been using flipt and this is something practically useful. 

### Search

- [X] I searched for other open and closed issues before opening this

### Additional Context

_No response_