Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

#489 allow enabling introspection for planb-tokeninfo service #490

Merged
merged 3 commits into from
Mar 23, 2018

Conversation

smirnov
Copy link
Member

@smirnov smirnov commented Mar 16, 2018

Local planb-tokeninfo service takes into account ENABLE_INTROSPECTION environment variable. However currently there is no way for users to override it (taupage config variable doesn't get propagated to the startup script).

@smirnov smirnov requested a review from tuxlife March 16, 2018 10:25
@aermakov-zalando
Copy link
Contributor

Do you intend to have default values for this, or is this something that will only be configured per-stack?

@smirnov
Copy link
Member Author

smirnov commented Mar 16, 2018

This is something that should be possible for end-users to enable in the ENVIRONMENT section of the Taupage config, so that it propagates to tokeninfo on start. Actually, we're going to need to have False as default.

@aermakov-zalando
Copy link
Contributor

The question was more about whether we should enable it by default or not.

@smirnov
Copy link
Member Author

smirnov commented Mar 16, 2018

Default should be false, with ability to override it to true.

@aermakov-zalando
Copy link
Contributor

LGTM then. Would you mind testing this with the Dev taupage channel once we merge this, with all 3 possible values (missing/false/true)?

@szuecs
Copy link
Member

szuecs commented Mar 16, 2018

👍

@smirnov
Copy link
Member Author

smirnov commented Mar 16, 2018

PR implementation will break existing apps, need to implement proper validation before propagation.

@smirnov
Copy link
Member Author

smirnov commented Mar 22, 2018

Tested by manually applying changes to running image. Seems to work just fine.

Will test dev image after merge.

@smirnov
Copy link
Member Author

smirnov commented Mar 22, 2018

👍

1 similar comment
@aermakov-zalando
Copy link
Contributor

👍

@aermakov-zalando aermakov-zalando merged commit d528526 into master Mar 23, 2018
@aermakov-zalando aermakov-zalando deleted the feature/489-enable-introspection-passthrough branch March 23, 2018 09:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants