Skip to content

Commit 00d33fd

Browse files
authored
Merge pull request #426 from sassoftware/staging
10.1.0 - January 16, 2025
2 parents e81a72e + 4a351f6 commit 00d33fd

16 files changed

+27
-19
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG AZURECLI_VERSION=2.64.0
33

44
FROM hashicorp/terraform:$TERRAFORM_VERSION as terraform
55
FROM mcr.microsoft.com/azure-cli:$AZURECLI_VERSION
6-
ARG KUBECTL_VERSION=1.29.7
6+
ARG KUBECTL_VERSION=1.30.6
77

88
WORKDIR /viya4-iac-azure
99

@@ -12,12 +12,12 @@ COPY . .
1212

1313
RUN yum -y install git openssh jq which curl \
1414
&& yum clean all && rm -rf /var/cache/yum \
15-
&& curl -sLO https://storage.googleapis.com/kubernetes-release/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl \
15+
&& curl -sLO https://dl.k8s.io/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl \
1616
&& chmod 755 ./kubectl /viya4-iac-azure/docker-entrypoint.sh \
1717
&& mv ./kubectl /usr/local/bin/kubectl \
18-
&& chmod g=u -R /etc/passwd /etc/group /viya4-iac-azure \
1918
&& git config --system --add safe.directory /viya4-iac-azure \
20-
&& terraform init
19+
&& terraform init \
20+
&& chmod g=u -R /etc/passwd /etc/group /viya4-iac-azure
2121

2222
ENV TF_VAR_iac_tooling=docker
2323
ENTRYPOINT ["/viya4-iac-azure/docker-entrypoint.sh"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Access to an **Azure Subscription** and an [**Identity**](./docs/user/TerraformA
5858

5959
#### Terraform Requirements:
6060
- [Terraform](https://www.terraform.io/downloads.html) - v1.9.6
61-
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl) - v1.29.7
61+
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl) - v1.30.6
6262
- [jq](https://stedolan.github.io/jq/) - v1.6
6363
- [Azure CLI](https://docs.microsoft.com/en-us/cli/azure) - (optional - useful as an alternative to the Azure Portal) - v2.64.0
6464

container-structure-test.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ fileExistenceTests:
1212
path: '/usr/bin/az'
1313
shouldExist: true
1414
permissions: '-rwxr-xr-x'
15+
- name: 'kubectl'
16+
path: '/usr/local/bin/kubectl'
17+
shouldExist: true
18+
permissions: '-rwxr-xr-x'
1519

1620
commandTests:
1721
- name: "terraform version"
@@ -22,14 +26,17 @@ commandTests:
2226
command: "python3"
2327
args: ["--version"]
2428
expectedOutput: ["Python 3.*"]
25-
2629
- name: "az-cli version"
2730
command: "bash"
2831
args:
2932
- -c
3033
- |
3134
az version -o tsv
3235
expectedOutput: ["2.64.0\t2.64.0\t1.1.0"]
36+
- name: "kubectl version"
37+
command: "kubectl"
38+
args: ["version", "--client"]
39+
expectedOutput: ["Client Version: v1.30.6"]
3340

3441
metadataTest:
3542
workdir: "/viya4-iac-azure"

docs/CONFIG-VARS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Ubuntu 20.04 LTS is the operating system used on the Jump/NFS servers. Ubuntu cr
197197
| :--- | ---: | ---: | ---: | ---: |
198198
| partner_id | A GUID that is registered with Microsoft to facilitate partner resource usage attribution | string | "5d27f3ae-e49c-4dea-9aa3-b44e4750cd8c" | Defaults to SAS partner GUID. When you deploy this Terraform configuration, Microsoft can identify the installation of SAS software with the deployed Azure resources. Microsoft can then correlate the resources that are used to support the software. Microsoft collects this information to provide the best experiences with their products and to operate their business. The data is collected and governed by Microsoft's privacy policies, located at https://www.microsoft.com/trustcenter. |
199199
| create_static_kubeconfig | Allows the user to create a provider / service account-based kubeconfig file | bool | true | A value of `false` will default to using the cloud provider's mechanism for generating the kubeconfig file. A value of `true` will create a static kubeconfig that uses a `Service Account` and `Cluster Role Binding` to provide credentials. |
200-
| kubernetes_version | The AKS cluster Kubernetes version | string | "1.29" |Use of specific versions is still supported. If you need exact kubernetes version please use format `x.y.z`, where `x` is the major version, `y` is the minor version, and `z` is the patch version |
200+
| kubernetes_version | The AKS cluster Kubernetes version | string | "1.30" |Use of specific versions is still supported. If you need exact kubernetes version please use format `x.y.z`, where `x` is the major version, `y` is the minor version, and `z` is the patch version |
201201
| create_jump_vm | Create bastion host | bool | true | |
202202
| create_jump_public_ip | Add public IP address to the jump VM | bool | true | |
203203
| enable_jump_public_static_ip | Enables `Static` allocation method for the public IP address of Jump Server. Setting false will enable `Dynamic` allocation method. | bool | true | Only used with `create_jump_public_ip=true` |

examples/sample-input-byo.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ container_registry_sku = "Standard"
4545
container_registry_admin_enabled = false
4646

4747
# AKS config
48-
kubernetes_version = "1.29"
48+
kubernetes_version = "1.30"
4949
default_nodepool_min_nodes = 2
5050
default_nodepool_vm_type = "Standard_E8s_v5"
5151

examples/sample-input-connect.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ container_registry_sku = "Standard"
3434
container_registry_admin_enabled = false
3535

3636
# AKS config
37-
kubernetes_version = "1.29"
37+
kubernetes_version = "1.30"
3838
default_nodepool_min_nodes = 2
3939
default_nodepool_vm_type = "Standard_E8s_v5"
4040

examples/sample-input-ha.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ container_registry_sku = "Standard"
3232
container_registry_admin_enabled = false
3333

3434
# AKS config
35-
kubernetes_version = "1.29"
35+
kubernetes_version = "1.30"
3636
default_nodepool_min_nodes = 2
3737
default_nodepool_vm_type = "Standard_E8s_v5"
3838

examples/sample-input-minimal.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ container_registry_sku = "Standard"
3232
container_registry_admin_enabled = false
3333

3434
# AKS config
35-
kubernetes_version = "1.29"
35+
kubernetes_version = "1.30"
3636
default_nodepool_min_nodes = 2
3737
default_nodepool_vm_type = "Standard_D4_v3"
3838
#v3 still has local temp storage

examples/sample-input-postgres.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ container_registry_sku = "Standard"
8686
container_registry_admin_enabled = false
8787

8888
# AKS config
89-
kubernetes_version = "1.29"
89+
kubernetes_version = "1.30"
9090
default_nodepool_min_nodes = 2
9191
default_nodepool_vm_type = "Standard_E8s_v5"
9292

examples/sample-input-ppg.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ container_registry_sku = "Standard"
3333
container_registry_admin_enabled = false
3434

3535
# AKS config
36-
kubernetes_version = "1.29"
36+
kubernetes_version = "1.30"
3737
default_nodepool_min_nodes = 2
3838
default_nodepool_vm_type = "Standard_E8s_v5"
3939

examples/sample-input-singlestore.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ container_registry_sku = "Standard"
3434
container_registry_admin_enabled = false
3535

3636
# AKS config
37-
kubernetes_version = "1.29"
37+
kubernetes_version = "1.30"
3838
default_nodepool_min_nodes = 2
3939
default_nodepool_vm_type = "Standard_E8s_v5"
4040

examples/sample-input.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ container_registry_sku = "Standard"
3434
container_registry_admin_enabled = false
3535

3636
# AKS config
37-
kubernetes_version = "1.29"
37+
kubernetes_version = "1.30"
3838
default_nodepool_min_nodes = 2
3939
default_nodepool_vm_type = "Standard_E8s_v5"
4040

linting-configs/.tflint.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
config {
1111
# Enables module inspection.
12-
module = true
12+
call_module_type = "all"
1313
}
1414

1515
plugin "azurerm" {

modules/azure_aks/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ variable "aks_node_disk_encryption_set_id" {
146146
variable "kubernetes_version" {
147147
description = "The AKS cluster K8s version"
148148
type = string
149-
default = "1.29"
149+
default = "1.30"
150150
}
151151

152152
variable "aks_cluster_endpoint_public_access_cidrs" {

modules/azurerm_postgresql_flex/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ resource "azurerm_postgresql_flexible_server" "flexpsql" {
3737
tags = var.tags
3838
delegated_subnet_id = var.delegated_subnet_id
3939
private_dns_zone_id = try(azurerm_private_dns_zone.flexpsql[0].id, null)
40-
40+
public_network_access_enabled = var.connectivity_method == "public" ? true : false
41+
4142
depends_on = [azurerm_private_dns_zone_virtual_network_link.flexpsql]
4243

4344
lifecycle {

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ variable "default_nodepool_vm_type" {
151151
variable "kubernetes_version" {
152152
description = "The AKS cluster K8s version"
153153
type = string
154-
default = "1.29"
154+
default = "1.30"
155155
}
156156

157157
variable "default_nodepool_max_nodes" {

0 commit comments

Comments
 (0)