Search code examples
gatewaykubernetes-ingressistio

Istio Ingress Gateway using SDS failing due to credential Name


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

Solution

  • 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.