Skip to content

Commit

Permalink
fixes #640 add a values.yml file to the lambda generator template (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu authored Nov 8, 2022
1 parent 9c998fe commit 1a30281
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public void generate(final String targetPath, Object model, JsonNode config) thr

// exclusion list for Config module
// values.yml file, transfer to suppress the warning message during start startup and encourage usage.
transfer(targetPath, "proxy", "values.yml", templates.rest.values.template(serviceId, enableHttp, httpPort, enableHttps, httpsPort, enableHttp2, enableRegistry, version, config));
transfer(targetPath, "proxy", "values.yml", templates.lambda.values.template(serviceId, enableHttp, httpPort, enableHttps, httpsPort, enableHttp2, enableRegistry, version));
// buildSh.rocker.raw for the docker image build
transfer(targetPath, "", "build.sh", templates.lambda.buildSh.template());
// Dockerfile for the proxy
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@args (String serviceId, Boolean enableHttp, String httpPort, Boolean enableHttps, String httpsPort, Boolean enableHttp2, Boolean enableRegistry, String version)
# server.yml
server.httpPort: @httpPort
server.enableHttp: @enableHttp
server.httpsPort: @httpsPort
server.enableHttps: @enableHttps
server.enableHttp2: @enableHttp2
server.enableRegistry: @enableRegistry
server.serviceId: @serviceId
server.buildNumber: @version

0 comments on commit 1a30281

Please sign in to comment.