Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Make drone release namespace variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpellant committed Apr 6, 2020
1 parent 0ac41ad commit 138069d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resource "helm_release" "drone" {
name = "drone"
repository = data.helm_repository.drone.metadata[0].name
chart = "drone"
namespace = "drone"
namespace = var.drone_namespace
version = var.drone_helm_chart_version == "" ? null : var.drone_helm_chart_version

values = [
Expand Down
6 changes: 6 additions & 0 deletions vars.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
variable "drone_namespace" {
description = "Namespace to release Drone into"
type = string
default = "drone"
}

variable "drone_helm_chart_version" {
description = "Drone helm chart version to use"
type = string
Expand Down

0 comments on commit 138069d

Please sign in to comment.