kubectl/pkg/cmd
Maciej Szulik 060525a7e8 Introduce proper LoadPreference method to read kuberc file
This allows us to drop direct yaml.Unmarshal invocation and replace it
with proper kuberc.LoadPreference invocations which rely on our
conversion mechanisms.

Signed-off-by: Maciej Szulik <soltysh@gmail.com>

Kubernetes-commit: 2467adee59acd3a7575fd771a77a6ef25df05b7b
2026-05-21 12:25:09 +02:00
..
annotate Use canonical json-patch v4 import 2024-02-16 13:57:24 +01:00
apiresources Return error in case of discovery client failure 2025-10-23 19:28:18 -03:00
apply kubectl: improve -f flag usage descriptions 2026-04-28 12:37:45 +08:00
attach De-ducplicate and clean logic in FindOrDefaultContainerByName 2026-03-04 11:44:25 +01:00
auth Move away from deprecated term.AllowsColorOutput (#135454) 2025-12-18 15:24:01 +00:00
autoscale Fix inconsistent comment 2026-05-10 00:07:00 +09:00
certificates Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
clusterinfo Drop go-colortext and its usage 2024-11-01 09:55:42 -04:00
completion docs: quote PowerShell completion script path ($HOME may contain spaces) 2025-10-18 04:19:32 -05:00
config kubectl config set-context: Add -n flag 2025-10-02 17:26:18 +02:00
cp Escape path inside the container 2026-03-10 11:57:12 +01:00
create Discard unused return from cmd.Flags().Set in test 2026-04-22 09:45:15 +01:00
debug Update staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go 2026-01-16 23:45:12 +09:00
delete kubectl wait: Support multiple conditions (#136855) 2026-03-04 21:00:27 +03:00
describe kubectl: add additional command suggestFor for describe and get 2026-03-08 02:49:37 +05:30
diff Lint: Activate modernize/forvar rule in golangci-lint. 2026-03-05 00:11:40 +01:00
drain Move away from deprecated term.AllowsColorOutput (#135454) 2025-12-18 15:24:01 +00:00
edit switch to latest sigs.k8s.io/yaml v1.5.0 (run update-gofmt.sh as well) 2025-06-25 08:03:06 -04:00
events Use generic sets rather than deprecated sets.String 2024-11-21 13:22:39 +03:00
exec kubectl: strict check for exec command (#138214) 2026-04-23 08:37:14 +08:00
explain kubectl explain: Add -r shorthand flag for --recursive (#135283) 2025-12-18 05:00:32 +01:00
expose Drop generators entirely from kubectl 2026-04-08 17:14:35 +02:00
get kubectl: honor --label-columns with custom-columns (#138094) 2026-04-23 03:26:58 +00:00
kuberc Introduce proper LoadPreference method to read kuberc file 2026-05-21 12:25:09 +02:00
kustomize Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
label kubectl label: Add 'modified' output version 2025-10-24 12:47:17 +02:00
logs Use provided context in RunLogsContext 2026-03-05 20:12:01 -05:00
options replace deprecated setoutput 2022-04-05 14:04:22 +08:00
patch kubectl: drop dependency on github.com/pkg/errors 2025-05-26 10:44:46 +02:00
plugin Fix kubectl plugin list overshadow detection on Windows 2026-02-02 22:09:05 +09:00
portforward staging: extract CRI streaming modules with client-go compatibility 2026-02-28 19:40:07 -05:00
proxy Add warning into kubectl proxy 2026-05-15 09:32:33 +03:00
replace kubectl: improve -f flag usage descriptions 2026-04-28 12:37:45 +08:00
rollout add warning when kubectl rollout undo is used on apply-managed resources 2026-02-17 03:05:25 +01:00
run fix duplicate logs suring run command when attachment to pod fails 2026-05-15 16:00:58 +01:00
scale Reflect expected replica count to the output of kubectl scale 2026-02-11 15:12:44 +03:00
set Drop generators entirely from kubectl 2026-04-08 17:14:35 +02:00
taint Use generic sets rather than deprecated sets.String 2024-11-21 13:22:39 +03:00
testing Add feature toggle for OpenAPI V3 apply in kubectl 2023-10-27 01:23:19 -04:00
top kubectl: filter top pod metrics using pod field selectors (#139107) 2026-05-22 23:09:55 +00:00
util fix: use klog.Infof to properly format DebugError output in StandardErrorMessage 2026-04-20 17:54:44 +08:00
version Update kubectl kustomize to kyaml/v0.21.1, cmd/config/v0.21.1, api/v0.21.1, kustomize/v5.8.1 2026-02-10 04:00:25 +09:00
wait kubectl: use %w for error wrapping and remove redundant .Error() calls (#138223) 2026-04-23 08:37:22 +08:00
alpha.go Promote kubectl kuberc commands to beta 2026-01-30 09:23:14 +03:00
cmd.go add warning when kubectl rollout undo is used on apply-managed resources 2026-02-17 03:05:25 +01:00
cmd_test.go kubectl: set KUBECTL_PATH environment variable during plugin execution (#138694) 2026-05-05 09:43:29 +00:00
plugin.go kubectl: set KUBECTL_PATH environment variable during plugin execution (#138694) 2026-05-05 09:43:29 +00:00
profiling.go kubectl: Add support for tracing 2025-10-23 17:04:30 +02:00
skiplookerr_go118.go build: remove deprecated '// +build' tag 2025-12-01 15:54:18 +01:00
skiplookerr_go119.go build: remove deprecated '// +build' tag 2025-12-01 15:54:18 +01:00