Spinnaker base-url无法通过网址路径设置

时间:2018-01-10 07:14:21

标签: spinnaker spinnaker-halyard

我尝试将网址路径设置为在spinnaker上旋转门控网址。

hal config security api edit --override-base-url http://example.com/api

现在,我访问了大三角帆ui。

但它无效 http://example.com/api/credentialshttp://example.com/api/webhook/preconfigured API。

它返回404错误。你能告诉我为什么吗? Browser Inspect - Screenshot

1 个答案:

答案 0 :(得分:0)

尝试一下。

echo "host: 0.0.0.0" | tee \
    ~/.hal/default/service-settings/gate.yml \
    ~/.hal/default/service-settings/deck.yml

hal config security ui edit --override-base-url http://<deck-loadbalancer-dns-entry>:9000
hal config security api edit --override-base-url http://<gate-loadbalancer-dns-entry>:8084
sudo systemctl daemon-reload
sudo hal deploy apply
sudo hal deploy connect