Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #640 add a values.yml file to the lambda generator template #641

Merged
merged 1 commit into from
Nov 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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