Skip to content

Commit

Permalink
RAS-1140 Seft-ci-ingestion cloud function: xlsx upload and deleting s…
Browse files Browse the repository at this point in the history
…teps (#338)

* adding load balancer

* updating gunicorn

* auto patch increment

* fixing helm chart for load balancer

* auto patch increment

---------

Co-authored-by: ras-rm-pr-bot <rasrm.team@ons.gov.uk>
  • Loading branch information
arroyoAle and ras-rm-pr-bot authored Aug 20, 2024
1 parent 2e28424 commit c7435dc
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _infra/helm/collection-instrument/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 3.0.34
version: 3.0.35

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 3.0.34
appVersion: 3.0.35

20 changes: 20 additions & 0 deletions _infra/helm/collection-instrument/templates/loadbalancer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{ if .Values.loadBalancer.enabled }}
apiVersion: v1
kind: Service
metadata:
name: collection-instrument-lb
annotations:
networking.gke.io/load-balancer-type: "Internal"
networking.gke.io/load-balancer-ip-addresses: {{ .Values.loadBalancer.ipAddress }}
spec:
type: LoadBalancer
externalTrafficPolicy: Cluster
loadBalancerIP: {{ .Values.loadBalancer.ipAddress }}
selector:
app: collection-instrument
ports:
- name: tcp-port
protocol: TCP
port: 80
targetPort: 8080
{{ end }}
4 changes: 4 additions & 0 deletions _infra/helm/collection-instrument/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@ gcp:
bucket:
name: "ras-rm-seft-ci-dev"
prefix: ""

loadBalancer:
ipAddress: 10.110.128.13
enabled: true

0 comments on commit c7435dc

Please sign in to comment.