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: refactor manager.go to use provider key instead of MutableProviders, adds --opvault=VAULT controller flag #1604

Merged
merged 4 commits into from
May 31, 2024

Conversation

safeer
Copy link
Contributor

@safeer safeer commented May 30, 2024

This change is a precursor to #1565. It removes the notion of MutableProviders and requires a provider be specified when calling mutable functions in the manager. It also allows a 1Password vault to be set at the controller & main.go levels by using --opvault=VAULT. To operate on 1P secrets via CLI, continue to use ftl secret ... --op=VAULT, but this should eventually change to a bool flag.

@safeer safeer requested a review from wesbillman May 30, 2024 17:32
@ftl-robot ftl-robot mentioned this pull request May 30, 2024
@safeer safeer force-pushed the refactor-manager-mutableproviders branch from 2a15456 to 7c25bc4 Compare May 30, 2024 17:35
cmd/ftl/cmd_secret.go Outdated Show resolved Hide resolved
common/configuration/1password_provider.go Outdated Show resolved Hide resolved
@safeer safeer force-pushed the refactor-manager-mutableproviders branch from 1f5bf82 to 88a5550 Compare May 31, 2024 16:57
@safeer safeer force-pushed the refactor-manager-mutableproviders branch from 88a5550 to afe11e3 Compare May 31, 2024 16:59
@safeer safeer changed the title fix: refactor manager.go: remove MutableProviders, accept provider key when writing fix: refactor manager.go to use provider key instead of MutableProviders, adds --opvault=VAULT controller flag May 31, 2024
@safeer safeer marked this pull request as ready for review May 31, 2024 17:06
@safeer safeer requested review from a team and worstell and removed request for a team May 31, 2024 17:06
@safeer safeer merged commit 3b19d66 into main May 31, 2024
27 checks passed
@safeer safeer deleted the refactor-manager-mutableproviders branch May 31, 2024 17:49
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