ashmelev
03/29/2021, 9:05 PMRobert Jaros
03/29/2021, 9:10 PMashmelev
03/29/2021, 9:11 PMashmelev
03/29/2021, 9:12 PMRobert Jaros
03/29/2021, 9:20 PM/kv/*
endpoints on the same host/domain.Robert Jaros
03/29/2021, 9:23 PM<script>window["kv_remote_url_prefix"]="<https://any.host.com/any_prefix>";</script>
to the frontend index.html
before including main.bundle.js
.ashmelev
03/29/2021, 9:23 PMRobert Jaros
03/29/2021, 9:25 PMashmelev
03/29/2021, 9:26 PMingress
operator (essentially and NGinX instance) would handle that and anything internal to the cluster would simply call http//<service>/index.html
to get the front endashmelev
03/29/2021, 9:28 PM<service-name>.svc.cluster.local
so the "domain" would always appear to be cluster.local
ashmelev
03/29/2021, 9:29 PMashmelev
03/29/2021, 9:30 PMjschneider
05/06/2021, 2:16 PMjschneider
05/06/2021, 2:17 PMtasks.create<Exec>("jib") {
description = "Create the docker image using Jib"
group = "docker"
dependsOn("build")
val target = "[addyourownimage]:$branch"
val command = mutableListOf(jibCli, "build", "--target=$target", "--build-file=src/main/docker/jib.yaml", "--parameter=gitCommitDate=$gitCommitDate", "--context=.", "--verbosity=info", "--stacktrace", "--http-trace")
System.getenv("DOCKER_REGISTRY_PASS")?.let {
command.add("--to-username=[MYUSERNAME]")
command.add("--to-password=${it}")
}
commandLine(command)
workingDir = project.projectDir
}
jschneider
05/06/2021, 2:17 PMashmelev
05/06/2021, 3:06 PM