Skip to content

Commit

Permalink
Fix the alignment issue in the egress yaml file (#5266)
Browse files Browse the repository at this point in the history
Signed-off-by: Wenqi Qiu <[email protected]>
  • Loading branch information
wenqiq authored Jul 20, 2023
1 parent ef140f8 commit a6e4116
Show file tree
Hide file tree
Showing 7 changed files with 784 additions and 784 deletions.
224 changes: 112 additions & 112 deletions build/charts/antrea/crds/egress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,126 +7,126 @@ metadata:
spec:
group: crd.antrea.io
versions:
- name: v1alpha2
served: true
storage: true
schema:
openAPIV3Schema:
type: object
required:
- spec
properties:
spec:
type: object
required:
- appliedTo
oneOf:
- anyOf:
- required:
- egressIP
- required:
- externalIPPool
- anyOf:
- required:
- egressIPs
- required:
- externalIPPools
properties:
appliedTo:
type: object
properties:
podSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
enum:
- In
- NotIn
- Exists
- DoesNotExist
type: string
values:
type: array
items:
- name: v1alpha2
served: true
storage: true
schema:
openAPIV3Schema:
type: object
required:
- spec
properties:
spec:
type: object
required:
- appliedTo
oneOf:
- anyOf:
- required:
- egressIP
- required:
- externalIPPool
- anyOf:
- required:
- egressIPs
- required:
- externalIPPools
properties:
appliedTo:
type: object
properties:
podSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
pattern: "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$"
matchLabels:
x-kubernetes-preserve-unknown-fields: true
namespaceSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
enum:
- In
- NotIn
- Exists
- DoesNotExist
type: string
values:
type: array
items:
operator:
enum:
- In
- NotIn
- Exists
- DoesNotExist
type: string
pattern: "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$"
matchLabels:
x-kubernetes-preserve-unknown-fields: true
egressIP:
type: string
oneOf:
- format: ipv4
- format: ipv6
egressIPs:
type: array
items:
values:
type: array
items:
type: string
pattern: "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$"
matchLabels:
x-kubernetes-preserve-unknown-fields: true
namespaceSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
enum:
- In
- NotIn
- Exists
- DoesNotExist
type: string
values:
type: array
items:
type: string
pattern: "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$"
matchLabels:
x-kubernetes-preserve-unknown-fields: true
egressIP:
type: string
oneOf:
- maxLength: 0
- format: ipv4
- format: ipv6
externalIPPool:
type: string
externalIPPools:
type: array
items:
- format: ipv4
- format: ipv6
egressIPs:
type: array
items:
type: string
oneOf:
- maxLength: 0
- format: ipv4
- format: ipv6
externalIPPool:
type: string
externalIPPools:
type: array
items:
type: string
status:
type: object
properties:
egressNode:
type: string
egressIP:
type: string
status:
type: object
properties:
egressNode:
type: string
egressIP:
type: string
additionalPrinterColumns:
- description: The effective SNAT IP address for the selected workloads.
jsonPath: .status.egressIP
name: EgressIP
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- description: The Owner Node of egress IP
jsonPath: .status.egressNode
name: Node
type: string
subresources:
status: {}
additionalPrinterColumns:
- description: The effective SNAT IP address for the selected workloads.
jsonPath: .status.egressIP
name: EgressIP
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- description: The Owner Node of egress IP
jsonPath: .status.egressNode
name: Node
type: string
subresources:
status: {}
scope: Cluster
names:
plural: egresses
singular: egress
kind: Egress
shortNames:
- eg
- eg
Loading

0 comments on commit a6e4116

Please sign in to comment.