我尝试在spinnaker中将URL路径设置为spin-gate base-url。
hal config security api edit --override-base-url http://example.com/api
现在,我访问了spinnaker ui。
但它在http://example.com/api/credentials和http://example.com/api/webhook/preconfigured API上不起作用。
它返回404错误。你能告诉我为什么吗?

发布于 2018-10-03 08:16:14
试试这个。
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 connecthttps://stackoverflow.com/questions/48182104
复制相似问题