48 lines
1.2 KiB
Text
48 lines
1.2 KiB
Text
let _context_lib = import "schemas/catalog/context.ncl" in
|
|
|
|
{
|
|
FipTask = {
|
|
mode | [| 'follow_pod, 'pinned |],
|
|
fip_name | String,
|
|
..
|
|
},
|
|
|
|
FipController = {
|
|
context | _context_lib.ComponentContext | optional,
|
|
|
|
name | String,
|
|
namespace | String | default = "kube-system",
|
|
catalog_ref | String | optional,
|
|
|
|
image | String,
|
|
image_tag | String,
|
|
|
|
alias_agent_image | String,
|
|
alias_agent_image_tag | String,
|
|
|
|
alias_agent_namespace | String | default = "kube-system",
|
|
alias_agent_selector | String | default = "app.kubernetes.io/name=fip-alias-agent",
|
|
|
|
node_selector | { _ | String } | default = {},
|
|
|
|
fips | Array {
|
|
mode | [| 'follow_pod, 'pinned |],
|
|
fip_name | String,
|
|
..
|
|
},
|
|
|
|
operations | {
|
|
install | Bool | default = true,
|
|
update | Bool | default = true,
|
|
delete | Bool | default = true,
|
|
restart | Bool | default = true,
|
|
} | default = {},
|
|
|
|
live_check | {
|
|
strategy | [| 'k8s_pods, 'http_get |] | default = 'k8s_pods,
|
|
scope | [| 'cp_only, 'all_nodes |] | default = 'cp_only,
|
|
} | default = {},
|
|
|
|
..
|
|
},
|
|
}
|