Skip to content

Commit

Permalink
EW-1060 merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
Fshmit committed Dec 13, 2024
2 parents 70ab327 + 6538be4 commit 6c07050
Show file tree
Hide file tree
Showing 142 changed files with 962 additions and 6,263 deletions.
69 changes: 0 additions & 69 deletions ansible/roles/schulcloud-server-core/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,6 @@
tags:
- cronjob

- name: Delete Tldraw Files CronJob
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-delete-files-cronjob.yml.j2
state: "{{ 'present' if WITH_TLDRAW else 'absent'}}"
tags:
- cronjob

- name: Data deletion trigger CronJob
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
Expand Down Expand Up @@ -349,66 +340,6 @@
tags:
- prometheus

- name: External Secret for TlDraw Server
kubernetes.core.k8s:
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 else 'absent'}}"
when:
- EXTERNAL_SECRETS_OPERATOR is defined and EXTERNAL_SECRETS_OPERATOR|bool
- WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- 1password

- name: TlDraw server Secret (from 1Password)
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-server-onepassword.yml.j2
when:
- ONEPASSWORD_OPERATOR is defined and ONEPASSWORD_OPERATOR|bool
- WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- 1password

- name: TlDraw server deployment
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-deployment.yml.j2
state: "{{ 'present' if WITH_TLDRAW else 'absent'}}"
tags:
- deployment

- name: TlDraw server service
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-server-svc.yml.j2
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- service

- name: Tldraw ingress
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-ingress.yml.j2
apply: yes
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- ingress

- name: TldrawServiceMonitor
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-svc-monitor.yml.j2
state: "{{ 'present' if WITH_TLDRAW else 'absent'}}"
tags:
- prometheus

- name: BoardCollaboration configmap
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ spec:
data:
DB_URL: "{{ '{{ .MONGO_MANAGEMENT_TEMPLATE_URL }}/' ~ MONGO_MANAGEMENT_PREFIX ~ 'scapp' ~ MONGO_MANAGEMENT_POSTFIX }}"
DATABASE__URL: "{{ '{{ .MONGO_MANAGEMENT_TEMPLATE_URL }}/' ~ MONGO_MANAGEMENT_PREFIX ~ 'scapp' ~ MONGO_MANAGEMENT_POSTFIX }}"
TLDRAW_DB_URL: "{{ '{{ .MONGO_MANAGEMENT_TEMPLATE_URL }}/' ~ MONGO_MANAGEMENT_PREFIX ~ 'tldraw' ~ MONGO_MANAGEMENT_POSTFIX }}"
dataFrom:
- extract:
key: api-secret{{ EXTERNAL_SECRETS_POSTFIX }}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 6c07050

Please sign in to comment.