Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 1 | # Copyright © 2020 highstreet technologies GmbH |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | aafEnabled: true |
| 20 | nodePortPrefix: 322 |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 21 | k8scluster: svc.cluster.local |
| 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | # application image |
Dan Timoney | 76d733b | 2022-05-09 11:56:55 -0400 | [diff] [blame] | 26 | image: "onap/sdnc-web-image:2.3.1" |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 27 | pullPolicy: Always |
| 28 | |
| 29 | config: |
| 30 | sdncChartName: sdnc |
| 31 | webProtocol: HTTPS |
| 32 | webPort: 8443 |
Alexander Dehn | 8789a72 | 2020-10-16 14:29:05 +0000 | [diff] [blame] | 33 | sdnrProtocol: https |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 34 | sdnrHost: "sdnc" |
| 35 | sdnrPort: "8443" |
| 36 | sslCertDir: "/opt/app/osaaf/local/certs" |
| 37 | sslCertiticate: "cert.pem" |
| 38 | sslCertKey: "key.pem" |
demskeq8 | b43e92c | 2021-02-12 15:43:48 +0100 | [diff] [blame] | 39 | oauth: |
| 40 | enabled: false |
| 41 | odluxRbac: |
| 42 | enabled: false |
Alexander Dehn | 8789a72 | 2020-10-16 14:29:05 +0000 | [diff] [blame] | 43 | transportpce: |
| 44 | enabled: false |
| 45 | transportpceUrl: http://transportpce.transportpce:8181 |
| 46 | topologyserver: |
| 47 | enabled: false |
| 48 | topologyserverUrl: http://toplogy-api-service.topology:3001 |
| 49 | tileserverUrl: https://tile.openstreetmap.org |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 50 | |
| 51 | |
| 52 | ################################################################# |
| 53 | # aaf configuration defaults. |
| 54 | ################################################################# |
| 55 | certInitializer: |
| 56 | nameOverride: sdnc-web-cert-initializer |
| 57 | fqdn: "sdnc" |
| 58 | app_ns: "org.osaaf.aaf" |
| 59 | fqi: "sdnc@sdnc.onap.org" |
| 60 | fqi_namespace: "org.onap.sdnc" |
| 61 | public_fqdn: "sdnc.onap.org" |
| 62 | aafDeployFqi: "deployer@people.osaaf.org" |
| 63 | aafDeployPass: demo123456! |
| 64 | cadi_latitude: "38.0" |
| 65 | cadi_longitude: "-72.0" |
| 66 | credsPath: /opt/app/osaaf/local |
| 67 | aaf_add_config: > |
| 68 | cd /opt/app/osaaf/local; |
| 69 | mkdir -p certs; |
| 70 | export $(/opt/app/aaf_config/bin/agent.sh local showpass | grep '^c' | xargs -0); |
| 71 | keytool -exportcert -rfc -file certs/cacert.pem -keystore {{ .Values.fqi_namespace }}.trust.jks -alias ca_local_0 -storepass $cadi_truststore_password; |
| 72 | openssl pkcs12 -in {{ .Values.fqi_namespace }}.p12 -out certs/cert.pem -passin pass:$cadi_keystore_password_p12 -passout pass:$cadi_keystore_password_p12; |
| 73 | cp {{ .Values.fqi_namespace }}.key certs/key.pem; |
| 74 | chmod -R 755 certs; |
| 75 | |
| 76 | # default number of instances |
| 77 | replicaCount: 1 |
| 78 | |
| 79 | nodeSelector: {} |
| 80 | |
| 81 | affinity: {} |
| 82 | |
| 83 | # probe configuration parameters |
| 84 | liveness: |
| 85 | initialDelaySeconds: 180 |
| 86 | periodSeconds: 10 |
| 87 | # necessary to disable liveness probe when setting breakpoints |
| 88 | # in debugger so K8s doesn't restart unresponsive container |
| 89 | enabled: true |
| 90 | |
| 91 | readiness: |
| 92 | initialDelaySeconds: 60 |
| 93 | periodSeconds: 10 |
| 94 | |
| 95 | service: |
| 96 | name: sdnc-web |
| 97 | suffix: service |
| 98 | type: NodePort |
| 99 | sessionAffinity: ClientIP |
| 100 | # for liveness and readiness probe only |
| 101 | # internalPort: |
| 102 | internalPort: 8443 |
| 103 | ports: |
| 104 | - name: "sdnc-web" |
| 105 | port: "8443" |
| 106 | nodePort: "05" |
| 107 | |
| 108 | #ingress: |
| 109 | # enabled: false |
| 110 | |
| 111 | #Resource limit flavor -By default using small |
| 112 | flavor: small |
| 113 | #segregation for different environment (small and large) |
| 114 | resources: |
| 115 | small: |
| 116 | limits: |
| 117 | cpu: 1 |
| 118 | memory: 1Gi |
| 119 | requests: |
| 120 | cpu: 0.5 |
| 121 | memory: 500Mi |
| 122 | large: |
| 123 | limits: |
| 124 | cpu: 2 |
| 125 | memory: 2Gi |
| 126 | requests: |
| 127 | cpu: 1 |
| 128 | memory: 1Gi |
| 129 | unlimited: {} |
farida azmy | 32c5ed8 | 2021-08-04 14:46:09 +0200 | [diff] [blame] | 130 | |
| 131 | #Pods Service Account |
| 132 | serviceAccount: |
| 133 | nameOverride: sdnc-web |
| 134 | roles: |
| 135 | - read |