File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,15 @@ const (
30
30
discoveryGroup = "discovery.k8s.io/v1"
31
31
)
32
32
33
+ // ClientSettingsPolicy validation errors.
34
+ const (
35
+ expectedTargetRefKindError = `TargetRef Kind must be one of: Gateway, HTTPRoute, or GRPCRoute`
36
+ expectedTargetRefGroupError = `TargetRef Group must be gateway.networking.k8s.io.`
37
+ expectedHeaderWithoutServerError = `header can only be specified if server is specified`
38
+ )
39
+
40
+ // NginxProxy validation errors.
33
41
const (
34
- expectedTargetRefKindError = `TargetRef Kind must be one of: Gateway, HTTPRoute, or GRPCRoute`
35
- expectedTargetRefGroupError = `TargetRef Group must be gateway.networking.k8s.io.`
36
- expectedHeaderWithoutServerError = `header can only be specified if server is specified`
37
42
expectedOneOfDeploymentOrDaemonSetError = `only one of deployment or daemonSet can be set`
38
43
expectedIfModeSetTrustedAddressesError = `if mode is set, trustedAddresses is a required field`
39
44
expectedMinReplicasLessThanOrEqualError = `minReplicas must be less than or equal to maxReplicas`
You can’t perform that action at this time.
0 commit comments