Commit Graph

14 Commits

Author SHA1 Message Date
tao.yang 67ef0ca456 cleanup: omit comparison with bool constants
Signed-off-by: tao.yang <tao.yang@daocloud.io>

Kubernetes-commit: b35357b6c08f21ba0fd312536051394c2567ec79
2023-09-04 16:59:23 +08:00
git-jxj 826006cdb9 cleanup: Update deprecated FromInt to FromInt32 (#119858)
* redo commit

* apply suggestions from liggitt

* update Parse function based on suggestions

Kubernetes-commit: a5b3a4b738e9576b68c3083de8b72002e0b45551
2023-08-16 21:07:06 +00:00
Stephen Kitt cfd2169f88 cli: replace intstr.FromInt with intstr.FromInt32
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.

Signed-off-by: Stephen Kitt <skitt@redhat.com>

Kubernetes-commit: 45836971f27ca70cd7742e8ee66e99e3c648cf9f
2023-03-14 16:17:48 +01:00
Maciej Szulik 5e9caaade6 Clean unused generators
Kubernetes-commit: da19e5b2583fa00a13110de97448bf6452010988
2021-03-03 22:47:53 +01:00
Chok Yip Lau 31e15a5c73 Remove dependency of generators from create configmap
Kubernetes-commit: 838b189130e1a7f19b11a0764f15df1c8de32769
2021-01-10 18:47:32 -05:00
Marek Siarkowicz 01f27135e8 Add datapolicy tags to staging/src/k8s.io/kubectl
Kubernetes-commit: 4b29b03573ff66c32224672d9e7e4c1dbfe2c414
2020-10-29 18:11:22 +01:00
Sai Harsha Kottapalli abcbb6390c allow adding annotations to pod when using kubectl run and add tests
Kubernetes-commit: 661de7f39eeab6a6977d59f9a24129477f7c5815
2020-07-23 19:37:22 +05:30
Brian Pursley 683f5c08eb Added --privileged flag to kubectl run
Kubernetes-commit: cd005c1da41e54971319030687cecafec4884868
2020-04-28 16:30:59 -04:00
Jie Shen 5b17a56c1b Use utils.net to parse ports instead of atoi (#89120)
Kubernetes-commit: 363bb3914296d5330dce29631fb6003c335cfcf7
2020-04-22 06:49:46 +00:00
zhouya0 77be642341 fix kubectl create deployment image name
Kubernetes-commit: 5db45e12d545c69176ead8a4e866ab303776ed5e
2019-12-26 14:42:00 +08:00
Naoki Oketani 5e85c16f12 `kubectl create clusterrolebinding` creates rbac.authorization.k8s.io/v1 object
Kubernetes-commit: 901d7de5566e9a5e6f99c7ce6f93339cc0d5a3ce
2019-12-04 19:12:10 +09:00
Tim Allclair 6fca42a14a Ensure testing credentials are labeled as such
Kubernetes-commit: 9d3670f3586c98c02cdca93b7c98dd91fc0b87bd
2020-02-04 10:36:05 -08:00
Maciej Szulik c6c7c0dfb8 Remove kubectl run generators
Kubernetes-commit: 82f97775b7c2317a8ca45e616a09e447da987ab2
2020-01-09 17:09:51 +01:00
Sean Sullivan 8d3b6cf140 Move pkg/kubectl/generate to staging
Kubernetes-commit: 902789d3752b2bb3eb60d2052083c8605cc6be63
2019-07-27 20:58:04 -07:00