Skip to content

Commit c5aec6c

Browse files
committed
tweak ingress schema
1 parent 0d79e50 commit c5aec6c

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

charts/library/common/schemas/ingress.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@
5656
},
5757
"pathType": {
5858
"type": "string",
59-
"description": "Define the path type for this ingress"
59+
"enum": [
60+
"Prefix",
61+
"Exact",
62+
"ImplementationSpecific"
63+
],
64+
"description": "Define the path type for this ingress (Prefix, Exact, ImplementationSpecific)"
6065
},
6166
"overrideService": {
6267
"type": "object",
@@ -93,7 +98,7 @@
9398
"additionalProperties": true,
9499
"description": "Configuration for `ingress.main.hosts.$item`."
95100
},
96-
"description": "Create Ingress objects"
101+
"description": "Define the hosts for this ingress"
97102
},
98103
"tls": {
99104
"type": "array",
@@ -105,7 +110,7 @@
105110
"items": {
106111
"type": "string"
107112
},
108-
"description": "Define the hosts for this TLS entry"
113+
"description": "Define the hosts for this TLS"
109114
},
110115
"secretName": {
111116
"type": "string",
@@ -123,7 +128,7 @@
123128
"additionalProperties": true,
124129
"description": "Configuration for `ingress.main.tls.$item`."
125130
},
126-
"description": "Create Ingress objects"
131+
"description": "Define TLS for this ingress"
127132
},
128133
"integrations": {
129134
"type": "object",
@@ -608,7 +613,12 @@
608613
},
609614
"pathType": {
610615
"type": "string",
611-
"description": "Define the path type for this ingress"
616+
"enum": [
617+
"Prefix",
618+
"Exact",
619+
"ImplementationSpecific"
620+
],
621+
"description": "Define the path type for this ingress (Prefix, Exact, ImplementationSpecific)"
612622
},
613623
"overrideService": {
614624
"type": "object",
@@ -657,7 +667,7 @@
657667
"items": {
658668
"type": "string"
659669
},
660-
"description": "Define the hosts for this TLS entry"
670+
"description": "Define the hosts for this TLS"
661671
},
662672
"secretName": {
663673
"type": "string",

0 commit comments

Comments
 (0)