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

Gitea: Recover soft-deleted secret #1777

Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/shared_services/gitea/porter.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: tre-shared-service-gitea
version: 0.0.3
version: 0.0.5
description: "A Gitea shared service"
registry: azuretre
dockerfile: Dockerfile.tmpl
Expand Down
83 changes: 43 additions & 40 deletions templates/shared_services/gitea/terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions templates/shared_services/gitea/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "=2.97.0"
version = "=3.4.0"
}
}

backend "azurerm" {}
}

provider "azurerm" {
features {}
features {
key_vault {
# Don't purge secrets on destroy (this would fail due to purge protection being enabled on keyvault)
purge_soft_deleted_secrets_on_destroy = false
# When recreating a shared service, recover any previously soft deleted secrets
recover_soft_deleted_secrets = true
}
}
}
2 changes: 1 addition & 1 deletion templates/shared_services/gitea/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.7"
__version__ = "0.1.8"