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

feat(config): support fetching and watching configmaps for tunnel groups #20

Merged
merged 4 commits into from
May 6, 2024

Conversation

GeorgeMac
Copy link
Member

This adds support for Kubernetes ConfigMaps as a source for tunnel groups configuration.

To setup following a configuration map tunnelconfig in namespace default, where the configuration yaml lives in a key groups.yml, you configure reverst like so:

// as a flag
reverst -g k8s://configmap/default/tunnelconfig/groups.yml
// as an env var
REVERST_TUNNEL_GROUPS=k8s://configmap/default/tunnelconfig/groups.yml reverst

Passing -w will cause reverst to follow along for updates both with files and for k8s.

@GeorgeMac GeorgeMac requested a review from a team as a code owner May 5, 2024 16:57
Copy link
Contributor

@markphelps markphelps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems legit

@GeorgeMac GeorgeMac merged commit 2821791 into main May 6, 2024
2 checks passed
@GeorgeMac GeorgeMac deleted the gm/k8s-configuration-watcher branch May 6, 2024 08:42
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.

2 participants