Skip to content

Commit 1ecb934

Browse files
authored
Merge pull request #245 from junior/mushop_oke_autoscaler_support
Mushop oke autoscaler support
2 parents 8a85519 + 931c1c0 commit 1ecb934

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

deploy/complete/helm-chart/setup/requirements.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies:
1010
repository: https://prometheus-community.github.io/helm-charts
1111
# Grafana
1212
- name: grafana
13-
version: 6.6.3
13+
version: 6.7.3
1414
condition: grafana.enabled
1515
repository: https://grafana.github.io/helm-charts
1616
# HPA Metrics
@@ -20,7 +20,7 @@ dependencies:
2020
repository: https://charts.helm.sh/stable
2121
# Ingress Controller
2222
- name: ingress-nginx
23-
version: 3.24.0
23+
version: 3.29.0
2424
condition: ingress-nginx.enabled
2525
repository: https://kubernetes.github.io/ingress-nginx
2626
# Service Catalog
@@ -30,7 +30,7 @@ dependencies:
3030
repository: https://kubernetes-sigs.github.io/service-catalog
3131
# cert-manager
3232
- name: cert-manager
33-
version: 1.2.0
33+
version: 1.3.0
3434
condition: cert-manager.enabled
3535
repository: https://charts.jetstack.io
3636
# jenkins

deploy/complete/terraform/mushop-utilities.tf

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ resource "helm_release" "grafana" {
3737
name = "mushop-utils-grafana" # mushop-utils included to be backwards compatible to the docs and setup chart install
3838
repository = local.helm_repository.grafana
3939
chart = "grafana"
40-
version = "6.7.1"
40+
version = "6.7.3"
4141
namespace = kubernetes_namespace.cluster_utilities_namespace.id
4242
wait = false
4343

@@ -109,7 +109,7 @@ resource "helm_release" "ingress_nginx" {
109109
name = "mushop-utils-ingress-nginx" # mushop-utils included to be backwards compatible to the docs and setup chart install
110110
repository = local.helm_repository.ingress_nginx
111111
chart = "ingress-nginx"
112-
version = "3.26.0"
112+
version = "3.29.0"
113113
namespace = kubernetes_namespace.cluster_utilities_namespace.id
114114
wait = true
115115

@@ -125,6 +125,9 @@ resource "helm_release" "ingress_nginx" {
125125

126126
timeout = 1800 # workaround to wait the node be active for other charts
127127

128+
depends_on = [kubernetes_deployment.cluster_autoscaler_deployment]
129+
130+
count = var.ingress_nginx_enabled ? 1 : 0
128131
}
129132

130133
## https://github.com/kubernetes-sigs/service-catalog/blob/master/charts/catalog/README.md
@@ -147,7 +150,7 @@ resource "helm_release" "cert_manager" {
147150
name = "cert-manager"
148151
repository = local.helm_repository.jetstack
149152
chart = "cert-manager"
150-
version = "1.2.0"
153+
version = "1.3.0"
151154
namespace = kubernetes_namespace.cluster_utilities_namespace.id
152155
wait = false
153156

deploy/complete/terraform/mushop-variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ variable "prometheus_enabled" {
2525
}
2626
variable "metrics_server_enabled" {
2727
default = true
28-
description = "Enable Metrics Server for Metrics, HPA, VPA and Cluster Auto Scaling"
28+
description = "Enable Metrics Server for Metrics, HPA, VPA and Cluster Auto Scaler"
2929
}
3030
variable "catalog_enabled" {
3131
default = false
3232
description = "Enable Service Catalog to use with OCI Service Broker"
3333
}
3434
variable "ingress_nginx_enabled" {
3535
default = true
36-
description = "Enable Ingress Nginx for Services (Provision a Load Balancer)"
36+
description = "Enable Ingress Nginx for Kubernetes Services (This option provision a Load Balancer)"
3737
}
3838
variable "cert_manager_enabled" {
3939
default = true

deploy/complete/terraform/oke-variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ variable "create_new_oke_cluster" {
1414
}
1515
variable "existent_oke_cluster_id" {
1616
default = ""
17-
description = "Cluster Id of the existent OKE"
17+
description = "Using existent OKE Cluster. Only the application and services will be provisioned. If select cluster autoscaler feature, you need to get the node pool id and enter when required"
1818
}
1919
variable "create_new_compartment_for_oke" {
2020
default = false

deploy/complete/terraform/schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ variables:
175175

176176
existent_oke_cluster_id:
177177
type: oci:container:cluster:id
178-
title: "Existent OKE Cluster id"
178+
title: "Existent OKE Cluster"
179179
required: true
180180
dependsOn:
181181
compartmentId: existent_oke_cluster_compartment_ocid

0 commit comments

Comments
 (0)