Istio Ingress Gateway using SDS failing due to credential Name

4/16/2019

I'm trying to follow the instructions from: https://istio.io/docs/tasks/traffic-management/secure-ingress/sds/

However, when trying to create the Ingress Gateway, I am getting some form of validation error.

Much googling hasn't found me anything!

Error from server: error when creating "STDIN": admission webhook "pilot.validation.istio.io" denied the request: error decoding configuration: YAML decoding error: selector:
  istio: ingressgateway
servers:
- hosts:
  - httpbin.example.com
  port:
    name: https
    number: 443
    protocol: HTTPS
  tls:
    credentialName: httpbin-credential
    mode: SIMPLE
 unknown field "credentialName" in v1alpha3.Server_TLSOptions
-- James Woodley
gateway
istio
kubernetes-ingress

1 Answer

4/17/2019

The error is specifically

unknown field "credentialName" in v1alpha3.Server_TLSOptions

The feature you're trying to use is only available in Istio 1.1; you'll need to upgrade to the 1.1 series (probably 1.1.2 or 1.1.3 to take advantage of the security fixes) to get at this.

-- Mike Scott
Source: StackOverflow