Skip to content

Commit

Permalink
Merge pull request #19 from k8sgpt-ai/feat/rework-cache
Browse files Browse the repository at this point in the history
feat: rework cache
  • Loading branch information
AlexsJones authored Nov 16, 2023
2 parents 0e0723a + ee5a662 commit f4f7abd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BUF_VERSION=v1.6.0
BUF_VERSION=v1.28.0
TAG=protobuf-v0.1.4
guard-%:
@ if [ "${${*}}" = "" ]; then \
Expand Down
21 changes: 19 additions & 2 deletions protobuf/schema/v1/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,27 @@ message RemoveConfigResponse {
}

message Cache {
oneof cache_type {
S3Cache s3_cache = 1;
AzureCache azure_cache = 2;
GCSCache gcs_cache = 3;
}
}

message S3Cache {
string region = 1;
string bucket_name = 2;
}

message AzureCache {
string storage_account = 1;
string container_name = 2;
}

message GCSCache {
string region = 1;
string bucket_name = 2;
string storage_account = 3;
string container_name = 4;
string project_id = 3;
}

message Trivy {
Expand Down

0 comments on commit f4f7abd

Please sign in to comment.