Skip to content

Commit c903e97

Browse files
authored
Merge pull request #3 from junior/zero-five-zero
cluster-tools update
2 parents c267e2a + 87289e8 commit c903e97

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.4.0
1+
0.5.0

module-cluster-tools.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ module "cluster-tools" {
1111
region = var.region
1212

1313
# Cluster Tools
14+
## Namespace
15+
cluster_tools_namespace = "cluster-tools"
16+
1417
## Ingress
1518
ingress_nginx_enabled = var.ingress_nginx_enabled
1619
ingress_load_balancer_shape = var.ingress_load_balancer_shape

modules/cluster-tools/cluster-tools.tf

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Create namespace cluster-tools for supporting services
66
resource "kubernetes_namespace" "cluster_tools" {
77
metadata {
8-
name = "cluster-tools"
8+
name = var.cluster_tools_namespace
99
}
1010
}
1111

@@ -28,4 +28,9 @@ locals {
2828
# OCI Provider
2929
variable "tenancy_ocid" {}
3030
variable "compartment_ocid" {}
31-
variable "region" {}
31+
variable "region" {}
32+
33+
# Namespace
34+
variable "cluster_tools_namespace" {
35+
default = "cluster-tools"
36+
}

0 commit comments

Comments
 (0)