-
Notifications
You must be signed in to change notification settings - Fork 339
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
fix(*): merging arrays in new policies #5084
Conversation
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
app/kumactl/cmd/install/testdata/install-control-plane.override-env-vars.golden.yaml
Outdated
Show resolved
Hide resolved
Would it make sense to just add MarshallJSON methods to the existing proto objects? |
Do you mean old policies? I'm not sure I understand what we want to solve with added MarshallJSON method |
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com> # Conflicts: # app/kumactl/cmd/install/testdata/install-control-plane.cni-enabled.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.cni-experimental-enabled.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.defaults.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.gateway-api-present-not-enabled.yaml # app/kumactl/cmd/install/testdata/install-control-plane.gateway-api-present.yaml # app/kumactl/cmd/install/testdata/install-control-plane.global.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.override-env-vars.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.overrides.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.registry.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.tproxy-ebpf-experimental-enabled.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.with-egress.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.with-helm-set.yaml # app/kumactl/cmd/install/testdata/install-control-plane.with-helm-values.yaml # app/kumactl/cmd/install/testdata/install-control-plane.with-ingress.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.zone.golden.yaml # app/kumactl/cmd/install/testdata/install-cp-helm/empty.golden.yaml # app/kumactl/cmd/install/testdata/install-cp-helm/fix4485.golden.yaml # app/kumactl/cmd/install/testdata/install-cp-helm/fix4496.golden.yaml # app/kumactl/cmd/install/testdata/install-cp-helm/fix4935.golden.yaml # app/kumactl/cmd/install/testdata/install-crds.all.golden.yaml # app/kumactl/cmd/install/testdata/install-crds.experimental-gatewayapi.golden.yaml # deployments/charts/kuma/crds/kuma.io_meshtraces.yaml # pkg/core/xds/testdata/rules/04.golden.yaml # pkg/core/xds/testdata/rules/04.policy.yaml # pkg/core/xds/testdata/rules/05.golden.yaml # pkg/core/xds/testdata/rules/05.policy.yaml # pkg/plugins/policies/meshtrace/api/v1alpha1/meshtrace.pb.go # pkg/plugins/policies/meshtrace/api/v1alpha1/schema.yaml # pkg/plugins/policies/meshtrace/k8s/crd/kuma.io_meshtraces.yaml
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
25ba459
to
ab16e6a
Compare
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com> # Conflicts: # pkg/core/xds/testdata/rules/05.golden.yaml # pkg/core/xds/testdata/rules/05.policy.yaml # pkg/plugins/policies/matchers/testdata/match/dataplanepolicies/01.golden.yaml # pkg/plugins/policies/matchers/testdata/match/dataplanepolicies/02.golden.yaml # pkg/plugins/policies/meshtrace/api/v1alpha1/meshtrace.pb.go
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
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.
It does make sense appart from the few comments. Though I'd love someone else more up to date with the code to double check this
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com> # Conflicts: # app/kumactl/cmd/install/testdata/install-control-plane.cni-enabled.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.cni-experimental-enabled.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.global.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.override-env-vars.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.overrides.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.registry.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.tproxy-ebpf-experimental-enabled.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.with-egress.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.with-helm-values.yaml # app/kumactl/cmd/install/testdata/install-control-plane.with-ingress.golden.yaml # app/kumactl/cmd/install/testdata/install-control-plane.zone.golden.yaml # app/kumactl/cmd/install/testdata/install-cp-helm/empty.golden.yaml # app/kumactl/cmd/install/testdata/install-cp-helm/fix4485.golden.yaml # app/kumactl/cmd/install/testdata/install-cp-helm/fix4496.golden.yaml # app/kumactl/cmd/install/testdata/install-cp-helm/fix4935.golden.yaml
encoding/json
instead ofjsonpb
omitempty
from new.pb.go
filesChecklist prior to review
syscall.Mkfifo
have equivalent implementation on the other OS --UPGRADE.md
? -- No> Changelog:
entry here or add aci/
label to run fewer/more tests?