Skip to content

Commit eea7562

Browse files
Update eks/echo-server and eks/alb-controller-ingress-group components (cloudposse/terraform-aws-components#733)
Co-authored-by: cloudpossebot <[email protected]>
1 parent 89c429f commit eea7562

File tree

5 files changed

+19
-12
lines changed

5 files changed

+19
-12
lines changed

src/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ This is copied from [cloudposse/terraform-aws-components](https://github.com/clo
55
This component installs the [Ealenn/Echo-Server](https://github.com/Ealenn/Echo-Server) to EKS clusters.
66
The echo server is a server that sends it back to the client a JSON representation of all the data
77
the server received, which is a combination of information sent by the client and information sent
8-
by the web server infrastructure. For further details, please consult the [Echo-Server documentation](https://ealenn.github.io/Echo-Server/).
8+
by the web server infrastructure. For further details, please see [Echo-Server documentation](https://ealenn.github.io/Echo-Server/).
99

1010
## Prerequisites
1111

1212
Echo server is intended to provide end-to-end testing of everything needed to deploy an application or service with a public HTTPS endpoint.
1313
Therefore, it requires several other components.
14+
1415
At the moment, it supports 2 configurations:
1516

1617
1. ALB with ACM Certificate
@@ -45,7 +46,9 @@ Use this in the catalog or use these variables to overwrite the catalog values.
4546
```yaml
4647
components:
4748
terraform:
48-
echo-server:
49+
eks/echo-server:
50+
metadata:
51+
component: eks/echo-server
4952
settings:
5053
spacelift:
5154
workspace_enabled: true
@@ -85,9 +88,9 @@ components:
8588
8689
| Name | Source | Version |
8790
|------|--------|---------|
88-
| <a name="module_alb"></a> [alb](#module\_alb) | cloudposse/stack-config/yaml//modules/remote-state | 1.4.1 |
89-
| <a name="module_echo_server"></a> [echo\_server](#module\_echo\_server) | cloudposse/helm-release/aws | 0.7.0 |
90-
| <a name="module_eks"></a> [eks](#module\_eks) | cloudposse/stack-config/yaml//modules/remote-state | 1.4.1 |
91+
| <a name="module_alb"></a> [alb](#module\_alb) | cloudposse/stack-config/yaml//modules/remote-state | 1.4.3 |
92+
| <a name="module_echo_server"></a> [echo\_server](#module\_echo\_server) | cloudposse/helm-release/aws | 0.9.1 |
93+
| <a name="module_eks"></a> [eks](#module\_eks) | cloudposse/stack-config/yaml//modules/remote-state | 1.4.3 |
9194
| <a name="module_iam_roles"></a> [iam\_roles](#module\_iam\_roles) | ../../account-map/modules/iam-roles | n/a |
9295
| <a name="module_this"></a> [this](#module\_this) | cloudposse/label/null | 0.25.0 |
9396

src/charts/echo-server/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.2.0
18+
version: 0.3.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "0.2.0"
24+
appVersion: "0.3.0"

src/charts/echo-server/templates/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ metadata:
1919
alb.ingress.kubernetes.io/load-balancer-name: {{ index .Values.ingress.alb "load_balancer_name" | default "k8s-common" }}
2020
{{- end }}
2121
alb.ingress.kubernetes.io/group.name: {{ index .Values.ingress.alb "group_name" | default "common" }}
22-
alb.ingress.kubernetes.io/scheme: internet-facing
22+
alb.ingress.kubernetes.io/scheme: {{ index .Values.ingress.alb "scheme" | default "internet-facing" }}
2323
{{- if .Values.ingress.alb.access_logs.enabled }}
2424
alb.ingress.kubernetes.io/load-balancer-attributes: access_logs.s3.enabled=true,access_logs.s3.bucket={{.Values.ingress.alb.access_logs.s3_bucket_name}},access_logs.s3.prefix={{.Values.ingress.alb.access_logs.s3_bucket_prefix}}
2525
{{- end }}

src/main.tf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
locals {
2-
enabled = module.this.enabled
32
ingress_nginx_enabled = var.ingress_type == "nginx" ? true : false
43
ingress_alb_enabled = var.ingress_type == "alb" ? true : false
54
}
65

76
module "echo_server" {
87
source = "cloudposse/helm-release/aws"
9-
version = "0.7.0"
8+
version = "0.9.1"
109

1110
name = module.this.name
1211
chart = "${path.module}/charts/echo-server"
@@ -48,6 +47,11 @@ module "echo_server" {
4847
value = local.ingress_alb_enabled
4948
type = "auto"
5049
},
50+
{
51+
name = "ingress.alb.scheme"
52+
value = module.alb.outputs.load_balancer_scheme
53+
type = "auto"
54+
},
5155
]
5256

5357
values = compact([

src/remote-state.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module "eks" {
22
source = "cloudposse/stack-config/yaml//modules/remote-state"
3-
version = "1.4.1"
3+
version = "1.4.3"
44

55
component = var.eks_component_name
66

@@ -9,7 +9,7 @@ module "eks" {
99

1010
module "alb" {
1111
source = "cloudposse/stack-config/yaml//modules/remote-state"
12-
version = "1.4.1"
12+
version = "1.4.3"
1313

1414
component = var.alb_controller_ingress_group_component_name
1515

0 commit comments

Comments
 (0)