Skip to content

Commit

Permalink
feat(MeshService): handle headless Services (#10308)
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
  • Loading branch information
michaelbeaumont authored Jun 4, 2024
1 parent eb2136c commit 8567857
Show file tree
Hide file tree
Showing 39 changed files with 646 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5086,6 +5086,11 @@ spec:
x-kubernetes-list-type: map
selector:
properties:
dataplaneRef:
properties:
name:
type: string
type: object
dataplaneTags:
additionalProperties:
type: string
Expand Down Expand Up @@ -8394,6 +8399,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5086,6 +5086,11 @@ spec:
x-kubernetes-list-type: map
selector:
properties:
dataplaneRef:
properties:
name:
type: string
type: object
dataplaneTags:
additionalProperties:
type: string
Expand Down Expand Up @@ -8394,6 +8399,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5106,6 +5106,11 @@ spec:
x-kubernetes-list-type: map
selector:
properties:
dataplaneRef:
properties:
name:
type: string
type: object
dataplaneTags:
additionalProperties:
type: string
Expand Down Expand Up @@ -8414,6 +8419,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
Expand Down
5 changes: 5 additions & 0 deletions app/kumactl/cmd/install/testdata/install-crds.all.golden.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6518,6 +6518,11 @@ spec:
x-kubernetes-list-type: map
selector:
properties:
dataplaneRef:
properties:
name:
type: string
type: object
dataplaneTags:
additionalProperties:
type: string
Expand Down
Loading

0 comments on commit 8567857

Please sign in to comment.