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 Oct 11, 2024
1 parent 20f54b6 commit 12fee7e
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 @@ -1031,6 +1031,7 @@
"targetPort": {
"minimum": 0,
"type": [
"string",
"integer",
"null"
]
Expand Down Expand Up @@ -1194,6 +1195,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 @@ -606,7 +606,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 @@ -645,7 +645,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 12fee7e

Please sign in to comment.