Skip to content

Commit 30cb828

Browse files
committed
fix
1 parent 8f22b9f commit 30cb828

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

xds-api/src/main/proto/centraldogma_config_source.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ syntax = "proto3";
1616
package com.linecorp.centraldogma.xds.v1;
1717

1818
import "envoy/extensions/transport_sockets/tls/v3/secret.proto";
19+
import "armeria/xds/supported.proto";
1920

2021
option java_multiple_files = true;
2122
option java_outer_classname = "CentralDogmaConfigSourceProto";
@@ -29,17 +30,20 @@ option java_package = "com.linecorp.centraldogma.xds.v1";
2930
message CentralDogmaConfigSource {
3031
// The name of the cluster that provides connectivity to the Central Dogma server.
3132
// This cluster must be defined in the bootstrap configuration.
33+
option (armeria.xds.supported.field) = 1;
3234
string cluster_name = 1;
3335

3436
// The authentication method to use when connecting to the Central Dogma server.
3537
// If not set, the client will connect as an anonymous user.
3638
oneof auth {
39+
option (armeria.xds.supported.oneof_field) = 2;
3740
BearerTokenCredential bearer_token_credential = 2;
3841
}
3942
}
4043

4144
// Authentication using a bearer token retrieved from a ``GenericSecret``.
4245
message BearerTokenCredential {
4346
// The token value (without the ``Bearer`` prefix).
47+
option (armeria.xds.supported.field) = 1;
4448
envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig token_secret = 1;
4549
}

0 commit comments

Comments
 (0)