Add Istio connectivity for Services below
[demo.git] / vnfs / DAaaS / deploy / istio-config / minio-config / minio-istio-connectivity / values.yaml
diff --git a/vnfs/DAaaS/deploy/istio-config/minio-config/minio-istio-connectivity/values.yaml b/vnfs/DAaaS/deploy/istio-config/minio-config/minio-istio-connectivity/values.yaml
new file mode 100644 (file)
index 0000000..b98b78a
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright © 2019 Intel Corporation
+#
+# 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.
+#
+# This file is a sample virtualservice format
+# allowedhost below is an example, It needs to be changed to host on which
+# minio is accessed.
+allowedhosts:
+- "minio.k8s.onap.com"
+gateways:
+- http-gateway
+destination:
+    - host: minio-0.minio-svc.edge1.svc.cluster.local
+      port: 9000
+    - host: minio-1.minio-svc.edge1.svc.cluster.local
+      port: 9000
+    - host: minio-2.minio-svc.edge1.svc.cluster.local
+      port: 9000
+    - host: minio-3.minio-svc.edge1.svc.cluster.local
+      port: 9000
+# Template for destinationhost is
+# <POD_NAME>.<SERVICE_NAME>.<NAMESPACE>.<SVC><CLUSTER>.<LOCAL>