Skip to content

Commit d3dcc78

Browse files
Brutus5000Sheikah45
authored andcommitted
Split tag for faf-icebreaker and use main tag on test
add values-prod.yaml to icebreaker helm for tilt and Altcha hmac key (#309) * add values-prod.yaml to icebreaker helm for tilt * Update Tiltfile * Add Altcha hmac key to local secret * Update local-secret.yaml
1 parent 4ee72e9 commit d3dcc78

5 files changed

Lines changed: 7 additions & 2 deletions

File tree

Tiltfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,4 +409,4 @@ proxy_local_service_if_set(service_name="faf-ws-bridge", service_chart="apps/faf
409409
icebreaker_deps = ["faf-db-migrations", "ory-hydra"] + rabbitmq_setup_resources
410410
icebreaker_labels = ["api"]
411411
icebreaker_patch = {"HYDRA_URL": "http://ory-hydra:4444", "XIRSYS_ENABLED": "false", "XIRSYS_TURN_ENABLED": "false", "CLOUDFLARE_ENABLED": "false"}
412-
proxy_local_service_if_set(service_name="faf-icebreaker", service_chart="apps/faf-icebreaker", service_namespace="faf-apps", service_deps=icebreaker_deps, service_labels=icebreaker_labels, config_patch=icebreaker_patch)
412+
proxy_local_service_if_set(service_name="faf-icebreaker", service_chart="apps/faf-icebreaker", service_namespace="faf-apps", service_deps=icebreaker_deps, service_labels=icebreaker_labels, additional_values=["apps/faf-icebreaker/values-prod.yaml"], config_patch=icebreaker_patch)

apps/faf-icebreaker/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
- name: geolite-db
3333
mountPath: /usr/share/GeoIP
3434
containers:
35-
- image: faforever/faf-icebreaker:1.1.9
35+
- image: "faforever/faf-icebreaker:{{ .Values.image.tag }}"
3636
imagePullPolicy: Always
3737
name: faf-icebreaker
3838
envFrom:
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
image:
2+
tag: 1.1.9
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
image:
2+
tag: main

apps/faf-user-service/templates/local-secret.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ stringData:
1111
JWT_HMAC_SECRET: "banana"
1212
LOBBY_SECRET: "banana"
1313
REPLAY_SECRET: "banana"
14+
ALTCHA_HMAC_KEY: "bananabananabananabanana"
1415
{{- end}}

0 commit comments

Comments
 (0)