(command.CommandList
  children: [
    (C {<set>} {<-o>} {<errexit>})
    (C {<set>} {<-o>} {<nounset>})
    (C {<set>} {<-o>} {<pipefail>})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:KUBE_ROOT)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: <Id.Left_DollarParen '$('>
                child: (C {<dirname>} {(DQ (${ Id.VSub_Name BASH_SOURCE))})
              ) <'/../..'>
            }
          spids: [63]
        )
      ]
    )
    (C {<Id.Lit_Colon ':'>} 
      {
        (braced_var_sub
          token: <Id.VSub_Name KUBECTL>
          suffix_op: 
            (suffix_op.Unary
              tok: <Id.VTest_ColonEquals ':='>
              arg_word: 
                {(${ Id.VSub_Name KUBE_ROOT) <Id.Lit_Slash '/'> <cluster> <Id.Lit_Slash '/'> 
                  <kubectl.sh>
                }
            )
        )
      }
    )
    (C {<Id.Lit_Colon ':'>} 
      {
        (braced_var_sub
          token: <Id.VSub_Name KUBE_CONFIG_FILE>
          suffix_op: (suffix_op.Unary tok:<Id.VTest_ColonEquals ':='> arg_word:{(DQ <config-test.sh>)})
        )
      }
    )
    (C {<export>} {<KUBECTL>} {<KUBE_CONFIG_FILE>})
    (C {<source>} {(DQ (${ Id.VSub_Name KUBE_ROOT) <'/cluster/kube-util.sh'>)})
    (C {<prepare-e2e>})
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.DBracket
                      expr: 
                        (bool_expr.Binary
                          op_id: Id.BoolBinary_GlobDEqual
                          left: 
                            {
                              (DQ 
                                (braced_var_sub
                                  token: <Id.VSub_Name FEDERATION>
                                  suffix_op: (suffix_op.Unary tok:<Id.VTest_ColonHyphen ':-'> arg_word:(word.Empty))
                                )
                              )
                            }
                          right: {(DQ <true>)}
                        )
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:FEDERATION_NAMESPACE)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (braced_var_sub
                        token: <Id.VSub_Name FEDERATION_NAMESPACE>
                        suffix_op: 
                          (suffix_op.Unary
                            tok: <Id.VTest_ColonHyphen ':-'>
                            arg_word: {<federation-system>}
                          )
                      )
                    }
                  spids: [143]
                )
              ]
            )
            (command.ForEach
              iter_name: zone
              iter_words: [{(${ Id.VSub_Name E2E_ZONES)}]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [
                    (command.Subshell
                      child: 
                        (command.CommandList
                          children: [
                            (C {<set-federation-zone-vars>} {(DQ ($ Id.VSub_DollarName '$zone'))})
                            (C {<printf>} 
                              {
                                (DQ <Id.Lit_BadBackslash '\\'> <n> <Id.Lit_BadBackslash '\\'> 
                                  <'tChecking version for '> ($ Id.VSub_DollarName '$OVERRIDE_CONTEXT') <Id.Lit_BadBackslash '\\'> <n>
                                )
                              }
                            )
                            (C {(${ Id.VSub_Name KUBECTL)} 
                              {<--context> <Id.Lit_Equals '='> 
                                (DQ ($ Id.VSub_DollarName '$OVERRIDE_CONTEXT'))
                              } {<version>}
                            )
                          ]
                        )
                    )
                  ]
                )
            )
          ]
          spids: [121 140]
        )
      ]
      else_action: [(C {(${ Id.VSub_Name KUBECTL)} {<version>})]
    )
  ]
)