Skip to content

Commit

Permalink
USHIFT-2087: Add range docs to ports
Browse files Browse the repository at this point in the history
  • Loading branch information
pacevedom committed Apr 4, 2024
1 parent 0b11056 commit 7e1ea19
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cmd/generate-config/config/config-openapi-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@
],
"properties": {
"http": {
"description": "Default router http port.",
"description": "Default router http port. Must be in range 1-65535.",
"type": "integer",
"default": 80
},
"https": {
"description": "Default router https port.",
"description": "Default router https port. Must be in range 1-65535.",
"type": "integer",
"default": 443
}
Expand Down
4 changes: 2 additions & 2 deletions packaging/microshift/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ etcd:
memoryLimitMB: 0
ingress:
ports:
# Default router http port.
# Default router http port. Must be in range 1-65535.
http: 80
# Default router https port.
# Default router https port. Must be in range 1-65535.
https: 443
routeAdmissionPolicy:
# Describes how host name claims across namespaces should be handled.
Expand Down
8 changes: 4 additions & 4 deletions pkg/config/ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ type RouteAdmissionPolicy struct {
}

type IngressPortsConfig struct {
// Default router http port.
// Default router http port. Must be in range 1-65535.
// +kubebuilder:default=80
Http uint16 `json:"http"`
// Default router https port.
Http int `json:"http"`
// Default router https port. Must be in range 1-65535.
// +kubebuilder:default=443
Https uint16 `json:"https"`
Https int `json:"https"`
}

0 comments on commit 7e1ea19

Please sign in to comment.