Skip to content

Commit

Permalink
fix(schema): 🐛 targetPort can also be a string
Browse files Browse the repository at this point in the history
  • Loading branch information
darkweaver87 authored and mloiseleur committed Oct 11, 2024
1 parent 37f9f12 commit c64c50a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions traefik/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,7 @@
"targetPort": {
"minimum": 0,
"type": [
"string",
"integer",
"null"
]
Expand Down Expand Up @@ -1215,6 +1216,7 @@
"targetPort": {
"minimum": 0,
"type": [
"string",
"integer",
"null"
]
Expand Down
4 changes: 2 additions & 2 deletions traefik/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ ports:
default: true
exposedPort: 80
## -- Different target traefik port on the cluster, useful for IP type LB
targetPort: # @schema type:[integer, null]; minimum:0
targetPort: # @schema type:[string, integer, null]; minimum:0
# The port protocol (TCP/UDP)
protocol: TCP
# -- See [upstream documentation](https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport)
Expand Down Expand Up @@ -653,7 +653,7 @@ ports:
default: true
exposedPort: 443
## -- Different target traefik port on the cluster, useful for IP type LB
targetPort: # @schema type:[integer, null]; minimum:0
targetPort: # @schema type:[string, integer, null]; minimum:0
## -- The port protocol (TCP/UDP)
protocol: TCP
# -- See [upstream documentation](https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport)
Expand Down

0 comments on commit c64c50a

Please sign in to comment.