mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-14 09:51:22 +00:00
26 lines
487 B
Plaintext
26 lines
487 B
Plaintext
|
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: '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,
|
||
|
},
|
||
|
})
|