Skip to content

Commit

Permalink
perf: adjust service mesh crd resources (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangSetSail authored Apr 10, 2023
1 parent cdcb868 commit c579255
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion chart/crds/rainbond.io_servicemeshclasses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ spec:
items:
description: InjectMethod is the method of injecting sidecar
properties:
cover:
description: Cover whether to overwrite if the field exists
type: boolean
method:
description: Method is the method of injecting sidecar, label or
annotation
Expand All @@ -46,10 +49,25 @@ spec:
value:
description: Value is the value of the label or annotation
type: string
valueFrom:
description: ValueFrom is the value form label or annotation
properties:
name:
description: label or annotation key
type: string
type:
description: type
enum:
- label
- annotation
- name
type: string
required:
- type
type: object
required:
- method
- name
- value
type: object
type: array
kind:
Expand Down

0 comments on commit c579255

Please sign in to comment.