summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/readinessCheck/templates/_readinessCheck.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/readinessCheck/templates/_readinessCheck.tpl')
-rw-r--r--kubernetes/common/readinessCheck/templates/_readinessCheck.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/common/readinessCheck/templates/_readinessCheck.tpl b/kubernetes/common/readinessCheck/templates/_readinessCheck.tpl
index 95de6ec29f..71201a1cc6 100644
--- a/kubernetes/common/readinessCheck/templates/_readinessCheck.tpl
+++ b/kubernetes/common/readinessCheck/templates/_readinessCheck.tpl
@@ -67,6 +67,9 @@
- name: {{ include "common.name" $dot }}{{ ternary "" (printf "-%s" $namePart) (empty $namePart) }}-readiness
image: {{ include "repositoryGenerator.image.readiness" $subchartDot }}
imagePullPolicy: {{ $subchartDot.Values.global.pullPolicy | default $subchartDot.Values.pullPolicy }}
+ securityContext:
+ runAsUser: {{ $subchartDot.Values.user }}
+ runAsGroup: {{ $subchartDot.Values.group }}
command:
- /app/ready.py
args:
6 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
<?xml version="1.0"?>
<!--
    Copyright 2017 Nokia Corporation.

    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.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <parent>
    <groupId>org.onap.vfc.nfvo.driver.vnfm.svnfm.nokiav2</groupId>
    <artifactId>vfc-nfvo-driver-vnfm-svnfm-nokiav2</artifactId>
    <version>1.1.0-SNAPSHOT</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.onap.vfc.nfvo.driver.vnfm.svnfm.nokiav2</groupId>
  <artifactId>vfc-nfvo-driver-vnfm-svnfm-nokiav2-clients</artifactId>
  <version>1.1.0-SNAPSHOT</version>
  <packaging>jar</packaging>
  <name>vfc/nfvo/driver/vnfm/svnfm/nokiav2/generatedapis</name>
  <build>
    <plugins>
      <plugin>
        <groupId>io.swagger</groupId>
        <artifactId>swagger-codegen-maven-plugin</artifactId>
        <version>2.3.1</version>
        <executions>
          <execution>
            <id>cbamlcm</id>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <inputSpec>${basedir}/src/main/resources/nokia.vnfm.api.v3.lcm.json</inputSpec>
              <language>java</language>
              <output>${project.build.directory}/generated-sources/cbam</output>
              <apiPackage>com.nokia.cbam.lcm.v32.api</apiPackage>
              <modelPackage>com.nokia.cbam.lcm.v32.model</modelPackage>
              <configOptions>
                <jackson>true</jackson>
                <sourceFolder>src/gen/java/main</sourceFolder>
                <withXml>true</withXml>
                <useRxJava2>true</useRxJava2>
              </configOptions>
            </configuration>
          </execution>
          <execution>
            <id>cbamlcn</id>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <inputSpec>${basedir}/src/main/resources/nokia.vnfm.api.v3.lcn.subscription.json</inputSpec>
              <language>java</language>
              <output>${project.build.directory}/generated-sources/cbam</output>
              <apiPackage>com.nokia.cbam.lcn.v32.api</apiPackage>
              <modelPackage>com.nokia.cbam.lcn.v32.model</modelPackage>
              <configOptions>
                <generateSupportingFiles>false</generateSupportingFiles>
                <sourceFolder>src/gen/java/main</sourceFolder>
              </configOptions>
            </configuration>
          </execution>
          <execution>
            <id>cbamcatalog</id>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <inputSpec>${basedir}/src/main/resources/nokia.catalog.json</inputSpec>
              <language>java</language>
              <output>${project.build.directory}/generated-sources/cbam</output>
              <apiPackage>com.nokia.cbam.catalog.v1.api</apiPackage>
              <modelPackage>com.nokia.cbam.catalog.v1.model</modelPackage>
              <configOptions>
                <generateSupportingFiles>false</generateSupportingFiles>
                <sourceFolder>src/gen/java/main</sourceFolder>
              </configOptions>
            </configuration>
          </execution>
          <execution>
            <id>catalog</id>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <inputSpec>${basedir}/src/main/resources/vfc.catalog.swagger.json</inputSpec>
              <language>java</language>
              <output>${project.build.directory}/generated-sources/vfccatalog</output>
              <apiPackage>org.onap.vfccatalog.api</apiPackage>
              <modelPackage>org.onap.vfccatalog.model</modelPackage>
              <configOptions>
                <generateSupportingFiles>false</generateSupportingFiles>
                <sourceFolder>src/gen/java/main</sourceFolder>
              </configOptions>
            </configuration>
          </execution>
          <execution>
            <id>svnfm</id>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <inputSpec>${basedir}/src/main/resources/vfc.vnfdriver.swagger.json</inputSpec>
              <language>java</language>
              <output>${project.build.directory}/generated-sources/vnfmdriver</output>
              <apiPackage>org.onap.vnfmdriver.api</apiPackage>
              <modelPackage>org.onap.vnfmdriver.model</modelPackage>
              <configOptions>
                <generateSupportingFiles>false</generateSupportingFiles>
                <sourceFolder>src/gen/java/main</sourceFolder>
              </configOptions>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-patch-plugin</artifactId>
        <version>1.2</version>
        <configuration>
          <targetDirectory>${project.build.directory}/generated-sources</targetDirectory>
          <skipApplication>false</skipApplication>
        </configuration>
        <executions>
          <execution>
            <id>bugfix-patches</id>
            <configuration>
              <patchFile>src/main/resources/patch</patchFile>
              <strip>1</strip>
            </configuration>
            <phase>process-sources</phase>
            <goals>
              <goal>apply</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.7.0</version>
        <configuration>
          <source>1.8</source>
          <target>1.8</target>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>com.google.code.gson</groupId>
      <artifactId>gson</artifactId>
      <version>2.8.2</version>
    </dependency>
    <dependency>
      <groupId>io.swagger</groupId>
      <artifactId>swagger-annotations</artifactId>
      <version>1.5.16</version>
    </dependency>
    <dependency>
      <groupId>joda-time</groupId>
      <artifactId>joda-time</artifactId>
      <version>2.9.9</version>
    </dependency>
    <dependency>
      <!-- this does not have a compile time dependency, but is required to be able to deserialize the date to joda time -->
      <groupId>com.fasterxml.jackson.datatype</groupId>
      <artifactId>jackson-datatype-joda</artifactId>
      <!-- this version must be in sync with the dependency comming from spring boot -->
      <version>2.8.10</version>
    </dependency>
    <dependency>
      <groupId>com.squareup.okhttp</groupId>
      <artifactId>okhttp</artifactId>
      <version>2.7.5</version>
    </dependency>
    <dependency>
      <groupId>com.squareup.okhttp</groupId>
      <artifactId>logging-interceptor</artifactId>
      <version>2.7.5</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.12</version>
      <!-- the test code is generated into the main source code :( -->
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>io.gsonfire</groupId>
      <artifactId>gson-fire</artifactId>
      <version>1.8.2</version>
    </dependency>
    <dependency>
      <groupId>org.threeten</groupId>
      <artifactId>threetenbp</artifactId>
      <version>1.3.6</version>
    </dependency>
  </dependencies>
</project>