Skip to content

1.8.3 generates ingress gateways, even when disabled. 1.8.2 did not #30756

Closed

Description

@Stono

Bug description
Templating Istio 1.8.3 using istioctl generates ingress gateways, despite the istiooperator.yaml disabling them. The same set of values on 1.8.2 do not generate the ingress.

apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  creationTimestamp:
spec:
  components:
    ...
    ingressGateways:
    egressGateways:
  meshConfig:
  ...
    ingressControllerMode: 'OFF'

Activity

  1. Stono commented on Feb 9, 2021

    @Stono
    ContributorAuthor

    Workaround for this is to populate the array:

        ingressGateways:
        - name: istio-ingressgateway
          enabled: false
    
  2. added this to the 1.8 milestone on Feb 9, 2021
  3. morvencao commented on Feb 10, 2021

    @morvencao
    Member

    This is caused by the these lines:

    iopSpecOverlay, err := tpath.GetConfigSubtree(userOverlayYaml, "spec")
    if err != nil {
    return "", fmt.Errorf("error getting iop spec subtree from overlay yaml %v", err)
    }
    err = yaml.Unmarshal([]byte(iopSpecOverlay), &iopSpecTree)
    if err != nil {
    return "", fmt.Errorf("error unmarshalling spec overlay yaml into tree %v", err)
    }

    These were added after 1.8.3 to fix env reverse translate issue, the IOP unmarshal will removed the empty fields, which will cause different helm values after merging with base values.

  4. added
    lifecycle/staleIndicates a PR or issue hasn't been manipulated by an Istio team member for a while
    on May 12, 2021
  5. istio-policy-bot commented on May 27, 2021

    @istio-policy-bot

    🚧 This issue or pull request has been closed due to not having had activity from an Istio team member since 2021-02-10. If you feel this issue or pull request deserves attention, please reopen the issue. Please see this wiki page for more information. Thank you for your contributions.

    Created by the issue and PR lifecycle manager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/environmentslifecycle/automatically-closedIndicates a PR or issue that has been closed automatically.lifecycle/staleIndicates a PR or issue hasn't been manipulated by an Istio team member for a while

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions