Skip to content

Commit

Permalink
feat: Add values for jx-git-operator chart (#306)
Browse files Browse the repository at this point in the history
fixes #303
  • Loading branch information
msvticket authored Sep 21, 2021
1 parent 5d2eea3 commit b27a316
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ module "cluster" {
lt_desired_nodes_per_subnet = var.lt_desired_nodes_per_subnet
lt_min_nodes_per_subnet = var.lt_min_nodes_per_subnet
lt_max_nodes_per_subnet = var.lt_max_nodes_per_subnet
jx_git_operator_values = var.jx_git_operator_values
jx_git_url = var.jx_git_url
jx_bot_username = var.jx_bot_username
jx_bot_token = var.jx_bot_token
Expand Down
2 changes: 2 additions & 0 deletions modules/cluster/charts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ resource "helm_release" "jx-git-operator" {
version = "0.0.194"
create_namespace = true

values = var.jx_git_operator_values

set {
name = "bootServiceAccount.enabled"
value = true
Expand Down
6 changes: 6 additions & 0 deletions modules/cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,12 @@ variable "lt_max_nodes_per_subnet" {
default = 2
}

variable "jx_git_operator_values" {
description = "Extra values for jx-git-operator chart as a list of yaml formated strings"
type = list(string)
default = []
}

variable "jx_git_url" {
description = "URL for the Jenins X cluster git repository"
type = string
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,12 @@ variable "registry" {
default = ""
}

variable "jx_git_operator_values" {
description = "Extra values for jx-git-operator chart as a list of yaml formated strings"
type = list(string)
default = []
}

variable "jx_git_url" {
description = "URL for the Jenkins X cluster git repository"
type = string
Expand Down

0 comments on commit b27a316

Please sign in to comment.