Skip to content

Commit 40e79f4

Browse files
committed
Remove config the use ALB/WAF
1 parent bd03f03 commit 40e79f4

File tree

4 files changed

+8
-82
lines changed

4 files changed

+8
-82
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ images/tiler-server/vtiles_languages.geojson
3131
hetzner/*/.envs.*.production
3232
.vscode
3333
hetzner/traefik/cloudflare-ips.txt
34-
hetzner/traefik/traefik.yml
34+
hetzner/traefik/traefik.yml
35+
.vscode/

ohm/requirements.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
dependencies:
22
- name: osm-seed
3-
version: '0.1.0-0.dev.git.984.he0afc57'
3+
version: '0.1.0-0.dev.git.984.h985db07'
44
repository: https://osm-seed.github.io/osm-seed-chart/

values.production.template.yaml

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -14,37 +14,9 @@ osm-seed:
1414
# ====================================================================================================
1515
AWS_S3_BUCKET: {{PRODUCTION_S3_BUCKET}}
1616

17-
# AWS SSL ARN
18-
AWS_SSL_ARN: {{PRODUCTION_AWS_SSL_ARN}}
19-
20-
# Specify serviceType.
21-
#
22-
# serviceType can be one of three values: 'NodePort', 'ClusterIP' or 'LoadBalancer'
23-
# Use `NodePort` for local testing on minikube.
24-
#
25-
# The recommended setting is `ClusterIP`, and then following the instructions to
26-
# point a DNS record to the cluster IP address. This will setup the ingress rules
27-
# for all services as subdomains and configure SSL using Lets Encrypt.
28-
#
29-
# If you specify `LoadBalancer` as the service type, if you also specify
30-
# an `AWS_SSL_ARN` that is a wildcart certificate, that will be configured
31-
# as the SSL certificate for your services. Else, you will need to configure
32-
# SSL separately.
17+
# Traffic is routed via Cloudflare Tunnel, which connects directly to ClusterIP Services.
18+
# No Ingress resources or load balancers (ALB/NLB) are needed.
3319
serviceType: ClusterIP
34-
ingressClassNameType: "alb" # ALB works with ACM
35-
ingressClassName: alb
36-
alb:
37-
certificateArn: {{PRODUCTION_AWS_SSL_ARN}}
38-
enableWaf:
39-
enabled: true
40-
wafAclArn: {{PRODUCTION_AWS_WAF_WEBACL_ARN}}
41-
# Domain that is pointed to the clusterIP
42-
# You will need to create an A record like *.osmseed.example.com pointed to the ClusterIP
43-
# Then, the cluster configuration will setup services at their respective subdomains:
44-
# - web.osmseed.example.com
45-
# - overpass.osmseed.example.com
46-
# - nominatim.osmseed.example.com
47-
# - etc.
4820
domain: openhistoricalmap.org
4921

5022
# ====================================================================================================

values.staging.template.yaml

Lines changed: 3 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ osm-seed:
66
# ====================================================================================================
77
# ====================================================================================================
88

9-
# The version of the image group in osm-seed, get it here: https://hub.docker.com/r/developmentseed/osmseed-web/tags/
9+
# The version of the image group in osm-seed, get it here: https://github.com/orgs/osm-seed/packages
1010
# osmSeedVersion: ohm-b8a0ed1
1111

1212
environment: staging
@@ -18,46 +18,11 @@ osm-seed:
1818
# ====================================================================================================
1919
AWS_S3_BUCKET: {{STAGING_S3_BUCKET}}
2020

21-
# ====================================================
22-
# AWS: Specify ARN for SSL certificate, currently assumes a single wildcard cert
23-
# ====================================================
24-
25-
AWS_SSL_ARN: {{STAGING_AWS_SSL_ARN}}
26-
27-
# Specify serviceType.
28-
#
29-
# serviceType can be one of three values: 'NodePort', 'ClusterIP' or 'LoadBalancer'
30-
# Use `NodePort` for local testing on minikube.
31-
#
32-
# The recommended setting is `ClusterIP`, and then following the instructions to
33-
# point a DNS record to the cluster IP address. This will setup the ingress rules
34-
# for all services as subdomains and configure SSL using Lets Encrypt.
35-
#
36-
# If you specify `LoadBalancer` as the service type, if you also specify
37-
# an `AWS_SSL_ARN` that is a wildcart certificate, that will be configured
38-
# as the SSL certificate for your services. Else, you will need to configure
39-
# SSL separately.
21+
# Traffic is routed via Cloudflare Tunnel, which connects directly to ClusterIP Services.
22+
# No Ingress resources or load balancers (ALB/NLB) are needed.
4023
serviceType: ClusterIP
41-
ingressClassNameType: "alb"
42-
ingressClassName: alb
43-
alb:
44-
certificateArn: {{STAGING_AWS_SSL_ARN}}
45-
enableWaf:
46-
enabled: true
47-
wafAclArn: {{STAGING_AWS_WAF_WEBACL_ARN}}
48-
# Domain that is pointed to the clusterIP
49-
# You will need to create an A record like *.osmseed.example.com pointed to the ClusterIP
50-
# Then, the cluster configuration will setup services at their respective subdomains:
51-
# - web.osmseed.example.com
52-
# - overpass.osmseed.example.com
53-
# - nominatim.osmseed.example.com
54-
# - etc.
5524
domain: ohmstaging.org
5625

57-
# ====================================================================================================
58-
# Configuration for Lets Encrypt setup
59-
# ====================================================================================================
60-
6126
# Admin Email address used when generating Lets Encrypt certificates.
6227
# You will be notified of expirations, etc. on this email address.
6328
adminEmail: [email protected]
@@ -155,8 +120,6 @@ osm-seed:
155120
enabled: true
156121
name: ohm-s3-bucket-access-staging
157122
replicaCount: 1
158-
serviceAnnotations:
159-
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "300"
160123
ingressDomain: www.ohmstaging.org
161124
env:
162125
MAILER_ADDRESS: {{MAILER_ADDRESS}}
@@ -610,8 +573,6 @@ osm-seed:
610573
ip: {{STAGING_TILER_SERVER_HOST}}
611574
port: 9091
612575
replicaCount: 1
613-
serviceAnnotations:
614-
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "300"
615576
ingressDomain: vtiles.ohmstaging.org
616577
env:
617578
TILER_SERVER_PORT: 9090
@@ -716,8 +677,6 @@ osm-seed:
716677
enabled: false
717678
priorityClass: medium-priority
718679
replicaCount: 1
719-
serviceAnnotations:
720-
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: '300'
721680
ingressDomain: tm-api.ohmstaging.org
722681
healthCheckPath: /health
723682
env:
@@ -790,8 +749,6 @@ osm-seed:
790749
ip: {{STAGING_NOMINATIM_HOST}}
791750
port: 8083
792751
priorityClass: medium-priority
793-
serviceAnnotations:
794-
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: '300'
795752
ingressDomain: nominatim.ohmstaging.org
796753
replicaCount: 1
797754
env:
@@ -840,8 +797,6 @@ osm-seed:
840797
ip: {{STAGING_OVERPASS_HOST}}
841798
port: 8086
842799
priorityClass: medium-priority
843-
serviceAnnotations:
844-
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "300"
845800
ingressDomain: overpass-api.ohmstaging.org
846801
env:
847802
OVERPASS_META: 'attic'
@@ -876,8 +831,6 @@ osm-seed:
876831
serviceAccount:
877832
enabled: true
878833
name: ohm-s3-bucket-access-staging
879-
serviceAnnotations:
880-
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "300"
881834
ingressDomain: taginfo.ohmstaging.org
882835
env:
883836
URL_PLANET_FILE_STATE: https://s3.amazonaws.com/planet.openhistoricalmap.org/planet/state.txt

0 commit comments

Comments
 (0)