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 secret handling #1153

Merged
merged 5 commits into from
Jan 28, 2019
Merged

Fix secret handling #1153

merged 5 commits into from
Jan 28, 2019

Conversation

kflynn
Copy link
Member

@kflynn kflynn commented Jan 27, 2019

Rather than persisting all secrets to disk, we don't ask about secrets we haven't been told to use.

Additionally:

  • we no longer re-parse the config on every diag page load
  • startup is faster and more robust
  • configuration changes should be faster
  • some dead code has been removed.

All of this happens by letting the long-lived (and now quite misnamed) diagd process own the Ambassador configuration, so that it can be more discriminatory in what it requests from kubewatch, and cache the configuration between changes.

This will fix #1093 and #1118. A future PR will finish the job of removing the old kubewatch.py (it's now only used in a vestigial startup role).

Flynn added 5 commits January 27, 2019 00:53
…stable. Don't re-parse the config for every diag page load.
* master:
  Update ambassador-with-aws.md
  Updated AWS documentation with more configuration examples
  Update simple rate limiting example for v1 api
  update for 0.1.2
  final set of fixes?
  fix formatting
  bug fixes and formatting fixes
  fix license key location
  clean up whitespace, remove mapping doc change
  remove bypass_auth from mappings doc; add assertions to test
  call out bypass_auth in docs
  add test for bypassing auth
  add mapping attribute for disabling auth
@kflynn kflynn merged commit 70bad29 into master Jan 28, 2019
@kflynn kflynn deleted the flynn/dev/1093 branch January 28, 2019 18:32
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.

Ambassador 0.50-rc4 persists all secrets to container
1 participant