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

Server Unable to Locate .flipt.yml and features.yml in GCloud Bucket #3807

Closed
assembly-tickets bot opened this issue Jan 15, 2025 · 1 comment · Fixed by #3808
Closed

Server Unable to Locate .flipt.yml and features.yml in GCloud Bucket #3807

assembly-tickets bot opened this issue Jan 15, 2025 · 1 comment · Fixed by #3808
Labels

Comments

@assembly-tickets
Copy link

assembly-tickets bot commented Jan 15, 2025

User trevor_27349 has created an issue through Assembly.
More context in this thread

Context:

My instance can see my GCloud bucket and it's not getting any auth errors.  The UI is in read-only as it should be but the server is not finding .flipt.yml or the features.yml files that are in the bucket.

    storage:
      type: object
      object:
        type: googlecloud
        googlecloud:
          bucket: tl-bucket
          prefix: sandbox
@markphelps
Copy link
Collaborator

I have confirmed that our implementation with prefixes + GCloud does not seem to correctly return features.yml files that are located in subfolders of the bucket.

I ran the latest version of Flipt with the following config and it would not find my Flipt features.yml in the subfolder. It would only find it if I put the features.yml at the root of the bucket and removed the prefix in the config.

FLIPT_STORAGE_TYPE="object" FLIPT_STORAGE_OBJECT_TYPE="googlecloud" FLIPT_STORAGE_OBJECT_GOOGLECLOUD_BUCKET="flipt-test" FLIPT_STORAGE_OBJECT_GOOGLECLOUD_POLL_INTERVAL="1m" FLIPT_STORAGE_OBJECT_GOOGLECLOUD_PREFIX="production"
GOOGLE_APPLICATION_CREDENTIALS=~/path/to/creds

CleanShot 2025-01-15 at 09 38 53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant