diff --git a/ansible/roles/schulcloud-server-core/tasks/main.yml b/ansible/roles/schulcloud-server-core/tasks/main.yml index 8c377d3794b..ceb8268f502 100644 --- a/ansible/roles/schulcloud-server-core/tasks/main.yml +++ b/ansible/roles/schulcloud-server-core/tasks/main.yml @@ -153,7 +153,7 @@ kubernetes.core.k8s: kubeconfig: ~/.kube/config namespace: "{{ NAMESPACE }}" - template: tldraw-svc.yml.j2 + template: tldraw-server-svc.yml.j2 - name: Tldraw Ingress kubernetes.core.k8s: diff --git a/ansible/roles/schulcloud-server-core/templates/tldraw-ingress.yml.j2 b/ansible/roles/schulcloud-server-core/templates/tldraw-ingress.yml.j2 index 0bf457f1bd9..112b3a8efc3 100644 --- a/ansible/roles/schulcloud-server-core/templates/tldraw-ingress.yml.j2 +++ b/ansible/roles/schulcloud-server-core/templates/tldraw-ingress.yml.j2 @@ -35,14 +35,14 @@ spec: - path: /tldraw-server backend: service: - name: tldraw-svc + name: tldraw-server-svc port: number: {{ PORT_TLDRAW }} pathType: Prefix - path: /tldraw-management backend: service: - name: tldraw-svc + name: tldraw-server-svc port: number: {{ PORT_TLDRAW_MANAGEMENT }} pathType: Prefix diff --git a/ansible/roles/schulcloud-server-core/templates/tldraw-svc.yml.j2 b/ansible/roles/schulcloud-server-core/templates/tldraw-server-svc.yml.j2 similarity index 85% rename from ansible/roles/schulcloud-server-core/templates/tldraw-svc.yml.j2 rename to ansible/roles/schulcloud-server-core/templates/tldraw-server-svc.yml.j2 index 61361ffb37d..c2b84f789b7 100644 --- a/ansible/roles/schulcloud-server-core/templates/tldraw-svc.yml.j2 +++ b/ansible/roles/schulcloud-server-core/templates/tldraw-server-svc.yml.j2 @@ -1,7 +1,7 @@ apiVersion: v1 kind: Service metadata: - name: tldraw-svc + name: tldraw-server-svc namespace: {{ NAMESPACE }} labels: app: tldraw @@ -11,7 +11,7 @@ spec: - port: 3345 targetPort: 3345 protocol: TCP - name: tldraw + name: tldraw-server - port: 3349 targetPort: 3349 protocol: TCP