Edgar Peixoto
Edgar Peixoto

Reputation: 559

Error on installing Istio - Failed to apply manifests

I am trying to follow this doc. But when I try to execute this command:

istioctl manifest apply \
  --set values.gateways.istio-ingressgateway.sds.enabled=true \
  --set values.global.k8sIngress.enabled=true \
  --set values.global.k8sIngress.enableHttps=true \
  --set values.global.k8sIngress.gatewayName=ingressgateway

I receive the following error:

Run the command with the --force flag if you want to ignore the validation error and proceed. Error: failed to apply manifests: unknown field "k8sIngress" in v1alpha1.GlobalConfig

My istioctl version is 1.6.0

Upvotes: 1

Views: 1897

Answers (2)

sachin
sachin

Reputation: 1350

I think the doc you mentioned is not updated.In the english(main) branch of the website,the task is no more mentioned .Check this link.

May be This helps.This doc gives guidelines on integeration with cert-manager.

Upvotes: 0

Piotr Malec
Piotr Malec

Reputation: 3647

This can be worked around with istio Operator.

The values You have issues with would look something like this:

apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  components:
    ingressGateways:
    - name: istio-ingressgateway
      enabled=true
      enableHttps=true
      gatewayName=ingressgateway

Hope it helps.

Upvotes: 1

Related Questions