diff --git a/jobs/golangapiserver/spec b/jobs/golangapiserver/spec index 8e9c4ad8a2..b566a962ba 100644 --- a/jobs/golangapiserver/spec +++ b/jobs/golangapiserver/spec @@ -68,7 +68,7 @@ properties: default: '' autoscaler.apiserver.broker.default_credential_type: description: "The default credential type generated to authenticate with the custom metrics API. if no credential type is explicitly set.\nAllowed values:\n - binding-secret\n - x509\nIf credential-type \"binding-secret\" is set, then username and password are generated by the broker. \nIf credential-type \"x509\" is set, only instance identity credentials may be used.\n" - default: 'binding-secret' + default: 'x509' autoscaler.apiserver.broker.server.catalog: description: "" autoscaler.apiserver.broker.server.dashboard_redirect_uri: diff --git a/src/acceptance/helpers/helpers.go b/src/acceptance/helpers/helpers.go index 335dc337f7..b0aea4b6d8 100644 --- a/src/acceptance/helpers/helpers.go +++ b/src/acceptance/helpers/helpers.go @@ -63,7 +63,7 @@ type ScalingPolicy struct { InstanceMax int `json:"instance_max_count"` ScalingRules []*ScalingRule `json:"scaling_rules,omitempty"` Schedules *ScalingSchedules `json:"schedules,omitempty"` - CredentialType *string `json:"credential_type,omitempty"` + CredentialType *string `json:"credential-type,omitempty"` } type ScalingPolicyWithExtraFields struct { diff --git a/src/autoscaler/api/broker/broker.go b/src/autoscaler/api/broker/broker.go index f347fb4402..f99e1cd3fa 100644 --- a/src/autoscaler/api/broker/broker.go +++ b/src/autoscaler/api/broker/broker.go @@ -622,7 +622,7 @@ func getOrDefaultCredentialType(policyJson json.RawMessage, credentialTypeConfig return nil, apiresponses.NewFailureResponse(ErrCreatingServiceBinding, http.StatusInternalServerError, "error-unmarshal-credential-type") } } - logger.Debug("getOrDefaultCredentialType", lager.Data{"credential-type": credentialType}) + logger.Info("getOrDefaultCredentialType", lager.Data{"credential-type": credentialType}) return credentialType, nil }