Skip to content

Commit e8de51f

Browse files
authored
Merge pull request #318 from sassoftware/staging
8.7.0 - January 17, 2025
2 parents 0400a7b + d3fe580 commit e8de51f

18 files changed

+193
-201
lines changed

.github/workflows/linter-analysis.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,16 @@ jobs:
5858
# with the plugin, not needed for regular project use.
5959
- name: Initializing modules
6060
run: |
61+
terraform init
6162
terraform -chdir=modules/aws_autoscaling init
63+
terraform -chdir=modules/aws_fsx_ontap init
6264
terraform -chdir=modules/aws_ebs_csi init
65+
terraform -chdir=modules/aws_vm init
66+
terraform -chdir=modules/aws_vpc init
67+
terraform -chdir=modules/kubeconfig init
6368
6469
- name: Initializing TFLint
65-
run: TFLINT_LOG=info tflint --init -c "$(pwd)/linting-configs/.tflint.hcl"
70+
run: TFLINT_LOG=info tflint --recursive --init -c "$(pwd)/linting-configs/.tflint.hcl"
6671

6772
- name: Run TFLint Action
6873
run: TFLINT_LOG=info tflint -c "$(pwd)/linting-configs/.tflint.hcl" --recursive

Dockerfile

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,31 @@ ARG TERRAFORM_VERSION=1.9.6
22
ARG AWS_CLI_VERSION=2.17.58
33
FROM hashicorp/terraform:$TERRAFORM_VERSION AS terraform
44

5+
FROM almalinux:minimal AS amin
6+
WORKDIR /app
7+
USER root
8+
ARG KUBECTL_VERSION=1.30.6
9+
ARG KUBECTL_CHECKSUM=7a3adf80ca74b1b2afdfc7f4570f0005ca03c2812367ffb6ee2f731d66e45e61
10+
RUN /usr/bin/bash -eux \
11+
&& curl -fSLO https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl \
12+
&& chmod 755 ./kubectl \
13+
&& sha256sum --check --strict <(echo ${KUBECTL_CHECKSUM} kubectl)
14+
515
FROM amazon/aws-cli:$AWS_CLI_VERSION
6-
ARG KUBECTL_VERSION=1.29.8
716

817
WORKDIR /viya4-iac-aws
918

19+
COPY --from=amin /app/kubectl /usr/local/bin/kubectl
1020
COPY --from=terraform /bin/terraform /bin/terraform
1121
COPY . .
1222

1323
RUN yum -y install git openssh jq which \
1424
&& yum -y update openssl-libs glib2 vim-minimal vim-data curl \
1525
&& yum clean all && rm -rf /var/cache/yum \
16-
&& curl -sLO https://storage.googleapis.com/kubernetes-release/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl \
17-
&& chmod 755 ./kubectl /viya4-iac-aws/docker-entrypoint.sh \
18-
&& mv ./kubectl /usr/local/bin/kubectl \
19-
&& chmod g=u -R /etc/passwd /etc/group /viya4-iac-aws \
26+
&& chmod 755 /viya4-iac-aws/docker-entrypoint.sh \
2027
&& git config --system --add safe.directory /viya4-iac-aws \
21-
&& terraform init
28+
&& terraform init \
29+
&& chmod g=u -R /etc/passwd /etc/group /viya4-iac-aws
2230

2331
ENV TF_VAR_iac_tooling=docker
2432
ENTRYPOINT ["/viya4-iac-aws/docker-entrypoint.sh"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The following are also required:
4848
#### Terraform Requirements:
4949

5050
- [Terraform](https://www.terraform.io/downloads.html) v1.9.6
51-
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) - v1.29.8
51+
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) - v1.30.6
5252
- [jq](https://stedolan.github.io/jq/) v1.6
5353
- [AWS CLI](https://aws.amazon.com/cli) (optional; useful as an alternative to the AWS Web Console) v2.17.58
5454

docs/CONFIG-VARS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ Custom policy:
257257
| <div style="width:50px">Name</div> | <div style="width:150px">Description</div> | <div style="width:50px">Type</div> | <div style="width:75px">Default</div> | <div style="width:150px">Notes</div> |
258258
| :--- | :--- | :--- | :--- | :--- |
259259
| create_static_kubeconfig | Allows the user to create a provider- or service account-based kubeconfig file | bool | true | A value of `false` defaults to using the cloud provider's mechanism for generating the kubeconfig file. A value of `true` creates a static kubeconfig that uses a service account and cluster role binding to provide credentials. |
260-
| kubernetes_version | The EKS cluster Kubernetes version | string | "1.29" | |
260+
| kubernetes_version | The EKS cluster Kubernetes version | string | "1.30" | |
261261
| create_jump_vm | Create bastion host (jump VM) | bool | true| |
262262
| create_jump_public_ip | Add public IP address to jump VM | bool | true | |
263263
| jump_vm_admin | OS admin user for the jump VM | string | "jumpuser" | |

examples/sample-input-byo.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ postgres_servers = {
3737
}
3838

3939
## Cluster config
40-
kubernetes_version = "1.29"
40+
kubernetes_version = "1.30"
4141
default_nodepool_node_count = 2
4242
default_nodepool_vm_type = "m5.2xlarge"
4343
default_nodepool_custom_data = ""

examples/sample-input-connect.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ postgres_servers = {
2727
}
2828

2929
## Cluster config
30-
kubernetes_version = "1.29"
30+
kubernetes_version = "1.30"
3131
default_nodepool_node_count = 2
3232
default_nodepool_vm_type = "m5.2xlarge"
3333
default_nodepool_custom_data = ""

examples/sample-input-custom-data.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ postgres_servers = {
2727
}
2828

2929
## Cluster config
30-
kubernetes_version = "1.29"
30+
kubernetes_version = "1.30"
3131
default_nodepool_node_count = 2
3232
default_nodepool_vm_type = "m5.2xlarge"
3333
default_nodepool_custom_data = ""

examples/sample-input-gpu.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ postgres_servers = {
2727
}
2828

2929
## Cluster config
30-
kubernetes_version = "1.29"
30+
kubernetes_version = "1.30"
3131
default_nodepool_node_count = 2
3232
default_nodepool_vm_type = "m5.2xlarge"
3333
default_nodepool_custom_data = ""

examples/sample-input-ha.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ postgres_servers = {
2727
}
2828

2929
## Cluster config
30-
kubernetes_version = "1.29"
30+
kubernetes_version = "1.30"
3131
default_nodepool_node_count = 2
3232
default_nodepool_vm_type = "m5.2xlarge"
3333
default_nodepool_custom_data = ""

examples/sample-input-minimal.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ tags = {} # e.g., { "key1" = "value1", "key2" = "value2" }
2727
# }
2828

2929
## Cluster config
30-
kubernetes_version = "1.29"
30+
kubernetes_version = "1.30"
3131
default_nodepool_node_count = 1
3232
default_nodepool_vm_type = "m5.large"
3333
default_nodepool_custom_data = ""

0 commit comments

Comments
 (0)