X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=service-exposure%2Ftemplates%2FAuthorizationPolicy-template.txt;fp=service-exposure%2Ftemplates%2FAuthorizationPolicy-template.txt;h=79c90e0d10c74165ea2c7d344490fa2babe47080;hb=df61b02070956cac9ec7429281dc78ba853b46ed;hp=0899475ce81f4a493f8cd47705a0c0ac8c6a2626;hpb=ff3afde70cdc9519d527fa096c31df1151d84765;p=nonrtric.git diff --git a/service-exposure/templates/AuthorizationPolicy-template.txt b/service-exposure/templates/AuthorizationPolicy-template.txt index 0899475c..79c90e0d 100644 --- a/service-exposure/templates/AuthorizationPolicy-template.txt +++ b/service-exposure/templates/AuthorizationPolicy-template.txt @@ -1,6 +1,6 @@ # # ============LICENSE_START======================================================= -# Copyright (C) 2022 Nordix Foundation. +# Copyright (C) 2022-2023 Nordix Foundation. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -30,7 +30,7 @@ spec: rules: - from: - source: - requestPrincipals: ["http://istio-ingressgateway.istio-system:80/auth/realms/{{.Realm}}/"] + requestPrincipals: ["http://istio-ingressgateway.istio-system:80/auth/realms/{{.Realm}}/", "https://keycloak:8443/realms/{{.Realm}}"] - to: - operation: methods: ["{{.Method}}"]