Skip to content

Commit

Permalink
Rename snippets field name
Browse files Browse the repository at this point in the history
  • Loading branch information
LorcanMcVeigh authored and soneillf5 committed Mar 10, 2021
1 parent 5ab2e1e commit 1ab1650
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
type: string
protocol:
type: string
server-snippets:
serverSnippets:
type: string
sessionParameters:
description: SessionParameters defines session parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
type: string
protocol:
type: string
server-snippets:
serverSnippets:
type: string
sessionParameters:
description: SessionParameters defines session parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
type: string
protocol:
type: string
server-snippets:
serverSnippets:
type: string
sessionParameters:
description: SessionParameters defines session parameters.
Expand Down
2 changes: 1 addition & 1 deletion docs-web/configuration/transportserver-resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ metadata:
name: cafe
spec:
host: cafe.example.com
snippets: |
serverSnippets: |
deny 192.168.1.1;
allow 192.168.1.0/24;
upstreams:
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/configuration/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ type TransportServer struct {
type TransportServerSpec struct {
IngressClass string `json:"ingressClassName"`
Listener TransportServerListener `json:"listener"`
ServerSnippets string `json:"server-snippets"`
ServerSnippets string `json:"serverSnippets"`
Host string `json:"host"`
Upstreams []Upstream `json:"upstreams"`
UpstreamParameters *UpstreamParameters `json:"upstreamParameters"`
Expand Down

0 comments on commit 1ab1650

Please sign in to comment.