summaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/dmaap-dr-node/values.yaml
blob: 2b4b722bfb975486c0cad3ba89174d16afc676fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# Copyright © 2017 Amdocs, Bell Canada
#
# 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 configuration defaults.
#################################################################
global:
  loggingDirectory: /var/log/onap/datarouter
  persistence: {}
  aafEnabled: true

#################################################################
# Application configuration defaults.
#################################################################
# application image
image: onap/dmaap/datarouter-node:2.1.6
pullPolicy: Always

# flag to enable debugging - application support required
debugEnabled: false

# application configuration - see parent values chart

# default number of instances
replicaCount: 1

nodeSelector: {}

affinity: {}

# probe configuration parameters
liveness:
  initialDelaySeconds: 30
  periodSeconds: 10
  # necessary to disable liveness probe when setting breakpoints
  # in debugger so K8s doesn't restart unresponsive container
  enabled: true
  port: api

readiness:
  initialDelaySeconds: 30
  periodSeconds: 10
  port: api

## Persist data to a persitent volume
persistence:
  enabled: true
  mountPath: /dockerdata-nfs
  spool:
    enabled: true
    volumeReclaimPolicy: Retain
    accessMode: ReadWriteOnce
    mountSubPath: data-router/dr-node/spool-data
    size: 2Gi
    path: /opt/app/datartr/spool
    labels:
      app.kubernetes.io/component: spool

  event:
    enabled: true
    volumeReclaimPolicy: Retain
    accessMode: ReadWriteOnce
    mountSubPath: data-router/dr-node/event-logs
    path: /opt/app/datartr/logs
    size: 2Gi
    labels:
      app.kubernetes.io/component: event-logs

#################################################################
# AAF part
#################################################################
aafConfig:
  aafDeployFqi: deployer@people.osaaf.org
  aafDeployPass: demo123456!
  fqdn: dmaap-dr-node
  fqi: dmaap-dr-node@dmaap-dr.onap.org
  public_fqdn: dmaap-dr.onap.org
  cadi_longitude: 0.0
  cadi_latitude: 0.0
  app_ns: org.osaaf.aaf
  permission_user: 1000
  permission_group: 1001
  secret_uid: &aaf_secret_uid dmaap-dr-node-aaf-deploy-creds
  credsPath: /opt/app/osaaf/local

#################################################################
# Secrets metaconfig
#################################################################
secrets:
  - uid: *aaf_secret_uid
    type: basicAuth
    externalSecret: '{{ ternary (tpl (default "" .Values.aafConfig.aafDeployCredsExternalSecret) .) "aafIsDisabled" .Values.global.aafEnabled }}'
    login: '{{ .Values.aafConfig.aafDeployFqi }}'
    password: '{{ .Values.aafConfig.aafDeployPass }}'
    passwordPolicy: required

ingress:
  enabled: false
  service:
    - baseaddr: "dmaapdrnode"
      name: "dmaap-dr-node"
      port: 8443
  config:
    ssl: "redirect"

# Resource Limit flavor -By Default using small
flavor: small
# Segregation for Different environment (Small and Large)
resources:
  small:
    limits:
      cpu: 2000m
      memory: 4Gi
    requests:
      cpu: 500m
      memory: 1Gi
  large:
    limits:
      cpu: 4000m
      memory: 8Gi
    requests:
      cpu: 1000m
      memory: 2Gi
  unlimited: {}

service:
  type: NodePort
  name: dmaap-dr-node
  useNodePortExt: true
  both_tls_and_plain: true
  annotations:
    service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
  ports:
    - name: api
      port: 8443
      plain_port: 8080
      port_protocol: http
      nodePort: 94

config:
  # dr node server configuration
  dmaapDrNode:
    # dr uses the EELF Logging framework https://github.com/att/EELF
    # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF
    logLevel: "INFO"
.0.3</regex.version> <codehaus.jackson.core>1.9.2</codehaus.jackson.core> <!--GSON--> <gson.version>2.3.1</gson.version> <!--listen to file changes--> <commons-jci-core.version>1.1</commons-jci-core.version> <!--TESTING--> <mockito.version>1.10.19</mockito.version> <junit.version>4.12</junit.version> <testng.version>6.9.10</testng.version> <extentreports.version>3.0.3</extentreports.version> <!-- parser--> <sdc-tosca-parser.version>1.1.14-SNAPSHOT</sdc-tosca-parser.version> <!--JaCoCO --> <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath> <sonar.jacoco.itReportPath>${project.basedir}/target/it-jacoco.exec</sonar.jacoco.itReportPath> <sonar.language>java</sonar.language> <sonar.version>${project.version}</sonar.version> <!--cassandra --> <cassandra.driver.version>3.0.0</cassandra.driver.version> <!-- maven central (Nexus) --> <nexus.id.release>nexus</nexus.id.release> <nexus.id.snapshot>nexus</nexus.id.snapshot> <!-- Sonar properties --> <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding> <sonar.skipDesign>true</sonar.skipDesign> <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir> <sonar.sources>.</sonar.sources> <sonar.exclusions>**/scripts/**/*</sonar.exclusions> <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions> <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions> <!--nexus--> <nexus.proxy>https://nexus.onap.org</nexus.proxy> <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath> <staging.profile.id>176c31dfe190a</staging.profile.id> <!--maven--> <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format> </properties> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.4</version> <configuration> <failOnError>false</failOnError> <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> <docletArtifact> <groupId>org.umlgraph</groupId> <artifactId>umlgraph</artifactId> <version>5.6</version> </docletArtifact> <additionalparam>-views</additionalparam> <useStandardDocletOptions>true</useStandardDocletOptions> </configuration> </plugin> </plugins> </reporting> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>3.4</version> <dependencies> <dependency> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-webdav-jackrabbit</artifactId> <version>2.10</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>2.6</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.4.0</version> </plugin> <plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>3.0.2</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.19.1</version> <configuration> <systemPropertyVariables> <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile> </systemPropertyVariables> </configuration> </plugin> <!-- plugin for parsing the project version --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.8</version> <executions> <execution> <id>parse-version</id> <goals> <goal>parse-version</goal> </goals> </execution> </executions> </plugin> <!-- Set the JDK compiler version. --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.5.1</version> <inherited>true</inherited> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <!-- Java Code Coverage --> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.1.201405082137</version> <inherited>True</inherited> <executions> <!-- Unit-Tests --> <execution> <id>prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> <configuration> <destFile>${sonar.jacoco.reportPath}</destFile> </configuration> </execution> <execution> <id>report</id> <goals> <goal>report</goal> </goals> <configuration> <dataFile>${sonar.jacoco.reportPath}</dataFile> <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory> </configuration> </execution> <!-- Integration Tests (Only report goal) --> <execution> <id>report-integration</id> <goals> <goal>report-integration</goal> </goals> <configuration> <dataFile>${sonar.jacoco.itReportPath}</dataFile> <outputDirectory>${project.basedir}/target/site/it-jacoco</outputDirectory> </configuration> </execution> </executions> </plugin> <!-- Set the deployment repositories properties. --> <plugin> <groupId>org.codehaus.gmaven</groupId> <artifactId>gmaven-plugin</artifactId> <version>1.4</version> <executions> <execution> <inherited>false</inherited> <phase>integration-test</phase> <goals> <goal>execute</goal> </goals> <configuration> <source> pom.properties['deploy.url']= pom.version.contains('-SNAPSHOT') ? project.distributionManagement.snapshotRepository.url : project.distributionManagement.repository.url; pom.properties['repo.id']= pom.version.contains('-SNAPSHOT') ? project.distributionManagement.snapshotRepository.id : project.distributionManagement.repository.id; </source> </configuration> </execution> </executions> </plugin> <!-- license plugin --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <version>1.10</version> <configuration> <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> <processStartTag>============LICENSE_START=======================================================</processStartTag> <processEndTag>============LICENSE_END=========================================================</processEndTag> <sectionDelimiter>================================================================================</sectionDelimiter> <licenseName>apache_v2</licenseName> <inceptionYear>2017</inceptionYear> <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName> <projectName>SDC</projectName> <canUpdateCopyright>true</canUpdateCopyright> <canUpdateDescription>true</canUpdateDescription> <canUpdateLicense>true</canUpdateLicense> <emptyLineAfterHeader>true</emptyLineAfterHeader> <verbose>false</verbose> <includes> <include>**/*.java</include> <include>**/*.ts</include> </includes> <excludes> <exclude>**/*.d.ts</exclude> </excludes> <roots> <root>src</root> <root>app</root> <root>server-mock</root> <root>typings</root> </roots> <extraExtensions> <ts>java</ts> </extraExtensions> </configuration> <executions> <execution> <id>first</id> <goals> <goal>update-file-header</goal> </goals> <!--phase>process-sources</phase --> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>all</id> <activation> <activeByDefault>true</activeByDefault> </activation> <modules> <module>onboarding</module> <module>security-utils</module> <module>common-app-api</module> <module>common-be</module> <module>catalog-dao</module> <module>catalog-model</module> <module>catalog-be</module> <module>asdctool</module> <module>catalog-ui</module> <module>catalog-fe</module> <module>asdc-tests</module> <module>test-apis-ci</module> <module>ui-ci</module> <module>sdc-os-chef</module> </modules> </profile> <profile> <id>catalog</id> <activation> <activeByDefault>false</activeByDefault> </activation> <modules> <module>security-utils</module> <module>common-app-api</module> <module>common-be</module> <module>catalog-dao</module> <module>catalog-model</module> <module>catalog-be</module> <module>asdctool</module> <module>catalog-ui</module> <module>catalog-fe</module> <module>asdc-tests</module> <module>test-apis-ci</module> <module>ui-ci</module> </modules> <properties> <ecomp.version>1.2.7</ecomp.version> <artifact-generator-api.version>1710.0.0-SNAPSHOT</artifact-generator-api.version> <artifact-generator-core.version>1710.0.0-SNAPSHOT</artifact-generator-core.version> <dox-common-lib.version>1710.0.0-SNAPSHOT</dox-common-lib.version> <sdc-tosca-parser.version>1.1.14</sdc-tosca-parser.version> </properties> </profile> <profile> <id>onboarding</id> <activation> <activeByDefault>false</activeByDefault> </activation> <modules> <module>onboarding</module> </modules> </profile> </profiles> <repositories> <!-- LF repositories --> <repository> <id>ecomp-releases</id> <name>Release Repository</name> <url>${nexus.proxy}/content/repositories/releases/</url> </repository> <repository> <id>ecomp-staging</id> <name>Staging Repository</name> <url>${nexus.proxy}/content/repositories/staging/</url> </repository> <repository> <id>ecomp-snapshots</id> <name>Snapshots Repository</name> <url>${nexus.proxy}/content/repositories/snapshots/</url> </repository> <!-- LF repositories END--> </repositories> <distributionManagement> <repository> <id>ecomp-releases</id> <name>Release Repository</name> <url>${nexus.proxy}/content/repositories/releases/</url> </repository> <snapshotRepository> <id>ecomp-snapshots</id> <name>Snapshot Repository</name> <url>${nexus.proxy}/content/repositories/snapshots/</url> </snapshotRepository> <site> <id>ecomp-site</id> <url>dav:${nexus.proxy}${sitePath}</url> </site> </distributionManagement> </project>