Skip to content
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

Merged
merged 27 commits into from
Oct 18, 2022
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f373556
fix(*): KDS marshal to json for new policies
lobkovilya Sep 29, 2022
354c01e
fix(*): unit tests
lobkovilya Sep 30, 2022
89f38f4
fix(*): golden tests
lobkovilya Sep 30, 2022
3a8ae9c
Merge branch 'master' into fix/new-policy-merge
lobkovilya Sep 30, 2022
962cd88
fix(*): make check
lobkovilya Sep 30, 2022
82841ca
fix(*): make check
lobkovilya Sep 30, 2022
a7a335d
fix(*): maek sed across ubuntu and darwin
lobkovilya Sep 30, 2022
a84d728
fix merge func, add unit test
lobkovilya Oct 3, 2022
2915de7
fix(*): add reflect to create new 'conf'
lobkovilya Oct 4, 2022
1edf203
fix(*): get rid of extra marshaling/unmarshaling
lobkovilya Oct 5, 2022
638600a
Merge branch 'master' into fix/new-policy-merge
lobkovilya Oct 10, 2022
a6f9fed
fix(*): golden files
lobkovilya Oct 10, 2022
cb873b2
fix(*): revert omitempty for non-lists, add '+nullable'
lobkovilya Oct 11, 2022
ab16e6a
make check
lobkovilya Oct 12, 2022
90597d8
fix(*): update golden files
lobkovilya Oct 12, 2022
8a096e2
fix(*): add '+optional' marker
lobkovilya Oct 12, 2022
ca0930e
make check
lobkovilya Oct 12, 2022
0a16de8
fix(*): remove package optional marker
lobkovilya Oct 12, 2022
613ea12
fix(*): revert policy bootstrap change
lobkovilya Oct 12, 2022
21db4be
Merge branch 'master' into fix/new-policy-merge
lobkovilya Oct 14, 2022
837d9eb
make check
lobkovilya Oct 14, 2022
5336a50
fix(*): marshal in postgres store
lobkovilya Oct 16, 2022
11190f6
fix(*): update kumactl
lobkovilya Oct 17, 2022
f3fb251
fix(*): replace proto.Message with 'any'
lobkovilya Oct 18, 2022
aa472e4
Merge branch 'master' into fix/new-policy-merge
lobkovilya Oct 18, 2022
03b75e5
review
lobkovilya Oct 18, 2022
0126763
Merge branch 'master' into fix/new-policy-merge
lobkovilya Oct 18, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,9 @@ spec:
description: Port of datadog collector
format: int32
type: integer
required:
- address
- port
type: object
zipkin:
description: Zipkin backend configuration.
Expand All @@ -437,7 +440,15 @@ spec:
url:
description: Address of Zipkin collector.
type: string
required:
- apiVersion
- sharedSpanContext
- traceId128bit
- url
type: object
required:
- datadog
- zipkin
type: object
type: array
sampling:
Expand Down Expand Up @@ -469,6 +480,10 @@ spec:
Envoy https://github.com/envoyproxy/envoy/blob/v1.22.0/api/envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto#L135-L140'
format: int32
type: integer
required:
- client
- overall
- random
type: object
tags:
description: Custom tags configuration. You can add custom tags
Expand All @@ -488,15 +503,26 @@ spec:
name:
description: Name of the header.
type: string
required:
- default
- name
type: object
literal:
description: Tag taken from literal value.
type: string
name:
description: Name of the tag.
type: string
required:
- header
- literal
- name
type: object
type: array
required:
- backends
- sampling
- tags
type: object
targetRef:
description: TargetRef is a reference to the resource the policy takes
Expand Down Expand Up @@ -528,6 +554,9 @@ spec:
to define a subset of proxies
type: object
type: object
required:
- default
- targetRef
type: object
type: object
served: true
Expand Down Expand Up @@ -593,6 +622,8 @@ spec:
- ALLOW_WITH_SHADOW_DENY
- DENY_WITH_SHADOW_ALLOW
type: string
required:
- action
type: object
targetRef:
description: TargetRef is a reference to the resource that represents
Expand Down Expand Up @@ -623,6 +654,9 @@ spec:
to define a subset of proxies
type: object
type: object
required:
- default
- targetRef
type: object
type: array
targetRef:
Expand Down Expand Up @@ -655,6 +689,9 @@ spec:
to define a subset of proxies
type: object
type: object
required:
- from
- targetRef
type: object
type: object
served: true
Expand Down Expand Up @@ -1670,15 +1707,24 @@ spec:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
plain:
type: string
required:
- json
- plain
type: object
path:
description: Path to a file that logs will be
written to
type: string
required:
- format
- path
type: object
tcp:
description: Backend defines logging backend.
Expand All @@ -1698,14 +1744,28 @@ spec:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
plain:
type: string
required:
- json
- plain
type: object
required:
- address
- format
type: object
required:
- file
- tcp
type: object
type: array
required:
- backends
type: object
targetRef:
description: TargetRef is a reference to the resource that represents
Expand Down Expand Up @@ -1736,6 +1796,9 @@ spec:
to define a subset of proxies
type: object
type: object
required:
- default
- targetRef
type: object
type: array
targetRef:
Expand Down Expand Up @@ -1793,15 +1856,24 @@ spec:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
plain:
type: string
required:
- json
- plain
type: object
path:
description: Path to a file that logs will be
written to
type: string
required:
- format
- path
type: object
tcp:
description: Backend defines logging backend.
Expand All @@ -1821,14 +1893,28 @@ spec:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
plain:
type: string
required:
- json
- plain
type: object
required:
- address
- format
type: object
required:
- file
- tcp
type: object
type: array
required:
- backends
type: object
targetRef:
description: TargetRef is a reference to the resource that represents
Expand Down Expand Up @@ -1859,8 +1945,15 @@ spec:
to define a subset of proxies
type: object
type: object
required:
- default
- targetRef
type: object
type: array
required:
- from
- targetRef
- to
type: object
type: object
served: true
Expand Down
Loading