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

fix: mount dirs not files #326

Merged
merged 4 commits into from
Jan 28, 2023
Merged

fix: mount dirs not files #326

merged 4 commits into from
Jan 28, 2023

Conversation

toddbaert
Copy link
Member

@toddbaert toddbaert commented Jan 28, 2023

We need to mount dirs, not files. For this reason, our previous solution to handle multiple configmaps didn't work (events weren't being seen in flagd in k8s).

This change mounts each ff/configmap in it's own unique dir, preserving all events and allowing multiples.

Signed-off-by: Todd Baert <toddbaert@gmail.com>
Signed-off-by: Todd Baert <toddbaert@gmail.com>
Signed-off-by: Todd Baert <toddbaert@gmail.com>
Signed-off-by: Todd Baert <toddbaert@gmail.com>
@codecov-commenter
Copy link

Codecov Report

Merging #326 (294b234) into main (256894f) will increase coverage by 0.22%.
The diff coverage is 92.30%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #326      +/-   ##
==========================================
+ Coverage   60.84%   61.06%   +0.22%     
==========================================
  Files           4        4              
  Lines         521      524       +3     
==========================================
+ Hits          317      320       +3     
  Misses        184      184              
  Partials       20       20              
Impacted Files Coverage Δ
controllers/featureflagconfiguration_controller.go 0.00% <0.00%> (ø)
webhooks/pod_webhook.go 75.80% <100.00%> (+0.19%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

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

Successfully merging this pull request may close these issues.

3 participants