-
Notifications
You must be signed in to change notification settings - Fork 327
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
traffic permission entity #126
Conversation
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.
Delete validations files. We don't need those.
Remember to generate CRD for K8S.
components/konvoy-control-plane/api/mesh/v1alpha1/traffic_permission.proto
Outdated
Show resolved
Hide resolved
components/konvoy-control-plane/api/mesh/v1alpha1/traffic_permission.proto
Outdated
Show resolved
Hide resolved
86a8073
to
e612a99
Compare
0822844
to
0f21b1f
Compare
components/konvoy-control-plane/api/mesh/v1alpha1/traffic_permission.proto
Outdated
Show resolved
Hide resolved
components/konvoy-control-plane/api/mesh/v1alpha1/traffic_permission.proto
Outdated
Show resolved
Hide resolved
components/konvoy-control-plane/api/mesh/v1alpha1/traffic_permission.proto
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,19 @@ | |||
syntax = "proto3"; |
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.
I would also suggest to create a unit test that unmarshals example YAML into a Golang struct. To ensure that Protobuf
definition implements requirements of konvoy-docs
.
components/konvoy-control-plane/app/konvoyctl/cmd/get/get_trafficpermissions.go
Outdated
Show resolved
Hide resolved
...e/pkg/plugins/resources/k8s/native/config/crd/bases/mesh.getkonvoy.io_trafficpermission.yaml
Outdated
Show resolved
Hide resolved
...e/app/konvoyctl/data/install/k8s/control-plane/crds/mesh.getkonvoy.io_trafficpermission.yaml
Outdated
Show resolved
Hide resolved
...e/app/konvoyctl/data/install/k8s/control-plane/crds/mesh.getkonvoy.io_trafficpermission.yaml
Outdated
Show resolved
Hide resolved
...e/app/konvoyctl/data/install/k8s/control-plane/crds/mesh.getkonvoy.io_trafficpermission.yaml
Outdated
Show resolved
Hide resolved
components/konvoy-control-plane/app/konvoyctl/cmd/get/get_trafficpermissions.go
Show resolved
Hide resolved
e66102c
to
3b7a62e
Compare
...-control-plane/app/konvoyctl/cmd/install/testdata/install-control-plane.defaults.golden.yaml
Show resolved
Hide resolved
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.
yskopets
TrafficPermission
will not have status field
gszr
Done; could you elaborate on why though?
status
field is a very Kubernetes-specific construct, while we're want to avoid similarities with Kubernetes
...ents/konvoy-control-plane/dev/examples/universal/trafficpermissions/trafficpermission-2.yaml
Outdated
Show resolved
Hide resolved
...-control-plane/app/konvoyctl/cmd/install/testdata/install-control-plane.defaults.golden.yaml
Show resolved
Hide resolved
ae13ea8
to
91d5ff5
Compare
...oy-control-plane/app/konvoyctl/data/install/k8s/control-plane/konvoy-control-plane/rbac.yaml
Outdated
Show resolved
Hide resolved
91d5ff5
to
58ebec4
Compare
58ebec4
to
080f0b6
Compare
Summary
konvoyctl get traffic-permissions