Skip to content

Commit

Permalink
BC-8312 - fix state for External Secret for TLDraw server (#5312)
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored and hoeppner-dataport committed Oct 25, 2024
1 parent 95257e7 commit eb90633
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ansible/roles/schulcloud-server-core/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -376,12 +376,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_TLDRAW is defined and WITH_TLDRAW|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
- EXTERNAL_SECRETS_OPERATOR is defined and EXTERNAL_SECRETS_OPERATOR|bool
- WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- 1password

Expand Down

0 comments on commit eb90633

Please sign in to comment.