Skip to content

Commit

Permalink
broker: set credential-type default to x509 - breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
asalan316 committed Jan 8, 2025
1 parent 2575c55 commit e7e32d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jobs/golangapiserver/spec
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions spec/jobs/golangapiserver/apiserver_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@
end

context "default_credential_type for custom metrics" do
it "has a value of binding-secret by default" do
expect(rendered_template).to include({"default_credential_type" => "binding-secret"})
it "has a value of x509 by default" do
expect(rendered_template).to include({"default_credential_type" => "x509"})
end
end
end
Expand Down

0 comments on commit e7e32d7

Please sign in to comment.