-
We have legacy SQL server which has underscore (_) in the FQDN, this is causing the Admission webhook "validation.istio.io" complaining about the configuration. I have tried to remove the underscore to test and its happy without underscore, so I believe the problem is on the underscore in FQDN in the ServiceEntry. Is there anyway to bypass the validation and have istio accepting the FQDN for the ServiceEntry? Istio version
Error
Yaml---
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
name: sqlserver-db
namespace: sample
spec:
hosts:
- "glb_d000.mydomain.net"
addresses:
- 10.0.0.0
location: MESH_EXTERNAL
exportTo:
- "."
ports:
- name: tcp
number: 23603
protocol: TCP
Related codevalidateFQDNistio/pkg/config/validation/validation.go Lines 265 to 270 in 2f54c6a validateDNS1123Labelsistio/pkg/config/validation/validation.go Lines 298 to 314 in 2f54c6a IsDNS1123Labelistio/pkg/config/labels/instance.go Lines 111 to 113 in 2f54c6a dns1123LabelFmt does not contain _ hereistio/pkg/config/labels/instance.go Lines 28 to 49 in 2f54c6a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Our current work around is to create Internal DNS CNAME/ALIAS record for |
Beta Was this translation helpful? Give feedback.
Our current work around is to create Internal DNS CNAME/ALIAS record for
glbd000.mydomain.net
toglb_d000.mydomain.net