From: aravind.est Date: Thu, 6 Mar 2025 11:33:01 +0000 (+0000) Subject: Use specific opa image version X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=a2dba8721a1389b9df629059a3d29b60799d2fbc;p=nonrtric%2Fplt%2Franpm.git Use specific opa image version Specific opa docker image version used instead of latest tag Issue-ID: NONRTRIC-1049 Change-Id: Ida3007824395020a7cc448c7557f5aea919d02a7 Signed-off-by: aravind.est --- diff --git a/docker-proj/docker-setup.sh b/docker-proj/docker-setup.sh index 50cdf89..7284486 100755 --- a/docker-proj/docker-setup.sh +++ b/docker-proj/docker-setup.sh @@ -2,6 +2,7 @@ # ============LICENSE_START=============================================== # Copyright (C) 2023 Nordix Foundation. All rights reserved. +# Copyright (C) 2023-2025 OpenInfra Foundation Europe. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -67,7 +68,7 @@ check_images(){ export KEYCLOAK_IMAGE=quay.io/keycloak/keycloak:20.0.1 pull_image $KEYCLOAK_IMAGE -export OPA_IMAGE=openpolicyagent/opa:latest-envoy +export OPA_IMAGE=openpolicyagent/opa:0.70.0-envoy-17 pull_image $OPA_IMAGE export BUNDLE_IMAGE=nginx:1.21 diff --git a/install/helm/nrt-base-1/charts/minio/templates/opa-deployment.yaml b/install/helm/nrt-base-1/charts/minio/templates/opa-deployment.yaml index 92f0f82..11ee21a 100644 --- a/install/helm/nrt-base-1/charts/minio/templates/opa-deployment.yaml +++ b/install/helm/nrt-base-1/charts/minio/templates/opa-deployment.yaml @@ -1,5 +1,6 @@ # ============LICENSE_START=============================================== # Copyright (C) 2023 Nordix Foundation. All rights reserved. +# Copyright (C) 2023-2025 OpenInfra Foundation Europe. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -33,7 +34,7 @@ spec: spec: containers: - name: opa-minio - image: openpolicyagent/opa:latest-envoy + image: openpolicyagent/opa:0.70.0-envoy-17 imagePullPolicy: Always ports: - name: http diff --git a/install/helm/nrt-base-1/charts/strimzi-kafka/templates/opa-deployment.yaml b/install/helm/nrt-base-1/charts/strimzi-kafka/templates/opa-deployment.yaml index 8571c2e..11b5a15 100644 --- a/install/helm/nrt-base-1/charts/strimzi-kafka/templates/opa-deployment.yaml +++ b/install/helm/nrt-base-1/charts/strimzi-kafka/templates/opa-deployment.yaml @@ -1,5 +1,6 @@ # ============LICENSE_START=============================================== # Copyright (C) 2023 Nordix Foundation. All rights reserved. +# Copyright (C) 2023-2025 OpenInfra Foundation Europe. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -33,7 +34,7 @@ spec: spec: containers: - name: opa-kafka - image: openpolicyagent/opa:latest-envoy + image: openpolicyagent/opa:0.70.0-envoy-17 imagePullPolicy: Always ports: - name: http @@ -44,4 +45,4 @@ spec: - "--set=decision_logs.console=true" - "--set=services.authz.url=http://bundle-server.nonrtric" - "--set=bundles.authz.service=authz" - - "--set=bundles.authz.resource=bundle.tar.gz" \ No newline at end of file + - "--set=bundles.authz.resource=bundle.tar.gz" diff --git a/install/helm/nrt-pm/charts/ics/templates/opa-deployment.yaml b/install/helm/nrt-pm/charts/ics/templates/opa-deployment.yaml index fb01ca2..1a1a93d 100644 --- a/install/helm/nrt-pm/charts/ics/templates/opa-deployment.yaml +++ b/install/helm/nrt-pm/charts/ics/templates/opa-deployment.yaml @@ -1,5 +1,6 @@ # ============LICENSE_START=============================================== # Copyright (C) 2023 Nordix Foundation. All rights reserved. +# Copyright (C) 2023-2025 OpenInfra Foundation Europe. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -33,7 +34,7 @@ spec: spec: containers: - name: opa-ics - image: openpolicyagent/opa:latest-envoy + image: openpolicyagent/opa:0.70.0-envoy-17 imagePullPolicy: Always ports: - name: http