Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow turning proxy on and off #1540

Merged
merged 74 commits into from
Nov 7, 2024
Merged

Commits on Oct 10, 2024

  1. add tasks to update-noproxy-envs.yml playbook

    The tasks update proxy envs in /etc/environment on each node. Should allow turning proxy on and off
    JKBGIT1 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    999d504 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Configuration menu
    Copy the full SHA
    7298b46 View commit details
    Browse the repository at this point in the history
  2. add NOTE comment to ansibler_caller.go

    the UpdateNoProxyEnvs has to be called after setup loadbalancers
    JKBGIT1 committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    6695235 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d2363a5 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Configuration menu
    Copy the full SHA
    c441f84 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27fe6ff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    47a0c3a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0f5ba7b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    737bcea View commit details
    Browse the repository at this point in the history
  6. format proxy file with gofmt

    JKBGIT1 committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    686424c View commit details
    Browse the repository at this point in the history
  7. trigger CI

    JKBGIT1 committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    0f94b75 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1f11eaa View commit details
    Browse the repository at this point in the history
  9. Auto commit - update kustomization.yaml

    CI/CD pipeline authored and CI/CD pipeline committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    015910c View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. remove backrefs: yes from update-proxy-envs.yml

    from now on if regexp doesn't match it adds the line at the end of the /etc/environment
    JKBGIT1 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    a0527c7 View commit details
    Browse the repository at this point in the history
  2. use desiredK8sCluster NPs to get common dynamic and static NPs

    not sufficient, requires same as K8sControlPlaneNodepools in proxy inventory
    JKBGIT1 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    7b58148 View commit details
    Browse the repository at this point in the history
  3. add CurrentLbs to UpdateApiEndpoint

    currentLbs are required to obtain LBs hostnames and add them to noProxyList
    JKBGIT1 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    aaf11e4 View commit details
    Browse the repository at this point in the history
  4. build noProxyList in LB gRPC calls and pass it to HandleAPIEndpointCh…

    …ange
    
    tear down and setup LBs gRPC calls contains all LB clusters which are required for noProxyList
    JKBGIT1 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    bb2a587 View commit details
    Browse the repository at this point in the history
  5. rename UpdateProxyEnvs to UpdateNoProxyEnvsInK8s

    this gRPC call handles only change of NO_PROXY and no_proxy envs in kube-proxy and static pods from now on
    JKBGIT1 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    bce89af View commit details
    Browse the repository at this point in the history
  6. add UpdateProxyEnvsOnNodes gRPC call

    updates proxy envs in /etc/environment on each k8s nodes. builder calls this as a first gRPC call when starting with ansibler phase
    JKBGIT1 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    3854978 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. rename UpdateNoProxyEnvsInK8s to UpdateNoProxyEnvsInKubernetes

    the generated UpdateNoProxyEnvsInK8s was sometimes with capital "s" in generated files
    JKBGIT1 committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    5687b52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1c4c24 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Configuration menu
    Copy the full SHA
    6cb95b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b48524 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7f6e7a View commit details
    Browse the repository at this point in the history
  4. build no proxy list twice in ansibler_caller

    the first time it is build from the nodes in the current state the second time it is build from the desired state because the VPN was installed already
    JKBGIT1 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    1b49f12 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Configuration menu
    Copy the full SHA
    93c5131 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71f9de3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    468f121 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    40a6e9d View commit details
    Browse the repository at this point in the history
  5. update proxy conditions in builder + restart containerd and kubelet o…

    …nly on nodes that have them
    JKBGIT1 committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    c28e07f View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Configuration menu
    Copy the full SHA
    fb9cdfa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e87e943 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    75514e6 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Configuration menu
    Copy the full SHA
    979f1bd View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. stop using current state in UpdateProxyEnvsOnNodes and update proxy e…

    …nvs in /etc/environment even when cluster isn't build
    JKBGIT1 committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    da9318a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e85c926 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5d72726 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1241b93 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. Configuration menu
    Copy the full SHA
    4d938c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    613d1ce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd6ab29 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0ee5339 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8395275 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fe94a8b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6b27a1d View commit details
    Browse the repository at this point in the history
  8. Auto commit - update kustomization.yaml

    CI/CD pipeline authored and CI/CD pipeline committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    8dc0ab5 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. trigger CI

    JKBGIT1 committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    1d82d12 View commit details
    Browse the repository at this point in the history
  2. Auto commit - update kustomization.yaml

    CI/CD pipeline authored and CI/CD pipeline committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    ea80f12 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Configuration menu
    Copy the full SHA
    1b40480 View commit details
    Browse the repository at this point in the history
  2. Auto commit - update kustomization.yaml

    CI/CD pipeline authored and CI/CD pipeline committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    bc1494f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f41e23 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    931780b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    02da8fe View commit details
    Browse the repository at this point in the history
  6. Auto commit - update kustomization.yaml

    CI/CD pipeline authored and CI/CD pipeline committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    bb10f4d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0177190 View commit details
    Browse the repository at this point in the history
  8. don't return current state from UpdateNoProxyEnvsInKubernetes

    current state isn't change thus there's no need to return it from the gRPC call
    JKBGIT1 committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    00a39c4 View commit details
    Browse the repository at this point in the history
  9. pass proxyEnvs to ChangeAPIEndpoint and HandleAPIEndpointChange

    instead of passing two seperates strings (httpProxyUrl, noProxyList) pass just one proxyEnvs with both values
    JKBGIT1 committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    823d8f2 View commit details
    Browse the repository at this point in the history
  10. Auto commit - update kustomization.yaml

    CI/CD pipeline authored and CI/CD pipeline committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    849b3f8 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. create DetermineProxyUpdate function

    move a logic of behind decision to update proxy envs to a separate function DetermineProxyUpdate
    JKBGIT1 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    d28ca6e View commit details
    Browse the repository at this point in the history
  2. Auto commit - update kustomization.yaml

    CI/CD pipeline authored and CI/CD pipeline committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    adeb9fd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    741945a View commit details
    Browse the repository at this point in the history
  4. Auto commit - update kustomization.yaml

    CI/CD pipeline authored and CI/CD pipeline committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    1b18ae4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c58d7b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    771d630 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a95f79d View commit details
    Browse the repository at this point in the history
  8. Auto commit - update kustomization.yaml

    CI/CD pipeline authored and CI/CD pipeline committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    f2b2171 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. update test sets

    Despire committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    4a6a68e View commit details
    Browse the repository at this point in the history
  2. Auto commit - update kustomization.yaml

    CI/CD pipeline authored and CI/CD pipeline committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    c9b9396 View commit details
    Browse the repository at this point in the history
  3. update test-sets

    Despire committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    5a52096 View commit details
    Browse the repository at this point in the history
  4. Auto commit - update kustomization.yaml

    CI/CD pipeline authored and CI/CD pipeline committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    772241b View commit details
    Browse the repository at this point in the history
  5. update test-sets

    Despire committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    a1f8b6b View commit details
    Browse the repository at this point in the history
  6. Auto commit - update kustomization.yaml

    CI/CD pipeline authored and CI/CD pipeline committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    18f3d2e View commit details
    Browse the repository at this point in the history
  7. update test-sets

    Despire committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    4be5a6a View commit details
    Browse the repository at this point in the history
  8. Auto commit - update kustomization.yaml

    CI/CD pipeline authored and CI/CD pipeline committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    2a059ea View commit details
    Browse the repository at this point in the history