Skip to content

Commit

Permalink
BC-8312 - fix state for External Secret for TLDraw server
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Oct 24, 2024
1 parent 4c657aa commit 37391e5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ansible/roles/tldraw-server/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-server-external-secret.yml.j2
state: "{{ 'present' if
WITH_BRANCH_MONGO_DB_MANAGEMENT is defined and WITH_BRANCH_MONGO_DB_MANAGEMENT|bool and
WITH_TLDRAW2 is defined and WITH_TLDRAW2|bool
else 'absent'}}"
state: "{{ 'present' if WITH_BRANCH_MONGO_DB_MANAGEMENT is defined and WITH_BRANCH_MONGO_DB_MANAGEMENT|bool else 'absent'}}"
when:
- EXTERNAL_SECRETS_OPERATOR is defined and EXTERNAL_SECRETS_OPERATOR|bool
- WITH_TLDRAW2 is defined and WITH_TLDRAW2|bool
tags:
- 1password

Expand Down

0 comments on commit 37391e5

Please sign in to comment.