From 7741200de84bdde2ac981d06ca1c67392260c109 Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Thu, 21 Sep 2023 16:13:10 +0200 Subject: [PATCH] BC-5197 - change ingress rule pathType to prefix for all (#647) --- .../roles/erwin-idm/templates/ingress.yml.j2 | 8 +- ansible/roles/hydra/templates/ingress.yml.j2 | 2 +- .../libreoffice/templates/ingress.yml.j2 | 10 +- .../roles/oidcmock/templates/ingress.yml.j2 | 10 +- .../roles/rocketchat/templates/ingress.yml.j2 | 108 +++++++++--------- .../roles/storage/templates/ingress.yml.j2 | 2 +- 6 files changed, 70 insertions(+), 70 deletions(-) diff --git a/ansible/roles/erwin-idm/templates/ingress.yml.j2 b/ansible/roles/erwin-idm/templates/ingress.yml.j2 index 706010868..66b23acae 100644 --- a/ansible/roles/erwin-idm/templates/ingress.yml.j2 +++ b/ansible/roles/erwin-idm/templates/ingress.yml.j2 @@ -34,28 +34,28 @@ spec: http: paths: - path: /realms/ - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: erwinidm-svc port: number: {{ ERWINIDM_PORT }} - path: /resources/ - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: erwinidm-svc port: number: {{ ERWINIDM_PORT }} - path: /js/ - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: erwinidm-svc port: number: {{ ERWINIDM_PORT }} - path: /robots.txt - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: erwinidm-svc diff --git a/ansible/roles/hydra/templates/ingress.yml.j2 b/ansible/roles/hydra/templates/ingress.yml.j2 index 24173ea11..8fa63e8f9 100644 --- a/ansible/roles/hydra/templates/ingress.yml.j2 +++ b/ansible/roles/hydra/templates/ingress.yml.j2 @@ -25,7 +25,7 @@ spec: http: paths: - path: / - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: hydra-svc diff --git a/ansible/roles/libreoffice/templates/ingress.yml.j2 b/ansible/roles/libreoffice/templates/ingress.yml.j2 index 60fcba858..46ba234f3 100644 --- a/ansible/roles/libreoffice/templates/ingress.yml.j2 +++ b/ansible/roles/libreoffice/templates/ingress.yml.j2 @@ -25,35 +25,35 @@ spec: http: paths: - path: /loleaflet - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: libreoffice-svc port: number: 9980 - path: /hosting/discovery - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: libreoffice-svc port: number: 9980 - path: /lool/(.*)/ws - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: libreoffice-svc port: number: 9980 - path: /lool - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: libreoffice-svc port: number: 9980 - path: /lool/adminws - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: libreoffice-svc diff --git a/ansible/roles/oidcmock/templates/ingress.yml.j2 b/ansible/roles/oidcmock/templates/ingress.yml.j2 index 277c6602e..cf74fc8c8 100644 --- a/ansible/roles/oidcmock/templates/ingress.yml.j2 +++ b/ansible/roles/oidcmock/templates/ingress.yml.j2 @@ -25,35 +25,35 @@ spec: http: paths: - path: /home/ - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: oidcmock-svc port: number: {{ OIDCMOCK_PORT }} - path: /Account/ - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: oidcmock-svc port: number: {{ OIDCMOCK_PORT }} - path: /connect/ - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: oidcmock-svc port: number: {{ OIDCMOCK_PORT }} - path: /lib/ - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: oidcmock-svc port: number: {{ OIDCMOCK_PORT }} - path: /css/ - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: oidcmock-svc diff --git a/ansible/roles/rocketchat/templates/ingress.yml.j2 b/ansible/roles/rocketchat/templates/ingress.yml.j2 index 4ac8f7838..a38380409 100644 --- a/ansible/roles/rocketchat/templates/ingress.yml.j2 +++ b/ansible/roles/rocketchat/templates/ingress.yml.j2 @@ -26,378 +26,378 @@ spec: http: paths: - path: / - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1 - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: default-backend-404-svc port: number: 8080 - path: /api/v1/method.call/rooms - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/subscriptions - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/permissions - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/public-settings - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/commands.list - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/emoji-custom.list - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/me - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/roles.list - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/listCustomSounds - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/getUserRoles - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/apps - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/loadHistory - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/listCustomUserStatus - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/licenseModules - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/license - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/banners.getNew - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/loadMissedMessages - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/readMessages - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/sendMessage - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/setReaction - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/users.info - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/users.presence - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/deleteMessage - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/getRoomByTypeAndName - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/createDirectMessage - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/getRoomRoles - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/starMessage - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/updateMessage - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/reportMessage - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.callAnon/license:isEnterprise - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/license:isEnterprise - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.callAnon/license:getModules - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/license:getModules - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.callAnon/public-settings:get - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/public-settings:get - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/apps:is-enabled - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/rooms:get - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/subscriptions:get - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/permissions:get - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.callAnon/getRoomByTypeAndName - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.callAnon/loadLocale - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/banners - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.callAnon/listCustomSounds - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.callAnon/apps:is-enabled - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.callAnon/listCustomUserStatus - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.callAnon/getUserRoles - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.callAnon/loadHistory - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.callAnon/rooms:get - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/userSetUtcOffset - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.callAnon/permissions:get - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.call/loadLocale - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc port: number: 5000 - path: /api/v1/method.callAnon/subscriptions:get - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: rocketchat-svc diff --git a/ansible/roles/storage/templates/ingress.yml.j2 b/ansible/roles/storage/templates/ingress.yml.j2 index f2f59e8fb..7c77e377e 100644 --- a/ansible/roles/storage/templates/ingress.yml.j2 +++ b/ansible/roles/storage/templates/ingress.yml.j2 @@ -27,7 +27,7 @@ spec: http: paths: - path: / - pathType: ImplementationSpecific + pathType: Prefix backend: service: name: storage-svc