aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-opa-pdp/values.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/policy/components/policy-opa-pdp/values.yaml')
-rw-r--r--kubernetes/policy/components/policy-opa-pdp/values.yaml31
1 files changed, 12 insertions, 19 deletions
diff --git a/kubernetes/policy/components/policy-opa-pdp/values.yaml b/kubernetes/policy/components/policy-opa-pdp/values.yaml
index 20c7e513bc..0971dc8d7f 100644
--- a/kubernetes/policy/components/policy-opa-pdp/values.yaml
+++ b/kubernetes/policy/components/policy-opa-pdp/values.yaml
@@ -43,7 +43,8 @@ secrets:
# Application configuration defaults.
#################################################################
# application image
-image: onap/policy-opa-pdp:1.0.0
+image: onap/policy-opa-pdp:1.0.4
+
pullPolicy: Always
componentName: &componentName policy-opa-pdp
@@ -79,20 +80,8 @@ config:
policyPdpPapTopic: policy-pdp-pap
securityContext:
- user_id: 0
- group_id : 0
- runAsNonRoot: false
-
-
-containerSecurityContext:
- enabled: true
- privileged: false
- allowPrivilegeEscalation: true
- readOnlyRootFilesystem: false
- runAsNonRoot: false
- runAsUser: 0
- runAsGroup: 0
-
+ user_id: 1000
+ group_id : 1000
kafka:
groupid: "policy-opa-pdp"
@@ -112,8 +101,6 @@ persistence:
parameters: {}
storageclassProvisioner: cinder-os
-
-
# default number of instances
replicaCount: 1
@@ -133,6 +120,11 @@ readiness:
initialDelaySeconds: 20
periodSeconds: 10
+readinessCheck:
+ wait_for:
+ services:
+ - 'policy-pap'
+
service:
type: ClusterIP
name: *componentName
@@ -187,7 +179,6 @@ resources:
memory: "2Gi"
unlimited: {}
-
dirSizes:
emptyDir:
sizeLimit: 1Gi
@@ -198,6 +189,7 @@ dirSizes:
bundleDir:
sizeLimit: 5Gi
+groupIdPrefix: opa-pdp
#Pods Service Account
serviceAccount:
@@ -244,8 +236,9 @@ config:
kafkaUser:
authenticationType: scram-sha-512
acls:
- - name: policy-opa-pdp
+ - name: opa-pdp
type: group
+ patternType: prefix
operations: [ Create, Describe, Read, Write ]
- name: policy-pdp-pap
type: topic