Skip to content

Commit

Permalink
Merge pull request #55 from unity-sds/develop
Browse files Browse the repository at this point in the history
Release v2.0.0
  • Loading branch information
drewm-jpl authored Apr 9, 2024
2 parents 2366855 + 1a11c7a commit 768fd0e
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 20 deletions.
2 changes: 1 addition & 1 deletion airflow/helm/values.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ extraEnv: |
- name: AIRFLOW__WEBSERVER__NAVBAR_COLOR
value: "${webserver_navbar_color}"
- name: AIRFLOW__WEBSERVER__INSTANCE_NAME
value: "${webserver_instance_name}"
value: "Deployment: ${webserver_instance_name}, ${service_area} Version: ${service_area_version}"
4 changes: 2 additions & 2 deletions terraform-unity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,11 @@ No resources.
| <a name="input_airflow_webserver_password"></a> [airflow\_webserver\_password](#input\_airflow\_webserver\_password) | The password for the Airflow webserver and UI. | `string` | n/a | yes |
| <a name="input_counter"></a> [counter](#input\_counter) | Identifier used to uniquely distinguish resources. This is used in the naming convention of the resource. If left empty, a random hexadecimal value will be generated and used instead. | `string` | `""` | no |
| <a name="input_deployment_name"></a> [deployment\_name](#input\_deployment\_name) | The name of the deployment. | `string` | n/a | yes |
| <a name="input_docker_images"></a> [docker\_images](#input\_docker\_images) | Docker images for the associated services. | <pre>object({<br> airflow = object({<br> name = string<br> tag = string<br> }),<br> ogc_processes_api = object({<br> name = string<br> tag = string<br> })<br> })</pre> | <pre>{<br> "airflow": {<br> "name": "ghcr.io/unity-sds/unity-sps/sps-airflow",<br> "tag": "develop"<br> },<br> "ogc_processes_api": {<br> "name": "ghcr.io/unity-sds/unity-sps-ogc-processes-api/unity-sps-ogc-processes-api",<br> "tag": "develop"<br> }<br>}</pre> | no |
| <a name="input_docker_images"></a> [docker\_images](#input\_docker\_images) | Docker images for the associated services. | <pre>object({<br> airflow = object({<br> name = string<br> tag = string<br> }),<br> ogc_processes_api = object({<br> name = string<br> tag = string<br> })<br> })</pre> | <pre>{<br> "airflow": {<br> "name": "ghcr.io/unity-sds/unity-sps/sps-airflow",<br> "tag": "2.0.0"<br> },<br> "ogc_processes_api": {<br> "name": "ghcr.io/unity-sds/unity-sps-ogc-processes-api/unity-sps-ogc-processes-api",<br> "tag": "2.0.0"<br> }<br>}</pre> | no |
| <a name="input_helm_charts"></a> [helm\_charts](#input\_helm\_charts) | Helm charts for the associated services. | <pre>map(object({<br> repository = string<br> chart = string<br> version = string<br> }))</pre> | <pre>{<br> "airflow": {<br> "chart": "airflow",<br> "repository": "https://airflow.apache.org",<br> "version": "1.11.0"<br> },<br> "keda": {<br> "chart": "keda",<br> "repository": "https://kedacore.github.io/charts",<br> "version": "v2.13.1"<br> }<br>}</pre> | no |
| <a name="input_kubeconfig_filepath"></a> [kubeconfig\_filepath](#input\_kubeconfig\_filepath) | The path to the kubeconfig file for the Kubernetes cluster. | `string` | n/a | yes |
| <a name="input_project"></a> [project](#input\_project) | The project or mission deploying Unity SPS. | `string` | `"unity"` | no |
| <a name="input_release"></a> [release](#input\_release) | The software release version. | `string` | n/a | yes |
| <a name="input_release"></a> [release](#input\_release) | The software release version. | `string` | `"2.0.0"` | no |
| <a name="input_service_area"></a> [service\_area](#input\_service\_area) | The service area owner of the resources being deployed. | `string` | `"sps"` | no |
| <a name="input_venue"></a> [venue](#input\_venue) | The MCP venue in which the resources will be deployed. | `string` | n/a | yes |

Expand Down
26 changes: 13 additions & 13 deletions terraform-unity/modules/terraform-eks-cluster/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion terraform-unity/modules/terraform-eks-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

| Name | Source | Version |
|------|--------|---------|
| <a name="module_unity-eks"></a> [unity-eks](#module\_unity-eks) | git@github.com:unity-sds/unity-cs-infra.git//terraform-unity-eks_module | u-sps-24.1-beta.01 |
| <a name="module_unity-eks"></a> [unity-eks](#module\_unity-eks) | git@github.com:unity-sds/unity-cs-infra.git//terraform-unity-eks_module | unity-sps-2.0.0 |

## Resources

Expand Down
2 changes: 1 addition & 1 deletion terraform-unity/modules/terraform-eks-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resource "random_id" "counter" {
}

module "unity-eks" {
source = "git@github.com:unity-sds/unity-cs-infra.git//terraform-unity-eks_module?ref=u-sps-24.1-beta.01"
source = "git@github.com:unity-sds/unity-cs-infra.git//terraform-unity-eks_module?ref=unity-sps-2.0.0"
deployment_name = local.cluster_name

nodegroups = var.nodegroups
Expand Down
2 changes: 2 additions & 0 deletions terraform-unity/modules/terraform-unity-sps-airflow/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,8 @@ resource "helm_release" "airflow" {
workers_pvc_name = kubernetes_persistent_volume_claim.efs_pvc.metadata[0].name
webserver_instance_name = format(local.resource_name_prefix, "airflow")
webserver_navbar_color = local.airflow_webserver_navbar_color
service_area = upper(var.service_area)
service_area_version = var.release
})
]
set_sensitive {
Expand Down
5 changes: 3 additions & 2 deletions terraform-unity/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ variable "counter" {
variable "release" {
description = "The software release version."
type = string
default = "2.0.0"
}

variable "kubeconfig_filepath" {
Expand Down Expand Up @@ -81,11 +82,11 @@ variable "docker_images" {
default = {
airflow = {
name = "ghcr.io/unity-sds/unity-sps/sps-airflow"
tag = "develop"
tag = "2.0.0"
},
ogc_processes_api = {
name = "ghcr.io/unity-sds/unity-sps-ogc-processes-api/unity-sps-ogc-processes-api"
tag = "develop"
tag = "2.0.0"
}
}
}

0 comments on commit 768fd0e

Please sign in to comment.