Updaet recipes and k8s 1node script
[it/dep.git] / RECIPE_EXAMPLE / RIC_INFRA_AUX_RECIPE_EXAMPLE
diff --git a/RECIPE_EXAMPLE/RIC_INFRA_AUX_RECIPE_EXAMPLE b/RECIPE_EXAMPLE/RIC_INFRA_AUX_RECIPE_EXAMPLE
new file mode 100644 (file)
index 0000000..91ca0b1
--- /dev/null
@@ -0,0 +1,141 @@
+################################################################################
+#   Copyright (c) 2019 AT&T Intellectual Property.                             #
+#   Copyright (c) 2019 Nokia.                                                  #
+#                                                                              #
+#   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.                                             #
+###############################################################################
+
+#-------------------------------------------------------------------------
+# Global common setting
+#-------------------------------------------------------------------------
+global:
+  releasePrefix: r1
+  namespace:
+    xapp: ricxapp
+  
+    infra: ricinfra
+    platform: ricplt
+    aux: ricaux
+  # Docker registry from which RIC platform components pull the images
+  repository: nexus3.o-ran-sc.org:10004/o-ran-sc
+
+  # Name of the K8S docker credential that is onboarded by 20-credential 
+  repositoryCred: docker-reg-cred
+
+  # Docker image pull policy
+  imagePullPolicy: Always
+
+  # Helm repo that will be used by xApp manager
+  helmRepository: "http:////10.0.2.100:32080/helm"
+
+  # Certificate of the helm repo
+  helmRepositoryCert: xapp-mgr-certs
+
+  # Name of the K8S secret that contains the credential of the helm repo
+  helmRepositoryCred: xapp-mgr-creds
+
+
+  # Endpoint of k8s API server
+  k8sAPIHost: https://kubernetes.default.svc.cluster.local/
+
+  # The ingress URL definitions for the ingress controller in four namespaces
+  ingressurl:
+    ric: ric-entry
+    aux: aux-entry
+    dashboard: dashboard-entry
+
+  tillers:
+    ricxapp:
+      name: ricxapp
+      nameSpace: ricxapp
+      deployNameSpace: ricinfra
+      image:
+        tillerTLSSecrets:
+          repository: nexus3.o-ran-sc.org:10004/o-ran-sc
+          name: it-dep-secret
+          tag: 0.0.2
+        tiller:
+          repository: gcr.io
+          name: kubernetes-helm/tiller
+          tag: v2.12.3
+      secret:
+        create: true
+        tillerSecretName: secret-tiller-ricxapp
+        helmSecretName: secret-helm-client-ricxapp
+      tls:
+       authenticate: true
+       verify: true
+      serviceAccount:
+        name: tiller
+        role:
+        - apiGroups: [""]
+          resources: ["pods", "configmaps", "services"]
+          verbs: ["get", "list", "create", "delete"]
+        - apiGroups: ["extensions", "apps"]
+          resources: ["deployments"]
+          verbs: ["get", "list", "create", "delete"]
+      port: 44134
+
+#-------------------------------------------------------------------------
+# Infrastructure
+#-------------------------------------------------------------------------
+
+
+credential:
+  repositoryCredential:
+    user: docker
+    password: docker
+  
+  
+  helmrepoCredential:
+    user: helm
+    password: helm
+
+  helmCertificate: |2
+    -----BEGIN CERTIFICATE-----
+    <CERT FOR HELM>
+    -----END CERTIFICATE-----
+
+k8s:
+  enable: false
+
+chartmuseum:
+  enable: false
+  repositoryOverride: "docker.io"
+  image:
+    name: chartmuseum/chartmuseum
+    tag: v0.8.2
+  job:
+    image:
+      name: alpine
+      tag: latest
+  storagesize: 2Gi
+  datapath: /opt/data/chartmuseum-data
+
+
+elfkp:
+  enable: true
+
+kong:
+  proxy:
+    http:
+      containerPort: 32080
+    tls:
+      containerPort: 32443
+  image:
+    repository: kong
+    tag: 1.3
+  ingressController:
+    image:
+      repository: kong-docker-kubernetes-ingress-controller.bintray.io/kong-ingress-controller
+      tag: 0.6.0