Skip to content

Commit d9bdf1b

Browse files
authored
Merge pull request #42 from junior/ZeroTEN
Zero Nine 3
2 parents d69ee4a + 6820b1c commit d9bdf1b

File tree

20 files changed

+59
-55
lines changed

20 files changed

+59
-55
lines changed

.github/workflows/stack.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2022 Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2022, 2024 Oracle and/or its affiliates. All rights reserved.
22
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
33
#
44

@@ -27,6 +27,9 @@ jobs:
2727
STACK_FILES="*.tf schema.yaml README.md LICENSE VERSION .terraform.lock.hcl modules/"
2828
RELEASE=$(cat VERSION)
2929
ASSETS+="${STACKNAME}-stack.zip ${STACKNAME}-${RELEASE}.zip "
30+
echo "::group::Generating standalone providers.tf"
31+
cp -f providers.tf.example providers.tf || { printf '\n providers.tf.example ignored.\n'; exit 0; }
32+
echo "::endgroup::"
3033
echo "::group::Processing $STACKNAME"
3134
zip -r ${STACKNAME}-stack.zip $STACK_FILES -x "*.tfstat*" ".terraform/" || { printf '\n⛔ Unable to create %s stack.\n'; exit 1; }
3235
cp ${STACKNAME}-stack.zip ${STACKNAME}-${RELEASE}.zip || { printf '\n⛔ Unable to create %s stack.\n'; exit 1; }

VARIABLES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
| <a name="input_cluster_cni_type"></a> [cluster\_cni\_type](#input\_cluster\_cni\_type) | The CNI type to use for the cluster. Valid values are: FLANNEL\_OVERLAY or OCI\_VCN\_IP\_NATIVE | `string` | `"FLANNEL_OVERLAY"` | no |
99
| <a name="input_cluster_endpoint_visibility"></a> [cluster\_endpoint\_visibility](#input\_cluster\_endpoint\_visibility) | The Kubernetes cluster that is created will be hosted on a public subnet with a public IP address auto-assigned or on a private subnet. If Private, additional configuration will be necessary to run kubectl commands | `string` | `"Public"` | no |
1010
| <a name="input_cluster_load_balancer_visibility"></a> [cluster\_load\_balancer\_visibility](#input\_cluster\_load\_balancer\_visibility) | The Load Balancer that is created will be hosted on a public subnet with a public IP address auto-assigned or on a private subnet. This affects the Kubernetes services, ingress controller and other load balancers resources | `string` | `"Public"` | no |
11+
| <a name="input_cluster_type"></a> [cluster\_type](#input\_cluster\_type) | The type of OKE cluster to create. Valid values are: BASIC\_CLUSTER or ENHANCED\_CLUSTER | `string` | `"BASIC_CLUSTER"` | no |
1112
| <a name="input_cluster_workers_visibility"></a> [cluster\_workers\_visibility](#input\_cluster\_workers\_visibility) | The Kubernetes worker nodes that are created will be hosted in public or private subnet(s) | `string` | `"Private"` | no |
1213
| <a name="input_compartment_ocid"></a> [compartment\_ocid](#input\_compartment\_ocid) | n/a | `any` | n/a | yes |
1314
| <a name="input_create_compartment_policies"></a> [create\_compartment\_policies](#input\_create\_compartment\_policies) | Creates policies that will reside on the compartment. e.g.: Policies to support Cluster Autoscaler, OCI Logging datasource on Grafana | `bool` | `true` | no |

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.9.2
1+
0.9.3

examples/5G-NF-Infra/providers.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
#
44

55
terraform {
6-
required_version = ">= 1.1"
6+
required_version = ">= 1.5"
77
required_providers {
88
oci = {
99
source = "oracle/oci"
10-
version = "~> 4, < 5"
10+
version = ">= 6"
1111
# https://registry.terraform.io/providers/oracle/oci/
1212
configuration_aliases = [oci.home_region, oci.current_region]
1313
}

examples/basic-cluster/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
#
44

55
terraform {
6-
required_version = ">= 1.1"
6+
required_version = ">= 1.5"
77
required_providers {
88
oci = {
99
source = "oracle/oci"
10-
version = "~> 4, < 5"
10+
version = ">= 6"
1111
# https://registry.terraform.io/providers/oracle/oci/
1212
configuration_aliases = [oci.home_region]
1313
}

examples/basic-with-existing-network/providers.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
#
44

55
terraform {
6-
required_version = ">= 1.1"
6+
required_version = ">= 1.5"
77
required_providers {
88
oci = {
99
source = "oracle/oci"
10-
version = "~> 4, < 5"
10+
version = ">= 6"
1111
# https://registry.terraform.io/providers/oracle/oci/
1212
}
1313
kubernetes = {

modules/cluster-tools/cluster-tools.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ locals {
1515
# Helm repos
1616
helm_repository = {
1717
ingress_nginx = "https://kubernetes.github.io/ingress-nginx"
18-
ingress_nginx_version = "4.6.1"
18+
ingress_nginx_version = "4.11.2"
1919
jetstack = "https://charts.jetstack.io" # cert-manager
20-
jetstack_version = "1.12.0" # cert-manager
20+
jetstack_version = "1.15.3" # cert-manager
2121
grafana = "https://grafana.github.io/helm-charts"
22-
grafana_version = "6.56.5"
22+
grafana_version = "8.4.8"
2323
prometheus = "https://prometheus-community.github.io/helm-charts"
24-
prometheus_version = "22.6.2"
24+
prometheus_version = "25.26.0"
2525
metrics_server = "https://kubernetes-sigs.github.io/metrics-server"
26-
metrics_server_version = "3.10.0"
26+
metrics_server_version = "3.12.1"
2727
}
2828
use_cluster_tools_namespace = anytrue([var.grafana_enabled, var.ingress_nginx_enabled, var.cert_manager_enabled, var.prometheus_enabled]) ? true : false
2929
}

modules/cluster-tools/grafana.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ resource "helm_release" "grafana" {
2525
type = "string"
2626
}
2727

28-
set {
29-
name = "grafana\\.ini.server.serve_from_sub_path"
30-
value = "true"
31-
}
28+
# set {
29+
# name = "grafana\\.ini.server.serve_from_sub_path"
30+
# value = "true"
31+
# }
3232

3333
values = [
3434
<<EOF

modules/cluster-tools/modules/cert-manager/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ variable "chart_repository" {
1010
default = "https://charts.jetstack.io"
1111
}
1212
variable "chart_version" {
13-
default = "1.9.1"
13+
default = "1.15.3"
1414
}
1515
variable "ingress_email_issuer" {
1616
default = "no-reply@example.cloud"

modules/cluster-tools/modules/cert-manager/providers.tf renamed to modules/cluster-tools/modules/cert-manager/versions.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
#
44

55
terraform {
6-
required_version = ">= 1.1"
6+
required_version = ">= 1.5"
77
required_providers {
88
helm = {
99
source = "hashicorp/helm"
10-
version = "~> 2"
10+
version = ">= 2.15"
1111
# https://registry.terraform.io/providers/hashicorp/helm/
1212
}
1313
tls = {
1414
source = "hashicorp/tls"
15-
version = "~> 4"
15+
version = ">= 4"
1616
# https://registry.terraform.io/providers/hashicorp/tls/
1717
}
1818
local = {
1919
source = "hashicorp/local"
20-
version = "~> 2"
20+
version = ">= 2.5"
2121
# https://registry.terraform.io/providers/hashicorp/local/
2222
}
2323
}

0 commit comments

Comments
 (0)