зеркало из https://github.com/microsoft/spinnaker.git
Update deck to resolve bake details url (aka the logs) via gate instead of directly via rosco. (#1232)
Drop :8087 from various port forwarding examples/commands. The proxy-config for rosco in the apache config was not touched.
This commit is contained in:
Родитель
269a973bde
Коммит
151d29a480
|
@ -10,7 +10,6 @@
|
|||
// BEGIN reconfigure_spinnaker
|
||||
|
||||
// var gateUrl = ${services.deck.gateUrl};
|
||||
// var bakeryBaseUrl = ${services.deck.bakeryUrl};
|
||||
// var authEnabled = ${services.deck.auth.enabled};
|
||||
// var defaultTimeZone = ${services.deck.timezone};
|
||||
// var awsDefaultRegion = ${providers.aws.defaultRegion};
|
||||
|
@ -43,7 +42,7 @@
|
|||
|
||||
window.spinnakerSettings = {
|
||||
gateUrl: gateUrl,
|
||||
bakeryDetailUrl: bakeryBaseUrl + '/api/v1/global/logs/{{context.status.id}}?html=true',
|
||||
bakeryDetailUrl: gateUrl + '/bakery/logs/global/{{context.status.id}}',
|
||||
authEndpoint: gateUrl + '/auth/user',
|
||||
pollSchedule: 30000,
|
||||
defaultTimeZone: defaultTimeZone, // see http://momentjs.com/timezone/docs/#/data-utilities/
|
||||
|
|
|
@ -35,8 +35,7 @@ To finish the installation, follow these steps:
|
|||
|
||||
gcloud compute ssh --project {project} --zone {zone} {instance}\
|
||||
--ssh-flag="-L 9000:localhost:9000"\
|
||||
--ssh-flag="-L 8084:localhost:8084"\
|
||||
--ssh-flag="-L 8087:localhost:8087"
|
||||
--ssh-flag="-L 8084:localhost:8084"
|
||||
|
||||
|
||||
(2) Wait for the installation to complete:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
var feedbackUrl = 'http://localhost';
|
||||
var gateHost = 'http://localhost:8084';
|
||||
var bakeryDetailUrl = 'http://localhost:8087';
|
||||
var bakeryDetailUrl = gateHost + '/bakery/logs/global/{{context.status.id}}';
|
||||
|
||||
window.spinnakerSettings = {
|
||||
defaultProviders: ['aws', 'gce', 'azure', 'cf', 'kubernetes', 'titan'],
|
||||
|
|
|
@ -95,7 +95,6 @@ echo ' HostName' $public_hostname
|
|||
echo ' IdentityFile /path/to/private/key'
|
||||
echo ' LocalForward 9000 127.0.0.1:9000'
|
||||
echo ' LocalForward 8084 127.0.0.1:8084'
|
||||
echo ' LocalForward 8087 127.0.0.1:8087'
|
||||
echo ' User ubuntu'
|
||||
echo
|
||||
echo 'If the ssh config file is new. Ensure it is chmod 400'
|
||||
|
|
Загрузка…
Ссылка в новой задаче