peridot/apollo/ui/deploy.jsonnet

26 lines
490 B
Plaintext
Raw Normal View History

2022-10-30 08:18:01 +00:00
local resfdeploy = import 'ci/resfdeploy.jsonnet';
2022-10-30 01:59:25 +00:00
local kubernetes = import 'ci/kubernetes.jsonnet';
local frontend = import 'ci/frontend.jsonnet';
local tag = std.extVar('tag');
2022-10-30 08:18:01 +00:00
resfdeploy.new({
2022-10-30 01:59:25 +00:00
name: 'apollo-frontend',
backend: false,
migrate: false,
image: kubernetes.tag($.name),
tag: tag,
env: frontend.server_env,
ports: [
{
name: 'http',
containerPort: 8086,
protocol: 'TCP',
expose: true,
},
],
health: {
port: 8086,
},
})