我尝试将网址路径设置为在spinnaker上旋转门控网址。
hal config security api edit --override-base-url http://example.com/api
现在,我访问了大三角帆ui。
但它无效
http://example.com/api/credentials
和
http://example.com/api/webhook/preconfigured
API。
答案 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