From 9a849b1bb7c5cc20032a77aafa9db083a6f0443e Mon Sep 17 00:00:00 2001 From: Luther Monson Date: Wed, 2 Mar 2022 16:47:27 -0700 Subject: [PATCH] [master] changing package to k3s-io (#4846) * changing package to k3s-io Signed-off-by: Luther Monson Co-authored-by: Derek Nola --- .github/PULL_REQUEST_TEMPLATE.md | 4 +-- BUILDING.md | 2 +- Dockerfile.dapper | 5 +-- Dockerfile.test.dapper | 2 +- Dockerfile.test.mod.dapper | 2 +- cmd/agent/main.go | 6 ++-- cmd/cert/main.go | 6 ++-- cmd/containerd/main.go | 2 +- cmd/ctr/main.go | 2 +- cmd/encrypt/main.go | 6 ++-- cmd/etcdsnapshot/main.go | 6 ++-- cmd/k3s/main.go | 16 ++++----- cmd/kubectl/main.go | 2 +- cmd/server/main.go | 26 +++++++------- contrib/ansible/README.md | 2 +- go.mod | 3 +- main.go | 18 +++++----- package/rpm/install.sh | 2 +- pkg/agent/config/config.go | 16 ++++----- pkg/agent/config/config_linux.go | 3 +- pkg/agent/config/config_windows.go | 3 +- pkg/agent/containerd/config_linux.go | 10 +++--- pkg/agent/containerd/config_windows.go | 7 ++-- pkg/agent/containerd/containerd.go | 6 ++-- pkg/agent/containerd/nvidia.go | 3 +- pkg/agent/containerd/nvidia_test.go | 3 +- pkg/agent/flannel/setup.go | 6 ++-- pkg/agent/flannel/setup_test.go | 2 +- pkg/agent/loadbalancer/config.go | 2 +- pkg/agent/loadbalancer/loadbalancer.go | 2 +- pkg/agent/loadbalancer/loadbalancer_test.go | 2 +- pkg/agent/netpol/netpol.go | 2 +- pkg/agent/netpol/netpol_windows.go | 2 +- pkg/agent/proxy/apiproxy.go | 2 +- pkg/agent/run.go | 34 +++++++++---------- pkg/agent/run_linux.go | 5 +-- pkg/agent/run_windows.go | 5 +-- pkg/agent/templates/templates.go | 2 +- pkg/agent/tunnel/tunnel.go | 8 ++--- pkg/apiaddresses/controller.go | 8 ++--- .../k3s.cattle.io/v1/zz_generated_register.go | 2 +- pkg/authenticator/basicauth/basicauth.go | 2 +- pkg/bootstrap/bootstrap.go | 2 +- pkg/bootstrap/bootstrap_test.go | 2 +- pkg/cgroups/cgroups_linux.go | 3 +- pkg/cli/agent/agent.go | 12 +++---- pkg/cli/cert/cert.go | 12 +++---- pkg/cli/cmds/agent.go | 2 +- pkg/cli/cmds/certs.go | 2 +- pkg/cli/cmds/config.go | 2 +- pkg/cli/cmds/etcd_snapshot.go | 2 +- pkg/cli/cmds/log_linux.go | 3 +- pkg/cli/cmds/root.go | 2 +- pkg/cli/cmds/secrets_encrypt.go | 2 +- pkg/cli/cmds/server.go | 2 +- pkg/cli/ctr/ctr.go | 2 +- pkg/cli/etcdsnapshot/etcd_snapshot.go | 12 +++---- pkg/cli/kubectl/kubectl.go | 2 +- pkg/cli/secretsencrypt/secrets_encrypt.go | 10 +++--- pkg/cli/server/server.go | 26 +++++++------- pkg/clientaccess/token_test.go | 4 +-- pkg/cloudprovider/cloudprovider.go | 2 +- pkg/cloudprovider/instances.go | 2 +- pkg/cluster/bootstrap.go | 10 +++--- pkg/cluster/bootstrap_test.go | 8 ++--- pkg/cluster/cluster.go | 8 ++--- pkg/cluster/encrypt.go | 2 +- pkg/cluster/etcd.go | 4 +-- pkg/cluster/https.go | 6 ++-- pkg/cluster/managed.go | 8 ++--- pkg/cluster/managed/drivers.go | 4 +-- pkg/cluster/storage.go | 6 ++-- pkg/codegen/main.go | 6 ++-- pkg/configfilearg/defaultparser.go | 4 +-- pkg/configfilearg/parser.go | 2 +- pkg/containerd/utility_windows.go | 3 +- pkg/daemons/agent/agent.go | 8 ++--- pkg/daemons/agent/agent_linux.go | 7 ++-- pkg/daemons/agent/agent_windows.go | 5 +-- pkg/daemons/agent/agent_windows_test.go | 3 +- pkg/daemons/control/auth.go | 4 +-- pkg/daemons/control/deps/deps.go | 10 +++--- pkg/daemons/control/server.go | 12 +++---- pkg/daemons/executor/embed.go | 9 ++--- pkg/daemons/executor/etcd.go | 4 +-- pkg/daemons/executor/executor.go | 4 +-- pkg/datadir/datadir.go | 2 +- pkg/deploy/controller.go | 8 ++--- pkg/etcd/etcd.go | 10 +++--- pkg/etcd/etcd_test.go | 6 ++-- pkg/etcd/etcdproxy.go | 2 +- pkg/etcd/member_controller.go | 2 +- pkg/etcd/s3.go | 2 +- pkg/flock/flock_int_test.go | 5 ++- pkg/flock/flock_other.go | 12 +++++++ .../clientset/versioned/clientset.go | 2 +- .../versioned/fake/clientset_generated.go | 6 ++-- .../clientset/versioned/fake/register.go | 2 +- .../clientset/versioned/scheme/register.go | 2 +- .../versioned/typed/k3s.cattle.io/v1/addon.go | 4 +-- .../typed/k3s.cattle.io/v1/fake/fake_addon.go | 2 +- .../v1/fake/fake_k3s.cattle.io_client.go | 2 +- .../k3s.cattle.io/v1/k3s.cattle.io_client.go | 4 +-- .../controllers/k3s.cattle.io/interface.go | 2 +- .../controllers/k3s.cattle.io/v1/addon.go | 2 +- .../controllers/k3s.cattle.io/v1/interface.go | 2 +- pkg/kubectl/main.go | 2 +- pkg/node/controller.go | 2 +- pkg/nodeconfig/nodeconfig.go | 4 +-- pkg/nodeconfig/nodeconfig_test.go | 2 +- pkg/nodepassword/nodepassword.go | 6 ++-- pkg/passwd/passwd.go | 4 +-- pkg/rootless/rootless.go | 3 +- pkg/rootlessports/controller.go | 3 +- pkg/secretsencrypt/config.go | 4 +-- pkg/secretsencrypt/controller.go | 6 ++-- pkg/server/auth.go | 2 +- pkg/server/context.go | 6 ++-- pkg/server/etcd.go | 2 +- pkg/server/router.go | 10 +++--- pkg/server/secrets-encrypt.go | 6 ++-- pkg/server/server.go | 30 ++++++++-------- pkg/server/types.go | 4 +-- pkg/servicelb/controller.go | 2 +- scripts/build | 2 +- scripts/build-tests-sonobuoy | 4 +-- scripts/package-cli | 4 +-- tests/TESTING.md | 2 +- tests/e2e/Dockerfile.build | 2 +- tests/e2e/go.mod | 2 +- .../secretsencryption_test.go | 2 +- .../e2e/upgradecluster/upgradecluster_test.go | 2 +- .../validatecluster/validatecluster_test.go | 1 - tests/integration/Dockerfile.test | 2 +- .../custometcdargs/custometcdargs_int_test.go | 2 +- .../dualstack/dualstack_int_test.go | 2 +- .../etcdrestore/etcd_restore_int_test.go | 2 +- .../etcdsnapshot/etcdsnapshot_int_test.go | 2 +- .../localstorage/localstorage_int_test.go | 2 +- .../secretsencryption_int_test.go | 2 +- tests/util/integration.go | 2 +- tests/util/unit.go | 4 +-- 142 files changed, 371 insertions(+), 341 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 8f555be469..882fa40bce 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,5 +1,5 @@ - + #### Proposed Changes #### @@ -15,7 +15,7 @@ #### Linked Issues #### - + #### User-Facing Change ####