Skip to content

Commit

Permalink
Remove WITH_TLDRAW2 conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
bischofmax committed Dec 10, 2024
1 parent 5a632a5 commit dbe57d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ansible/roles/tldraw-client-core/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-client-svc.yml.j2
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool or WITH_TLDRAW2 is defined and WITH_TLDRAW2|bool
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- service

Expand All @@ -13,7 +13,7 @@
namespace: "{{ NAMESPACE }}"
template: tldraw-client-configmap.yml.j2
apply: yes
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool or WITH_TLDRAW2 is defined and WITH_TLDRAW2|bool
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- configmap

Expand All @@ -22,7 +22,7 @@
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-client-deployment.yml.j2
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool or WITH_TLDRAW2 is defined and WITH_TLDRAW2|bool
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- deployment

Expand All @@ -32,6 +32,6 @@
namespace: "{{ NAMESPACE }}"
template: tldraw-client-ingress.yml.j2
apply: yes
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool or WITH_TLDRAW2 is defined and WITH_TLDRAW2|bool
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- ingress
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ data:
NODE_ENV: "production"
TZ: "Europe/Berlin"
PORT: "3046"
CONFIG_PATH: "{{ '/api/tldraw/config/public' if WITH_TLDRAW2 else '/api/v3/config/public' }}"
CONFIG_PATH: "/api/v3/config/public"

0 comments on commit dbe57d9

Please sign in to comment.