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

Handle secrets without contents #229

Merged
merged 8 commits into from
Jun 20, 2024
Merged

Conversation

hamir-suspect
Copy link
Contributor

@hamir-suspect hamir-suspect commented Jun 14, 2024

  • Show secrets without contents nicely
  • If update fails (which will happen when secret's contents can not be fetched) the cli will remove existing secret and recreate it with new contents.

task: https://github.com/renderedtext/project-tasks/issues/1284

* Ask before opening editor for secrets that get replaced

* Fix segfault when casting nil

* Different way of asking for confirmation

* Ask for secret name instead of just y/n to confirm update action
@hamir-suspect hamir-suspect marked this pull request as ready for review June 14, 2024 14:49
cmd/edit.go Outdated Show resolved Hide resolved
cmd/edit.go Outdated Show resolved Hide resolved
cmd/edit.go Outdated Show resolved Hide resolved
cmd/apply.go Outdated Show resolved Hide resolved
cmd/edit.go Outdated Show resolved Hide resolved
@hamir-suspect hamir-suspect merged commit 358477d into master Jun 20, 2024
@hamir-suspect hamir-suspect deleted the has/secrets-content-removed branch June 20, 2024 08:07
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