diff options
-rw-r--r-- | kubernetes/onap/Chart.yaml | 9 | ||||
-rw-r--r-- | kubernetes/onap/requirements.yaml | 101 | ||||
-rw-r--r-- | kubernetes/onap/resources/environments/onap-demo.yaml | 60 | ||||
-rw-r--r-- | kubernetes/onap/values.yaml | 105 |
4 files changed, 275 insertions, 0 deletions
diff --git a/kubernetes/onap/Chart.yaml b/kubernetes/onap/Chart.yaml new file mode 100644 index 0000000000..db8a30f28e --- /dev/null +++ b/kubernetes/onap/Chart.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +name: onap +version: 2.0.0 +appVersion: beijing +description: Open Network Automation Platform (ONAP) +home: https://www.onap.org/ +sources: +- https://gerrit.onap.org/r/#/admin/projects/ +icon: https://wiki.onap.org/download/thumbnails/1015829/onap_704x271%20copy.png?version=1&modificationDate=1488326334000&api=v2 diff --git a/kubernetes/onap/requirements.yaml b/kubernetes/onap/requirements.yaml new file mode 100644 index 0000000000..8f123128ad --- /dev/null +++ b/kubernetes/onap/requirements.yaml @@ -0,0 +1,101 @@ +# Referencing a named repo called 'local'. +# Can add this repo by running commands like: +# > helm serve +# > helm repo add local http://127.0.0.1:8879 +dependencies: + - name: aaf + version: ~1.1.0 + repository: '@local' + condition: aaf.enabled + - name: aai + version: ~0.1.0 + repository: '@local' + condition: aai.enabled + - name: appc + version: ~0.1.0 + repository: '@local' + condition: appc.enabled + - name: clamp + version: ~1.1.0 + repository: '@local' + condition: clamp.enabled + - name: cli + version: ~0.1.0 + repository: '@local' + condition: cli.enabled + - name: consul + version: ~1.1.0 + repository: '@local' + condition: consul.enabled + - name: dcaegen2 + version: ~1.1.0 + repository: '@local' + condition: dcaegen2.enabled + - name: esr + version: ~1.1.0 + repository: '@local' + condition: esr.enabled + - name: kube2msb + version: ~0.1.0 + repository: '@local' + condition: kube2msb.enabled + - name: log + version: ~0.1.0 + repository: '@local' + condition: log.enabled + - name: message-router + version: ~0.1.0 + repository: '@local' + condition: message-router.enabled + - name: mock + version: ~0.1.0 + repository: '@local' + condition: mock.enabled + - name: msb + version: ~0.1.0 + repository: '@local' + condition: msb.enabled + - name: multicloud + version: ~1.1.0 + repository: '@local' + condition: multicloud.enabled + - name: policy + version: ~0.1.0 + repository: '@local' + condition: policy.enabled + - name: portal + version: ~0.1.0 + repository: '@local' + condition: portal.enabled + - name: robot + version: ~0.1.0 + repository: '@local' + condition: robot.enabled + - name: sdc + version: ~0.1.0 + repository: '@local' + condition: sdc.enabled + - name: sdnc + version: ~0.1.0 + repository: '@local' + condition: sdnc.enabled + - name: so + version: ~2.0.0 + repository: '@local' + condition: so.enabled + - name: uui + version: ~1.1.0 + repository: '@local' + condition: uui.enabled + - name: vfc + version: ~0.1.0 + repository: '@local' + condition: vfc.enabled + - name: vid + version: ~0.1.0 + repository: '@local' + condition: vid.enabled + - name: vnfsdk + version: ~1.1.0 + repository: '@local' + condition: vnfsdk.enabled
\ No newline at end of file diff --git a/kubernetes/onap/resources/environments/onap-demo.yaml b/kubernetes/onap/resources/environments/onap-demo.yaml new file mode 100644 index 0000000000..67b6f401a4 --- /dev/null +++ b/kubernetes/onap/resources/environments/onap-demo.yaml @@ -0,0 +1,60 @@ +################################################################# +# Global configuration overrides. +# +# These overrides will affect all helm charts (ie. applications) +# that are listed below and are 'enabled'. +################################################################# +global: + # Change to an unused port prefix range to prevent port conflicts + # with other instances running within the same k8s cluster + nodePortPrefix: 302 + + # image repositories + repository: nexus3.onap.org:10001 + repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ== + # readiness check + readinessRepository: oomk8s + # logging agent + loggingRepository: docker.elastic.co + + # image pull policy + pullPolicy: IfNotPresent + + # override default mount path root directory + # referenced by persistent volumes and log files + persistence: + mountPath: /dockerdata-nfs + + # flag to enable debugging - application support required + debugEnabled: true + +################################################################# +# Enable/disable and configure helm charts (ie. applications) +# to customize the ONAP deployment. +################################################################# +consul: + enabled: true + +so: + enabled: true + replicaCount: 1 + liveness: + # necessary to disable liveness probe when setting breakpoints + # in debugger so K8s doesn't restart unresponsive container + enabled: true + + # so server configuration + config: + # message router configuration + dmaapTopic: "AUTO" + # openstack configuration + openStackUserName: "vnf_user" + openStackRegion: "RegionOne" + openStackKeyStoneUrl: "http://1.2.3.4:5000" + openStackServiceTenantName: "service" + openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e" + + # configure embedded mariadb + mariadb: + config: + mariadbRootPassword: password
\ No newline at end of file diff --git a/kubernetes/onap/values.yaml b/kubernetes/onap/values.yaml new file mode 100644 index 0000000000..5340c95f57 --- /dev/null +++ b/kubernetes/onap/values.yaml @@ -0,0 +1,105 @@ +################################################################# +# Global configuration overrides. +# +# These overrides will affect all helm charts (ie. applications) +# that are listed below and are 'enabled'. +################################################################# +global: + # Change to an unused port prefix range to prevent port conflicts + # with other instances running within the same k8s cluster + nodePortPrefix: 302 + + # image repositories + repository: nexus3.onap.org:10001 + repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ== + # readiness check + readinessRepository: oomk8s + # logging agent + loggingRepository: docker.elastic.co + + # image pull policy + pullPolicy: Always + + # default mount path root directory referenced + # by persistent volumes and log files + persistence: + mountPath: /dockerdata-nfs + + # flag to enable debugging - application support required + debugEnabled: false + +################################################################# +# Enable/disable and configure helm charts (ie. applications) +# to customize the ONAP deployment. +################################################################# +aaf: + enabled: false +aai: + enabled: false +appc: + enabled: false +clamp: + enabled: false +cli: + enabled: false +consul: # Consul Health Check Monitoring + enabled: false +dcaegen2: + enabled: false +esr: + enabled: false +kube2msb: + enabled: false +log: + enabled: false +message-router: + enabled: false +mock: + enabled: false +msb: + enabled: false +multicloud: + enabled: false +policy: + enabled: false +portal: + enabled: false +robot: # Robot Health Check + enabled: false +sdc: + enabled: false +sdnc: + enabled: false +so: # Service Orchestrator + enabled: true + + replicaCount: 1 + + liveness: + # necessary to disable liveness probe when setting breakpoints + # in debugger so K8s doesn't restart unresponsive container + enabled: true + + # so server configuration + config: + # message router configuration + dmaapTopic: "AUTO" + # openstack configuration + openStackUserName: "vnf_user" + openStackRegion: "RegionOne" + openStackKeyStoneUrl: "http://1.2.3.4:5000" + openStackServiceTenantName: "service" + openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e" + + # configure embedded mariadb + mariadb: + config: + mariadbRootPassword: password +uui: + enabled: false +vfc: + enabled: false +vid: + enabled: false +vnfsdk: + enabled: false
\ No newline at end of file |