Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Commit dda6863

Browse files
ElieCaratgemarcantoinegodde
authored andcommitted
Variable install velero
1 parent faa0f24 commit dda6863

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

common/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@ variable "vault_seal_method" {
131131
default = "shamir"
132132
}
133133

134+
variable "install_velero" {
135+
type = bool
136+
description = "Install Velero"
137+
default = true
138+
}
139+
134140
variable "velero_version" {
135141
type = string
136142
description = "The version of Velero to install"

common/velero.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
resource "helm_release" "velero" {
2+
count = (var.install_velero) ? 1 : 0
3+
24
name = "velero"
35
namespace = "velero"
46
create_namespace = true

0 commit comments

Comments
 (0)