Skip to content

Commit

Permalink
add TemplateExtraVars to NginxConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheu committed Jan 17, 2024
1 parent 25b9074 commit bf66cc8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/v1alpha1/rpaasplan_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ type NginxConfig struct {

WorkerProcesses int `json:"workerProcesses,omitempty"`
WorkerConnections int `json:"workerConnections,omitempty"`

TemplateExtraVars map[string]string `json:"templateExtraVars,omitempty"`
}

type CacheSnapshotSyncSpec struct {
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/extensions.tsuru.io_rpaasflavors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,10 @@ spec:
type: string
syslogTag:
type: string
templateExtraVars:
additionalProperties:
type: string
type: object
upstreamKeepalive:
type: integer
user:
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/extensions.tsuru.io_rpaasinstances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,10 @@ spec:
type: string
syslogTag:
type: string
templateExtraVars:
additionalProperties:
type: string
type: object
upstreamKeepalive:
type: integer
user:
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/extensions.tsuru.io_rpaasplans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ spec:
type: string
syslogTag:
type: string
templateExtraVars:
additionalProperties:
type: string
type: object
upstreamKeepalive:
type: integer
user:
Expand Down

0 comments on commit bf66cc8

Please sign in to comment.