Commit Graph

14 Commits

Author SHA1 Message Date
Nancy Butler aac16915fe fix validation no affinity defined 2020-11-05 09:27:02 -07:00
Nancy Butler 2ea93d1be9 validate pod affinity/antiafiinity 2020-11-03 13:40:12 -07:00
Nancy Butler 71585a503e pr feedback 2020-10-29 13:45:37 -07:00
Nancy Butler 2ae4685e3b simple custom validators 2020-10-29 13:44:55 -07:00
Cody Jackson 0118e0c984 Adding the route alertmanager route type
- Extracted code that could be shared between route and receiver into an alertmanagerconfig util
- Added some more support code to allow users to dynamically add/remove uncreatableTypes

rancher/dashboard#1239
2020-10-27 16:10:01 -07:00
Westly Wright 6785a33aea
Change rule group label to start at one instead of zero
formatting
2020-10-23 15:51:57 -07:00
Westly Wright 564d7337ce
Prometheus Rules Custom UI Components 2020-10-23 15:25:03 -07:00
Westly Wright 37dec3ba6b
remove headless check as reaching this error is not possible in the UI 2020-10-20 10:59:26 -07:00
Westly Wright e45da6c823
PR feedback checking targetPort is number
removed a function that coerced target port to a number all the time which is not valid as it can be a string
2020-10-20 10:23:38 -07:00
Westly Wright aa33b16785
Service validation
Adds the following validation:
Service Ports - adds extra checks for port name, fixes invalid check for externalname services
ClusterIP - Conditional Checks on service types and ip none check
ExternalName
2020-10-20 08:58:18 -07:00
Cody Jackson 29aaa185e5 Adding validation to verify atleast one local or global output is selected
rancher/dashboard#
2020-10-02 15:06:05 -07:00
Vincent Fiduccia 94cb6a49d7
Use individual lodash modules 2020-07-10 11:25:45 -07:00
Westly Wright 69452c7154
review feedback 2020-06-15 11:55:16 -07:00
Westly Wright 96c951f262
Adds client side validation
Supports basic scalar types string, int, bool, array etc
Supports custom validation logic

Adds initial service validations
Adds additional error processing logic to better parse Kubernetes api errors

Fixes some minor bugs found while writing custom validtion for service

rancher/dashboard#189
2020-06-15 08:57:35 -07:00