mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-27 12:40:55 +00:00
25 lines
492 B
Text
25 lines
492 B
Text
local resfdeploy = import 'ci/resfdeploy.jsonnet';
|
|
local kubernetes = import 'ci/kubernetes.jsonnet';
|
|
local frontend = import 'ci/frontend.jsonnet';
|
|
|
|
local tag = std.extVar('tag');
|
|
|
|
resfdeploy.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,
|
|
},
|
|
})
|