Skip to content

Commit

Permalink
Enable cleanup policies for kyma-project GCP project (#12075)
Browse files Browse the repository at this point in the history
* Enable cleanup policy

* Fix terraform issue

* Trigger

---------

Co-authored-by: Kyma <[email protected]>
  • Loading branch information
KacperMalachowski and kyma-bot authored Oct 31, 2024
1 parent 929c313 commit 2ae07d7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,13 @@ variable "prod_docker_repository" {
format = "DOCKER"
immutable_tags = false
mode = "STANDARD_REPOSITORY"
cleanup_policy_dry_run = true
cleanup_policy_dry_run = false
labels = {
"type" = "production"
}
}
}


variable "docker_dev_repository" {
type = object({
name = string
Expand All @@ -62,7 +61,7 @@ variable "docker_dev_repository" {
format = "DOCKER"
immutable_tags = false
mode = "STANDARD_REPOSITORY"
cleanup_policy_dry_run = true
cleanup_policy_dry_run = false
# Google provider does not support the time units,
# so we need to provide the time in seconds.
# Time after which the images will be deleted.
Expand Down

0 comments on commit 2ae07d7

Please sign in to comment.