[POLICY] Rename from TOSCA Control Loop to ACM
[oom.git] / kubernetes / policy / components / policy-clamp-ac-http-ppnt / values.yaml
@@ -1,5 +1,5 @@
 #  ============LICENSE_START=======================================================
-#   Copyright (C) 2021 Nordix Foundation.
+#   Copyright (C) 2021-2022 Nordix Foundation.
 #  ================================================================================
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
@@ -27,6 +27,12 @@ global:
 # Secrets metaconfig
 #################################################################
 secrets:
+  - uid: restserver-secret
+    type: basicAuth
+    externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
+    login: '{{ .Values.restServer.user }}'
+    password: '{{ .Values.restServer.password }}'
+    passwordPolicy: required
   - uid: keystore-password
     type: password
     externalSecret: '{{ tpl (default "" .Values.certStores.keyStorePasswordExternalSecret) . }}'
@@ -43,7 +49,7 @@ certStores:
   trustStorePassword: Pol1cy_0nap
 
 certInitializer:
-  nameOverride: policy-clamp-cl-http-ppnt-cert-initializer
+  nameOverride: policy-clamp-ac-http-ppnt-cert-initializer
   aafDeployFqi: deployer@people.osaaf.org
   aafDeployPass: demo123456!
   fqdn: policy
@@ -65,9 +71,14 @@ certInitializer:
 # Application configuration defaults.
 #################################################################
 # application image
-image: onap/policy-clamp-cl-http-ppnt:6.2.0
+image: onap/policy-clamp-ac-http-ppnt:6.2.1
 pullPolicy: Always
 
+# application configuration
+restServer:
+  user: participantUser
+  password: zb!XztG34
+
 # flag to enable debugging - application support required
 debugEnabled: false
 
@@ -80,6 +91,30 @@ affinity: {}
 ingress:
   enabled: false
 
+# 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
+  port: http-api
+
+readiness:
+  initialDelaySeconds: 20
+  periodSeconds: 10
+  port: http-api
+
+service:
+  type: ClusterIP
+  name: policy-clamp-ac-http-ppnt
+  useNodePortExt: true
+  ports:
+    - name: http-api
+      port: 8084
+      nodePort: 42
+
+
 flavor: small
 resources:
   small:
@@ -99,6 +134,6 @@ resources:
   unlimited: {}
 #Pods Service Account
 serviceAccount:
-  nameOverride: policy-clamp-cl-http-ppnt
+  nameOverride: policy-clamp-ac-http-ppnt
   roles:
     - read