peridot/obsidian/ui/deploy.jsonnet

25 lines
488 B
Plaintext
Raw Normal View History

2022-07-07 20:11:50 +00:00
local bycdeploy = import 'ci/bycdeploy.jsonnet';
local kubernetes = import 'ci/kubernetes.jsonnet';
local frontend = import 'ci/frontend.jsonnet';
local tag = std.extVar('tag');
bycdeploy.new({
name: 'obsidian-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,
},
})