From 726faa724804ee355f24e87daea367d098de9185 Mon Sep 17 00:00:00 2001 From: srinivasyanamadala Date: Mon, 10 Feb 2025 10:21:31 +0100 Subject: Updated csit tests for Decision parameter changes Issue-ID: POLICY-5261 Change-Id: Ib8f5b4295d05cdced4f7196d57595b0a3f448060 Signed-off-by: srinivasyanamadala --- helm/policy/components/policy-opa-pdp/Chart.yaml | 46 ++--- helm/policy/components/policy-opa-pdp/values.yaml | 234 +++++++++++----------- helm/policy/values.yaml | 2 +- 3 files changed, 141 insertions(+), 141 deletions(-) (limited to 'helm') diff --git a/helm/policy/components/policy-opa-pdp/Chart.yaml b/helm/policy/components/policy-opa-pdp/Chart.yaml index b3c34fc6..3235b018 100755 --- a/helm/policy/components/policy-opa-pdp/Chart.yaml +++ b/helm/policy/components/policy-opa-pdp/Chart.yaml @@ -1,23 +1,23 @@ -# ============LICENSE_START======================================================= -# Copyright (C) 2024 Deutsche Telekom Intellectual Property. 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. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# SPDX-License-Identifier: Apache-2.0 -# ============LICENSE_END========================================================= - -apiVersion: v2 -description: ONAP Policy OPA PDP -name: policy-opa-pdp -version: 11.0.0 - +# ============LICENSE_START======================================================= +# Copyright (C) 2024-2025 Deutsche Telekom Intellectual Property. 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. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= + +apiVersion: v2 +description: ONAP Policy OPA PDP +name: policy-opa-pdp +version: 11.0.1 + diff --git a/helm/policy/components/policy-opa-pdp/values.yaml b/helm/policy/components/policy-opa-pdp/values.yaml index 615b6523..a25f48a1 100755 --- a/helm/policy/components/policy-opa-pdp/values.yaml +++ b/helm/policy/components/policy-opa-pdp/values.yaml @@ -1,117 +1,117 @@ -# ============LICENSE_START======================================================= -# Copyright (C) 2024-2025 Deutsche Telekom Intellectual Property. 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. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# SPDX-License-Identifier: Apache-2.0 -# ============LICENSE_END========================================================= - -################################################################# -# Global configuration defaults. -################################################################# -global: - persistence: {} - image: - opapdp: nexus3.onap.org:10001/onap/policy-opa-pdp:1.0.0-SNAPSHOT -log: - loglevel: "debug" - -permissions: - uid: 100 - gid: 102 - -################################################################# -# Secrets metaconfig -################################################################# -secrets: - - uid: restserver-creds - type: basicAuth - externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}' - login: '{{ .Values.restServer.user }}' - password: '{{ .Values.restServer.password }}' -################################################################# -# Application configuration defaults. -################################################################# -# application image -pullPolicy: Always - -# flag to enable debugging - application support required -debugEnabled: false - -# application configuration - -restServer: - user: policyadmin - password: zb!XztG34 - -# default number of instances -replicaCount: 1 - -nodeSelector: {} - -affinity: {} - -# probe configuration parameters -liveness: - initialDelaySeconds: 20 - periodSeconds: 10 - # necessary to disable liveness probe when setting breakpoints - # in debugger so K8s doesn't restart unresponsive container - enabled: true - -readiness: - initialDelaySeconds: 10 - periodSeconds: 120 - api: /ready - successThreshold: 1 - failureThreshold: 3 - timeout: 60 - -service: - type: ClusterIP - name: policy-opa-pdp - portName: http - externalPort: 8282 - internalPort: 8282 - -ingress: - enabled: false - -flavor: small -resources: - small: - limits: - cpu: 1 - memory: 4Gi - requests: - cpu: 100m - memory: 1Gi - unlimited: {} - -dirSizes: - bundleDir: - sizeLimit: 1000Mi - -#Pods Service Account -serviceAccount: - nameOverride: policy-opa-pdp - roles: - - read -kafka: - groupid: "policy-opa-pdp" - topic: "policy-pdp-pap" - useSASL: "false" - username: "" - password: "" - brokers: "kafka.default.svc.cluster.local:9092" - +# ============LICENSE_START======================================================= +# Copyright (C) 2024-2025 Deutsche Telekom Intellectual Property. 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. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= + +################################################################# +# Global configuration defaults. +################################################################# +global: + persistence: {} + image: + opapdp: nexus3.onap.org:10001/onap/policy-opa-pdp:1.0.2-SNAPSHOT +log: + loglevel: "debug" + +permissions: + uid: 100 + gid: 102 + +################################################################# +# Secrets metaconfig +################################################################# +secrets: + - uid: restserver-creds + type: basicAuth + externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}' + login: '{{ .Values.restServer.user }}' + password: '{{ .Values.restServer.password }}' +################################################################# +# Application configuration defaults. +################################################################# +# application image +pullPolicy: Always + +# flag to enable debugging - application support required +debugEnabled: false + +# application configuration + +restServer: + user: policyadmin + password: zb!XztG34 + +# default number of instances +replicaCount: 1 + +nodeSelector: {} + +affinity: {} + +# probe configuration parameters +liveness: + initialDelaySeconds: 20 + periodSeconds: 10 + # necessary to disable liveness probe when setting breakpoints + # in debugger so K8s doesn't restart unresponsive container + enabled: true + +readiness: + initialDelaySeconds: 10 + periodSeconds: 120 + api: /ready + successThreshold: 1 + failureThreshold: 3 + timeout: 60 + +service: + type: ClusterIP + name: policy-opa-pdp + portName: http + externalPort: 8282 + internalPort: 8282 + +ingress: + enabled: false + +flavor: small +resources: + small: + limits: + cpu: 1 + memory: 4Gi + requests: + cpu: 100m + memory: 1Gi + unlimited: {} + +dirSizes: + bundleDir: + sizeLimit: 1000Mi + +#Pods Service Account +serviceAccount: + nameOverride: policy-opa-pdp + roles: + - read +kafka: + groupid: "policy-opa-pdp" + topic: "policy-pdp-pap" + useSASL: "false" + username: "" + password: "" + brokers: "kafka.default.svc.cluster.local:9092" + diff --git a/helm/policy/values.yaml b/helm/policy/values.yaml index ecb06e73..49c70394 100644 --- a/helm/policy/values.yaml +++ b/helm/policy/values.yaml @@ -34,7 +34,7 @@ global: simulator: onap/policy-models-simulator:$tag pdpdcl: onap/policy-pdpd-cl:$tag xacml: onap/policy-xacml-pdp:$tag - opa: onap/policy-opa-pdp:1.0.0-SNAPSHOT + opa: onap/policy-opa-pdp:1.0.2-SNAPSHOT distribution: onap/policy-distribution:$tag runtimeacm: onap/policy-clamp-runtime-acm:$tag kserveparticipant: onap/policy-clamp-ac-kserve-ppnt:$tag -- cgit