Add Standardized Configuration to VNFSDK
Issue-ID: OOM-751
Change-Id: I3a9909d4bbb82b874baf9088109a1930a2bfb671
Signed-off-by: jasmineWen <jasmine.wen@amdocs.com>
diff --git a/kubernetes/vnfsdk/values.yaml b/kubernetes/vnfsdk/values.yaml
index 3c21d5c..9cb3dd6 100644
--- a/kubernetes/vnfsdk/values.yaml
+++ b/kubernetes/vnfsdk/values.yaml
@@ -12,13 +12,54 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-nsPrefix: onap
+#################################################################
+# Global configuration defaults.
+#################################################################
+global:
+ nodePortPrefix: 302
+ repository: nexus3.onap.org:10001
+ repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
+ readinessRepository: oomk8s
+ readinessImage: readiness-check:1.1.1
+ loggingRepository: docker.elastic.co
+ loggingImage: beats/filebeat:5.5.0
+
+#################################################################
+# Application configuration defaults.
+#################################################################
+# application image
+repository: nexus3.onap.org:10001
+image: onap/refrepo:1.1-STAGING-latest
pullPolicy: Always
-nodePortPrefix: 302
-image:
- readiness: oomk8s/readiness-check
- readinessVersion: 1.1.0
- postgresImage: nexus3.onap.org:10001/onap/refrepo/postgres
- postgresVersion: latest
- refrepoImage: nexus3.onap.org:10001/onap/refrepo
- refrepoVersion: 1.0-STAGING-latest
+
+#subchart name
+vnfsdk-postgres:
+ nameOverride: postgres
+
+# flag to enable debugging - application support required
+debugEnabled: false
+
+nodeSelector: {}
+
+affinity: {}
+
+# probe configuration parameters
+liveness:
+ initialDelaySeconds: 10
+ 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: 10
+
+service:
+ type: NodePort
+ name: refrepo
+ nodePort: 97
+ internalPort: 8702
+
+ingress:
+ enabled: false