summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2/components/dcae-cloudify-manager/values.yaml
blob: bb2987881c96a338200258f66ba62e409807ba5e (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
#============LICENSE_START========================================================
# ================================================================================
# Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
# Modifications Copyright © 2018 Amdocs, Bell Canada
# Copyright (c) 2020 J. F. Lucas.  All rights reserved.
# ================================================================================
# 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.
# ============LICENSE_END=========================================================

#################################################################
# Global configuration defaults.
#################################################################
global:
  nodePortPrefix: 302
  persistence: {}
  readinessImage: onap/oom/readiness:3.0.1
  loggingRepository: docker.elastic.co
  loggingImage: beats/filebeat:5.5.0
  tlsRepository: nexus3.onap.org:10001
  tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
  repositoryCred:
    user: docker
    password: docker

secrets:
  - uid: 'cm-pass'
    type: password
    externalSecret: '{{ tpl (default "" .Values.config.cloudifyManagerPasswordExternalSecret) . }}'
    password: '{{ .Values.config.cloudifyManagerPassword }}'
    policy: required

config:
  cloudifyManagerPassword: "override me"
  logstashServiceName: log-ls
  logstashPort: 5044
  # Addresses of other ONAP entities
  address:
    consul:
      host: consul-server
      port: 8500

#################################################################
# Application configuration defaults.
#################################################################
# application image
repository: nexus3.onap.org:10001
image: onap/org.onap.dcaegen2.deployments.cm-container:3.3.4
pullPolicy: Always

# name of shared ConfigMap with kubeconfig for multiple clusters
multisiteConfigMapName: multisite-kubeconfig-configmap

# image for init container to initialize shared ConfigMap
multisiteInitImage: onap/org.onap.dcaegen2.deployments.multisite-init-container:1.0.0

# image for cleanup job container
cleanupImage: onap/org.onap.dcaegen2.deployments.dcae-k8s-cleanup-container:1.0.0

# probe configuration parameters
liveness:
  initialDelaySeconds: 10
  periodSeconds: 10
  timeoutSeconds: 5
  # necessary to disable liveness probe when setting breakpoints
  # in debugger so K8s doesn't restart unresponsive container
  # liveness not desirable for Cloudify Manager container
  enabled: false

readiness:
  initialDelaySeconds: 60
  # In some environments we see CM coming up
  # properly but readiness probe timing out.
  # Increasing the timeout and adjusting the
  # period so it's longer than the timeout.
  # (DCAEGEN2-2465)
  periodSeconds: 30
  timeoutSeconds: 10

service:
  type: ClusterIP
  name: dcae-cloudify-manager
  externalPort: 443
  internalPort: 443

# Resource Limit flavor -By Default using small
flavor: small
# Segregation for Different environment (Small and Large)
# Due to memory issues in ONAP integration environment,
# we've increased the memory amounts for both flavors.
resources:
  small:
    limits:
      cpu: 2
      memory: 4Gi
    requests:
      cpu: 1
      memory: 2Gi
  large:
    limits:
      cpu: 4
      memory: 8Gi
    requests:
      cpu: 2
      memory: 4Gi
  unlimited: {}
# Kubernetes namespace for components deployed via Cloudify manager
# If empty, use the common namespace
# dcae_ns: "dcae"

# Parameters for persistent storage
persistence:
  enabled: true
  accessMode: ReadWriteOnce
  size: 4Gi
  mountPath: /dockerdata-nfs
  mountSubPath: dcae-cm/data
  volumeReclaimPolicy: Retain
n>sai.gandham@att.com</email> <organization>ATT</organization> <roles> <role>Developer</role> </roles> </developer> </developers> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.17</version> <configuration> <skipTests>false</skipTests> <includes> <include>**/JU*.java</include> </includes> <excludes> </excludes> <useSystemClassLoader>false</useSystemClassLoader> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>2.17</version> <configuration> <skipTests>false</skipTests> </configuration> <executions> <execution> <id>integration-test</id> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <!-- Builds O/S Command line ready jars and scripts, ready to run/zip --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>appassembler-maven-plugin</artifactId> <version>1.10</version> <executions> <execution> <goals> <goal>assemble</goal> </goals> <phase>install</phase> </execution> </executions> <configuration> <programs/> <!-- this set in projects that have programs --> <assembleDirectory>../aaf_${project.version}</assembleDirectory> <copyConfigurationDirectory>true</copyConfigurationDirectory> <configurationDirectory>etc</configurationDirectory> <repositoryName>lib</repositoryName> <includeConfigurationDirectoryInClasspath>false</includeConfigurationDirectoryInClasspath> <repositoryLayout>flat</repositoryLayout> </configuration> </plugin> <!-- Build Docker Image --> <plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven-plugin</artifactId> <version>1.0.0</version> <configuration> <imageName>onap/osaaf/${project.artifactId}</imageName> <!-- <dockerDirectory>${dockerLocation}</dockerDirectory> --> <dockerDirectory>${basedir}/src/main/resources/docker</dockerDirectory> <imageTags> <imageTag>latest</imageTag> <imageTag>${project.docker.latesttagtimestamp.version}</imageTag> <imageTag>${project.docker.latesttag.version}</imageTag> </imageTags> <forceTags>true</forceTags> <!-- <resources> <resource> <targetPath>/</targetPath> <directory>${project.build.directory}/opt</directory> <filtering>true</filtering> <includes> <include>**/**</include> </includes> </resource> </resources> --> <resources> <resource> <targetPath>/</targetPath> <directory>${project.build.directory}/opt</directory> <include>${project.build.finalName}.jar</include> </resource> <resource> <targetPath>/</targetPath> <directory>${project.build.directory}</directory> <include>**/**</include> </resource> </resources> </configuration> <executions> <execution> <id>build-image</id> <phase>package</phase> <goals> <goal>build</goal> </goals> <configuration> <skipDockerBuild>${skip.docker.build}</skipDockerBuild> </configuration> </execution> <execution> <id>tag-image-project-version</id> <phase>package</phase> <goals> <goal>tag</goal> </goals> <configuration> <image>onap/osaaf/${project.artifactId}</image> <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</newName> <skipDockerTag>${skip.docker.push}</skipDockerTag> </configuration> </execution> <execution> <id>tag-image-latest</id> <phase>package</phase> <goals> <goal>tag</goal> </goals> <configuration> <image>onap/aaf/authz-service</image> <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</newName> <skipDockerTag>${skip.docker.push}</skipDockerTag> </configuration> </execution> <execution> <id>push-image-latest</id> <phase>deploy</phase> <goals> <goal>push</goal> </goals> <configuration> <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</imageName> <skipDockerPush>${skip.docker.push}</skipDockerPush> </configuration> </execution> <execution> <id>push-image</id> <phase>deploy</phase> <goals> <goal>push</goal> </goals> <configuration> <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</imageName> <skipDockerPush>${skip.docker.push}</skipDockerPush> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.7.201606060606</version> <configuration> <dumpOnExit>true</dumpOnExit> <includes> <include>org.onap.aaf.*</include> </includes> </configuration> <executions> <execution> <id>pre-unit-test</id> <goals> <goal>prepare-agent</goal> </goals> <configuration> <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> <!-- <append>true</append> --> </configuration> </execution> <execution> <id>pre-integration-test</id> <phase>pre-integration-test</phase> <goals> <goal>prepare-agent</goal> </goals> <configuration> <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> <!-- <append>true</append> --> </configuration> </execution> <execution> <goals> <goal>merge</goal> </goals> <phase>post-integration-test</phase> <configuration> <fileSets> <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet"> <directory>${project.build.directory}/coverage-reports</directory> <includes> <include>*.exec</include> </includes> </fileSet> </fileSets> <destFile>${project.build.directory}/jacoco-dev.exec</destFile> </configuration> </execution> </executions> </plugin> </plugins> </pluginManagement> </build> <dependencies> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-api-mockito</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> </dependencies> <modules> <!-- <module>auth-client</module> complile manually with mvn -N independently --> <module>auth-core</module> <module>auth-cass</module> <module>auth-deforg</module> <module>auth-service</module> <module>auth-cmd</module> <module>auth-batch</module> <module>auth-gui</module> <module>auth-locate</module> <module>auth-oauth</module> <module>auth-certman</module> <module>auth-fs</module> <module>auth-hello</module> </modules> </project>