From 92a15bf5513925979f17ad4d0024f82cda47c75a Mon Sep 17 00:00:00 2001 From: Ronald Petty Date: Sun, 28 Jul 2024 20:23:13 -0700 Subject: [PATCH 1/3] initial kyverno operator support Signed-off-by: Ronald Petty --- protobuf/buf.yaml | 2 +- protobuf/schema/v1/server-service.proto | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/protobuf/buf.yaml b/protobuf/buf.yaml index 5c3bcad..2c9f594 100644 --- a/protobuf/buf.yaml +++ b/protobuf/buf.yaml @@ -1,5 +1,5 @@ version: v1 -name: buf.build/k8sgpt-ai/k8sgpt +name: buf.build/ronaldpetty/ronk8sgpt deps: - buf.build/googleapis/googleapis - buf.build/grpc-ecosystem/grpc-gateway diff --git a/protobuf/schema/v1/server-service.proto b/protobuf/schema/v1/server-service.proto index 9a2de1b..ccc4570 100644 --- a/protobuf/schema/v1/server-service.proto +++ b/protobuf/schema/v1/server-service.proto @@ -122,8 +122,15 @@ message Trivy { string namespace = 3; } +message Kyverno { + bool enabled = 1; + bool skip_install = 2; + string namespace = 3; +} + message Integrations { Trivy trivy = 1; + Kyverno kyverno = 2; } message ListIntegrationsRequest {} @@ -131,6 +138,7 @@ message ListIntegrationsRequest {} // Add integrations to list message ListIntegrationsResponse { Trivy trivy = 1; + Kyverno kyverno = 2; } service ServerService { From b282f6d9761cb50a8941f9b4dcd48220d34b7b0d Mon Sep 17 00:00:00 2001 From: Ronald Petty Date: Sat, 17 Aug 2024 16:22:26 -0700 Subject: [PATCH 2/3] prepare to integrate kyverno operator with regular grpc repo --- protobuf/buf.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protobuf/buf.yaml b/protobuf/buf.yaml index 2c9f594..5c3bcad 100644 --- a/protobuf/buf.yaml +++ b/protobuf/buf.yaml @@ -1,5 +1,5 @@ version: v1 -name: buf.build/ronaldpetty/ronk8sgpt +name: buf.build/k8sgpt-ai/k8sgpt deps: - buf.build/googleapis/googleapis - buf.build/grpc-ecosystem/grpc-gateway From c799ba212ef7647c80bbb1d7187661be3ec8d56c Mon Sep 17 00:00:00 2001 From: Ronald Petty Date: Sat, 17 Aug 2024 16:22:26 -0700 Subject: [PATCH 3/3] prepare to integrate kyverno operator with regular grpc repo Signed-off-by: Ronald Petty --- protobuf/buf.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protobuf/buf.yaml b/protobuf/buf.yaml index 2c9f594..5c3bcad 100644 --- a/protobuf/buf.yaml +++ b/protobuf/buf.yaml @@ -1,5 +1,5 @@ version: v1 -name: buf.build/ronaldpetty/ronk8sgpt +name: buf.build/k8sgpt-ai/k8sgpt deps: - buf.build/googleapis/googleapis - buf.build/grpc-ecosystem/grpc-gateway