-
Notifications
You must be signed in to change notification settings - Fork 12
update gRPC PutConfig/PutSecret message #671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
make enums for configs update with latest protos update for change to sensitivity to enum update compiled grpc
bcecf30
to
63d199d
Compare
src/protos/io/defang/v1/fabric.proto
Outdated
message GetConfigsRequest { | ||
repeated ConfigKey configs = 1; | ||
optional ConfigOptions options = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
optional ConfigOptions options = 2; | |
ConfigOptions options = 2; |
src/protos/io/defang/v1/fabric.proto
Outdated
string name = 1; | ||
string value = 2; | ||
string project = 3; // defaults to tenant ID | ||
} | ||
|
||
enum Sensitivity { | ||
NON_SENSITIVE = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UNSPECIFIED_…
or …_UNSPECIFIED
src/protos/io/defang/v1/fabric.proto
Outdated
} | ||
|
||
enum ConfigType { | ||
RAW = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
src/protos/io/defang/v1/fabric.proto
Outdated
} | ||
|
||
message ConfigKey { | ||
string name = 1; | ||
string project = 2; // defaults to tenant ID | ||
} | ||
|
||
enum ConfigOptions { | ||
NO_OPTION = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
src/protos/io/defang/v1/fabric.proto
Outdated
message GetConfigsRequest { | ||
repeated ConfigKey configs = 1; | ||
optional ConfigOptions options = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
optional ConfigOptions options = 2; | |
ConfigOptions options = 2; |
Update to PutConfig/PutSecret to use the same message, to allow backend to handle Put using same handling code.