Skip to content

Commit

Permalink
Values: Use enum instead of pattern.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gacko committed Mar 16, 2023
1 parent 9ecdb9b commit fa5471c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions helm/nginx-ingress-controller-app/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
},
"failurePolicy": {
"type": "string",
"enum": ["Ignore", "Fail"]
"enum": ["Fail", "Ignore"]
},
"key": {
"type": "string"
Expand Down Expand Up @@ -561,7 +561,8 @@
"type": "array"
},
"externalTrafficPolicy": {
"type": "string"
"type": "string",
"enum": ["Cluster", "Local"]
},
"labels": {
"type": "object"
Expand Down Expand Up @@ -766,7 +767,7 @@
},
"externalTrafficPolicy": {
"type": "string",
"pattern": "(Local|Cluster)"
"enum": ["Cluster", "Local"]
},
"healthCheckNodePort": {
"type": "integer"
Expand All @@ -782,7 +783,7 @@
},
"externalTrafficPolicy": {
"type": "string",
"pattern": "(Local|Cluster)"
"enum": ["Cluster", "Local"]
},
"loadBalancerIP": {
"type": "string"
Expand Down Expand Up @@ -823,7 +824,7 @@
},
"ipFamilyPolicy": {
"type": "string",
"pattern": "(SingleStack|PreferDualStack|RequireDualStack)"
"enum": ["SingleStack", "PreferDualStack", "RequireDualStack"]
},
"labels": {
"type": "object"
Expand Down Expand Up @@ -867,7 +868,7 @@
},
"sessionAffinity": {
"type": "string",
"pattern": "(None|ClientIP)"
"enum": ["None", "ClientIP"]
},
"subdomain": {
"type": "string"
Expand Down

0 comments on commit fa5471c

Please sign in to comment.