You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
我在尝试使用 kubevela 部署 haproxy,我希望能够动态渲染 haproxy 的 configmap,但没有成功,生成的 configmap 文件与我的 definition定义完全一致,我的 definition 内容如下:
……
template: {
output: {
……
configuration: #"""
global
log stdout format raw local0
maxconn 1024
defaults
log global
timeout client 60s
timeout connect 60s
timeout server 60s
frontend fe_main
bind :parameter.proxy_port
default_backend be_main
backend be_main
for k, v in parameter.proxy_conf {
server web1 (k):v check
}
"""#
……
}
parameter: {
// +usage=Specify the proxy port
proxy_port?: string
// +usage=Specify the proxy conf
proxy_conf?: [string]: string
}
}
Beta Was this translation helpful? Give feedback.
All reactions