Search code examples
istio

Install Istio by using istioctl from private registry


I need to install istio from a private registry, I can set the private registry with "--set hub=xxx.xxx.io" but didn't find a way to provide image pull secrets as my registry is login required.


Solution

  • I think the value you're looking for is global.imagePullSecrets. There is related github issue and documentation about that.

    global.imagePullSecrets []  Lists the secrets you need to use to pull Istio images from a private registry.
    

    You should be able to change it either with

    istioctl

    istioctl install --set values.global.imagePullSecrets
    

    or


    istio operator

    apiVersion: install.istio.io/v1alpha1
    kind: IstioOperator
    spec:
      values:
        global:
          imagePullSecrets:
    

    Additionally there is thread on discuss.istio about that.