Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kubernetes/kubectl
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.24.5
Choose a base ref
...
head repository: kubernetes/kubectl
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.25.0
Choose a head ref

Commits on Sep 16, 2021

  1. Added --sum flag to kubectl top pod

    Kubernetes-commit: 71acf56766c966653c3d1fe0ef6f3f036277d546
    lauchokyip authored and k8s-publishing-bot committed Sep 16, 2021
    Copy the full SHA
    7254bd4 View commit details

Commits on Nov 11, 2021

  1. feat(kubectl): add debug profile applier

    Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
    
    Kubernetes-commit: fd0c15cce3d66bc2b32fc6943688425ec269d97d
    knight42 authored and k8s-publishing-bot committed Nov 11, 2021
    Copy the full SHA
    f125772 View commit details

Commits on Feb 18, 2022

  1. add a warning printer in cli-runtime to coordinate warning style

    	modified:   staging/src/k8s.io/kubectl/pkg/cmd/auth/auth.go
    
    Kubernetes-commit: 272e245f06e425fc912b1e477e8b6763850b161e
    jlsong01 authored and k8s-publishing-bot committed Feb 18, 2022
    Copy the full SHA
    ec9d048 View commit details

Commits on Mar 11, 2022

  1. Improvement: Updated the serviceaccount flag for multiple subjects.

    Kubernetes-commit: 3aa53c99a99f4dfe7d2e0faf2bf51e8252359e8d
    Shubham82 authored and k8s-publishing-bot committed Mar 11, 2022
    Copy the full SHA
    3572114 View commit details

Commits on Mar 17, 2022

  1. kubectl rollout: support recursive flag for rollout status

    Kubernetes-commit: 9d8286c82ca3c79d68d36c58e69d91cbb7032b2c
    pjo256 authored and k8s-publishing-bot committed Mar 17, 2022
    Copy the full SHA
    13c8d95 View commit details

Commits on Mar 28, 2022

  1. Add shell completion for new --subresource flag

    Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
    
    Kubernetes-commit: 33b03096f2fb283f00966350d460e6f4198d4df4
    marckhouzam authored and k8s-publishing-bot committed Mar 28, 2022
    Copy the full SHA
    7ef2d06 View commit details

Commits on Mar 29, 2022

  1. update ginkgo from v1 to v2 and gomega to 1.19.0

    - update all the import statements
    - run hack/pin-dependency.sh to change pinned dependency versions
    - run hack/update-vendor.sh to update go.mod files and the vendor directory
    - update the method signatures for custom reporters
    
    Signed-off-by: Dave Chen <dave.chen@arm.com>
    
    Kubernetes-commit: 857458cfa5b0083bc55736aaccbcf1dc796ba320
    chendave authored and k8s-publishing-bot committed Mar 29, 2022
    Copy the full SHA
    1405be3 View commit details
  2. Update rs.extensions to rs.apps

    Kubernetes-commit: ce17a027477efd933775e320b1ce6c3876c136c3
    Shubham82 authored and k8s-publishing-bot committed Mar 29, 2022
    Copy the full SHA
    e767a97 View commit details

Commits on Mar 30, 2022

  1. Updated the user and group flag.

    Kubernetes-commit: bf77c2c3e7cdd67079742996cf47bac1003ffc26
    Shubham82 authored and k8s-publishing-bot committed Mar 30, 2022
    Copy the full SHA
    32aa8d6 View commit details
  2. typo fix.

    Kubernetes-commit: d350eb75d62bc51290826b94aa1d89bb6137595b
    Shubham82 authored and k8s-publishing-bot committed Mar 30, 2022
    Copy the full SHA
    bb7ded5 View commit details

Commits on Mar 31, 2022

  1. dependencies: logr and zapr v1.2.3

    The updated zapr is more resilient against MarshalLog crashing. Not a known
    problem in Kubernetes, though.
    
    Kubernetes-commit: 3e6974e0ba67a8f598e7bc4ccedfdab928935551
    pohly authored and k8s-publishing-bot committed Mar 31, 2022
    Copy the full SHA
    082ffae View commit details

Commits on Apr 2, 2022

  1. add maxunavailable to kubectl describe

    Kubernetes-commit: c352fa514655bd154e69734e365477e753fa3409
    Mayank Kumar authored and k8s-publishing-bot committed Apr 2, 2022
    Copy the full SHA
    884f866 View commit details
  2. remove deprecated kubectl.kubernetes.io/default-logs-container support

    Kubernetes-commit: 3a9c6f2a2f59cb05fc505f66afe2bd923a0d9f58
    pacoxu authored and k8s-publishing-bot committed Apr 2, 2022
    Copy the full SHA
    266e17f View commit details

Commits on Apr 5, 2022

  1. replace deprecated setoutput

    Kubernetes-commit: 48629bcc0588773bc837d1cc69cab8b21a2057e0
    hanxiaop authored and k8s-publishing-bot committed Apr 5, 2022
    Copy the full SHA
    a833054 View commit details

Commits on Apr 12, 2022

  1. Export function returning kustomize version

    Kubernetes-commit: 8074ef58677ed41468fe82ee89f020c481c6c33b
    soltysh authored and k8s-publishing-bot committed Apr 12, 2022
    Copy the full SHA
    aa2aec1 View commit details
  2. Revert "Introduce APIs to support multiple ClusterCIDRs (#108290)"

    This reverts commit b9792a9daef4d978c5c30b6d10cbcdfa77a9b6ac.
    
    Kubernetes-commit: 7d57d5c70d04f652b431d2b86b8af40e119cd66a
    JamesLaverack authored and k8s-publishing-bot committed Apr 12, 2022
    Copy the full SHA
    0361447 View commit details

Commits on Apr 13, 2022

  1. Merge pull request #109436 from JamesLaverack/revert-108290

    Revert "Introduce APIs to support multiple ClusterCIDRs (#108290)"
    
    Kubernetes-commit: 4cdeab4696e86c9738d99e2650d2cdfdfb0f8d32
    k8s-publishing-bot committed Apr 13, 2022
    Copy the full SHA
    18a5313 View commit details

Commits on Apr 20, 2022

  1. Show topologySpreadConstraints in Describe command

    Currently describe command does not show `topologySpreadConstraints`
    field. This PR adds support for showing topologySpreadConstraints in
    describe command.For simplicity, if this field is not set, it will not show
    (unlike to other core fields whose are shown as `<none>` even if they are null).
    
    Kubernetes-commit: 64ce73f5fe2f095ba751d78aa03cf48bca42c055
    ardaguclu authored and k8s-publishing-bot committed Apr 20, 2022
    Copy the full SHA
    02b1632 View commit details

Commits on Apr 24, 2022

  1. cleanup: remove duplicate import

    Signed-off-by: Abirdcfly <fp544037857@gmail.com>
    
    Kubernetes-commit: 00b9ead02c37921011ebe5293558cea5277cd295
    Abirdcfly authored and k8s-publishing-bot committed Apr 24, 2022

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    3614667 View commit details

Commits on Apr 29, 2022

  1. Do not wrap lines if we can't read term size

    Kubernetes-commit: a1c90674b5490d06ab4baccedc897e598882c457
    soltysh authored and k8s-publishing-bot committed Apr 29, 2022
    Copy the full SHA
    5190a50 View commit details
  2. Merge pull request #109722 from soltysh/fix_templater

    Do not wrap lines if we can't read term size
    
    Kubernetes-commit: e7a2ce75e5df96ba6ea51d904bf2735397b3e203
    k8s-publishing-bot committed Apr 29, 2022
    Copy the full SHA
    472713c View commit details

Commits on May 4, 2022

  1. Merge pull request #105100 from lauchokyip/addTopSum

    Added --sum flag to kubectl top pod
    
    Kubernetes-commit: 0401cc2762b65de5b1bd2e61ed77a1a4a359b80b
    k8s-publishing-bot committed May 4, 2022
    Copy the full SHA
    3dd3651 View commit details
  2. Do not raise an error proposing to use '--overwrite' when labeling wi…

    …th the same value (#105936)
    
    * Do not propose to use '--overwrite' when labeling with the same value
    
    * Check expected error value in label_test.TestLabelFunc
    
    Kubernetes-commit: 10eb7092f854c71122c03752465e868bce23c0b6
    zigarn authored and k8s-publishing-bot committed May 4, 2022
    Copy the full SHA
    459942a View commit details
  3. Merge pull request #108654 from Shubham82/note-serviceaccount_flag_fo…

    …r_multiple-times
    
    Improvement: Updated the serviceaccount flag for multiple subjects.
    
    Kubernetes-commit: 8a437e171c42a0567e63419e2ae91a2196440aee
    k8s-publishing-bot committed May 4, 2022
    Copy the full SHA
    4805059 View commit details
  4. Merge pull request #109101 from Shubham82/Update_resource_in_create_cmd

    Update rs.extensions to rs.apps
    
    Kubernetes-commit: 2d9d7287c11f04e067dd9b776716bd3725d8034f
    k8s-publishing-bot committed May 4, 2022
    Copy the full SHA
    13ced3d View commit details
  5. Merge pull request #109251 from krmayankk/kubectl-stateful

    add maxunavailable to kubectl describe
    
    Kubernetes-commit: 7061876169716feefbcafb41a37e33f3d7b51822
    k8s-publishing-bot committed May 4, 2022
    Copy the full SHA
    f69f9ad View commit details
  6. Merge pull request #109254 from pacoxu/default-container-label

    remove deprecated kubectl.kubernetes.io/default-logs-container support
    
    Kubernetes-commit: 6b64c51fac61521fdfaf2f3f5c80f30ce9536832
    k8s-publishing-bot committed May 4, 2022
    Copy the full SHA
    83d9bbd View commit details
  7. Merge pull request #109563 from ardaguclu/describe-topologyspreadcons…

    …traints
    
    Show topologySpreadConstraints in Describe command
    
    Kubernetes-commit: b1e130fe83156783153538b6d79821c2fdaa85bb
    k8s-publishing-bot committed May 4, 2022
    Copy the full SHA
    af1141b View commit details
  8. Merge pull request #109430 from soltysh/export_kustomize_version

    Export function returning kustomize version
    
    Kubernetes-commit: 2fd498f6204c7604732d3cccd6b7e818e87fc6a3
    k8s-publishing-bot committed May 4, 2022
    Copy the full SHA
    4186224 View commit details
  9. Regenerate vendor

    Kubernetes-commit: 9e1064a26bfdc18b3272c3d9031d729793725392
    liggitt authored and k8s-publishing-bot committed May 4, 2022
    Copy the full SHA
    f1cff83 View commit details
  10. include powershell in short description for kubectl completion

    Kubernetes-commit: 67e692d521a5904aaaea446fd1642d2696cab61f
    danielhelfand authored and k8s-publishing-bot committed May 4, 2022
    Copy the full SHA
    76bcd89 View commit details

Commits on May 5, 2022

  1. Merge pull request #109440 from liggitt/gomod-1.18

    update go.mod files to go 1.18
    
    Kubernetes-commit: cb7beb591216de93bef22525a6c5f0e435e21789
    k8s-publishing-bot committed May 5, 2022
    Copy the full SHA
    810b87e View commit details
  2. Bump cel-go to v0.11.2

    Kubernetes-commit: a86dd2915771f280ff095409fc2ee917cee3c2e3
    cici37 authored and k8s-publishing-bot committed May 5, 2022
    Copy the full SHA
    db368cc View commit details
  3. Update genproto and antlr.

    Kubernetes-commit: e8f6184d8682bd4510d4e18c7c04b5799367ac51
    cici37 authored and k8s-publishing-bot committed May 5, 2022
    Copy the full SHA
    e054ff1 View commit details
  4. Update GRPC

    Kubernetes-commit: 334d8fb7a2e85d58513c2d3fae113995c8165a4b
    cici37 authored and k8s-publishing-bot committed May 5, 2022
    Copy the full SHA
    0dd7ee0 View commit details
  5. Update go-control-plane, cncf/xds/go, cncf/udpa/go and remove unused …

    …versions
    
    Kubernetes-commit: a3587c12da7f8c87e6676f472dba39f1acbae28f
    cici37 authored and k8s-publishing-bot committed May 5, 2022
    Copy the full SHA
    df43f26 View commit details
  6. Merge pull request #109804 from cici37/celUpdate

    Bump cel-go to v0.11.2
    
    Kubernetes-commit: b7c4d243de12a30bba02e23777c8ff1627263f89
    k8s-publishing-bot committed May 5, 2022
    Copy the full SHA
    aafdd7a View commit details
  7. update kubectl doc url

    Signed-off-by: xin.li <xin.li@daocloud.io>
    
    Kubernetes-commit: e89a87f708a03c5a8331639739982d426077ad3a
    my-git9 authored and k8s-publishing-bot committed May 5, 2022
    Copy the full SHA
    8207383 View commit details

Commits on May 6, 2022

  1. Define NoOptDefVal for validate flag

    validate flag does not have default value defined when there is no
    parameter passed, therefore it tries to use next irrelevant flag.
    
    This PR defines NoOptDefVal for validate flag which is set "strict".
    
    Kubernetes-commit: 0245e74590a658ea911f1e5cacd270960883af2d
    ardaguclu authored and k8s-publishing-bot committed May 6, 2022
    Copy the full SHA
    aa46cae View commit details

Commits on May 9, 2022

  1. Merge pull request #109891 from pohly/log-dependency-update

    dependencies: logr and zapr v1.2.3
    
    Kubernetes-commit: bf52c1fd46a6773b9d653ef97d94502c6e0564e5
    k8s-publishing-bot committed May 9, 2022
    Copy the full SHA
    4353781 View commit details
  2. Fix discovery cache TTL to 6 hours

    Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com>
    
    Kubernetes-commit: d2b4c017c8c4103199a4f85ba63fd3ab659f5f42
    superbrothers authored and k8s-publishing-bot committed May 9, 2022
    Copy the full SHA
    08a1f36 View commit details

Commits on May 10, 2022

  1. Add new flags into alpha events

    In order to promote kubectl alpha events to beta,
    it should at least support flags which is already
    supported by kubectl get events as well as new flags.
    
    This PR adds;
    
    --output: json|yaml support and does essential refactorings to
    integrate other printing options easier in the future.
    
    --no-headers: kubectl get events can hide headers when this flag is set for default printing.
    Adds this ability to hide headers also for kubectl alpha events.
    This flag has no effect when output is json or yaml for both commands.
    
    --types: This will be used to filter certain events to be printed and
    discard others(default behavior is same with --event=Normal,Warning).
    
    Kubernetes-commit: 63b8684cd32f96f3a1e5c5a5fd05e8194f2140fc
    ardaguclu authored and k8s-publishing-bot committed May 10, 2022
    Copy the full SHA
    fc1c4da View commit details

Commits on May 11, 2022

  1. Merge pull request #109896 from superbrothers/kubectl-delete-fix-disc…

    …overy-cache-ttl
    
    Fix discovery cache TTL to 6 hours
    
    Kubernetes-commit: cf64022a0f34e928bcb47871f06fc2f36d71e679
    k8s-publishing-bot committed May 11, 2022
    Copy the full SHA
    3fe9026 View commit details

Commits on May 14, 2022

  1. Merge pull request #108777 from pjo256/recursive-rollout-status

    feat(kubectl rollout): support multiple resources for rollout status
    
    Kubernetes-commit: 47bb8c6d0cb088016e62b6de172ff0594c596d23
    k8s-publishing-bot committed May 14, 2022
    Copy the full SHA
    0dde236 View commit details
  2. Merge pull request #109824 from my-git9/kubectlurl

    update kubectl doc url
    
    Kubernetes-commit: 00f829b352054b421462b08c91c6d2726f5f0884
    k8s-publishing-bot committed May 14, 2022
    Copy the full SHA
    ca3557e View commit details
  3. Add unit tests for api-resources and api-versions commands

    Kubernetes-commit: 13e0120bf0662c4530df2badf1f8f73426cf9e51
    brianpursley authored and k8s-publishing-bot committed May 14, 2022
    Copy the full SHA
    96f0c72 View commit details
  4. Add unit tests for completion command

    Kubernetes-commit: a8ec462e6fdbceb0a0e96446511b8b7e5e4b7781
    brianpursley authored and k8s-publishing-bot committed May 14, 2022
    Copy the full SHA
    0c3ff4c View commit details

Commits on May 16, 2022

  1. Merge pull request #110051 from brianpursley/apiresources-tests

    Add unit tests for api-resources and api-versions commands
    
    Kubernetes-commit: 9f460160c1d6d199f75453e1ae529c230e8a6b1f
    k8s-publishing-bot committed May 16, 2022
    Copy the full SHA
    40de6d6 View commit details
  2. Merge pull request #110052 from brianpursley/completion-tests

    Add unit tests for kubectl completion command
    
    Kubernetes-commit: c84d0864ddebbd0d36ce295cf74a447f24d7b3ec
    k8s-publishing-bot committed May 16, 2022
    Copy the full SHA
    c663d04 View commit details

Commits on May 17, 2022

  1. Set validate functions requiring no parameters for all commands

    Validate function is used to validate command options and should not get
    any additional parameter. To preserve compatibility across all
    kubectl commands, this PR removes all parameters in validate functions.
    
    Kubernetes-commit: 8fb423bfabe0d53934cc94c154c7da2dc3ce1332
    ardaguclu authored and k8s-publishing-bot committed May 17, 2022
    Copy the full SHA
    81a25f3 View commit details
Showing with 4,256 additions and 2,091 deletions.
  1. +78 −32 go.mod
  2. +63 −409 go.sum
  3. +3 −23 pkg/apply/parse/suite_test.go
  4. +1 −1 pkg/apply/strategy/merge_conflict_test.go
  5. +1 −1 pkg/apply/strategy/merge_map_list_test.go
  6. +1 −1 pkg/apply/strategy/merge_map_test.go
  7. +1 −1 pkg/apply/strategy/merge_primitive_list_test.go
  8. +1 −1 pkg/apply/strategy/merge_primitive_test.go
  9. +1 −1 pkg/apply/strategy/replace_map_list_test.go
  10. +1 −1 pkg/apply/strategy/replace_map_test.go
  11. +1 −1 pkg/apply/strategy/replace_primitive_list_test.go
  12. +1 −1 pkg/apply/strategy/retain_keys_test.go
  13. +3 −23 pkg/apply/strategy/suite_test.go
  14. +2 −22 pkg/apps/apps_suite_test.go
  15. +1 −1 pkg/apps/kind_visitor_test.go
  16. +10 −5 pkg/cmd/annotate/annotate_test.go
  17. +1 −1 pkg/cmd/apiresources/apiresources.go
  18. +299 −0 pkg/cmd/apiresources/apiresources_test.go
  19. +101 −0 pkg/cmd/apiresources/apiversions_test.go
  20. +13 −7 pkg/cmd/apply/apply.go
  21. +74 −0 pkg/cmd/apply/apply_test.go
  22. +2 −2 pkg/cmd/apply/apply_view_last_applied.go
  23. +97 −51 pkg/cmd/apply/patcher.go
  24. +15 −2 pkg/cmd/attach/attach.go
  25. +73 −0 pkg/cmd/attach/attach_test.go
  26. +15 −8 pkg/cmd/auth/cani.go
  27. +3 −1 pkg/cmd/auth/cani_test.go
  28. +30 −11 pkg/cmd/cmd.go
  29. +1 −1 pkg/cmd/completion/completion.go
  30. +99 −0 pkg/cmd/completion/completion_test.go
  31. +1 −1 pkg/cmd/config/config_test.go
  32. +12 −15 pkg/cmd/config/get_contexts.go
  33. +1 −1 pkg/cmd/config/navigation_step_parser.go
  34. +1 −1 pkg/cmd/config/set.go
  35. +13 −9 pkg/cmd/cp/cp.go
  36. +5 −6 pkg/cmd/cp/cp_test.go
  37. +16 −16 pkg/cmd/create/create.go
  38. +1 −1 pkg/cmd/create/create_clusterrole.go
  39. +3 −3 pkg/cmd/create/create_clusterrolebinding.go
  40. +1 −2 pkg/cmd/create/create_pdb.go
  41. +2 −3 pkg/cmd/create/create_quota.go
  42. +1 −1 pkg/cmd/create/create_role.go
  43. +3 −3 pkg/cmd/create/create_rolebinding.go
  44. +3 −2 pkg/cmd/create/create_test.go
  45. +57 −35 pkg/cmd/debug/debug.go
  46. +46 −5 pkg/cmd/debug/debug_test.go
  47. +49 −0 pkg/cmd/debug/profile_applier.go
  48. +59 −0 pkg/cmd/debug/profiles.go
  49. +12 −5 pkg/cmd/delete/delete.go
  50. +2 −2 pkg/cmd/delete/delete_test.go
  51. +2 −1 pkg/cmd/describe/describe.go
  52. +2 −1 pkg/cmd/describe/describe_test.go
  53. +35 −16 pkg/cmd/diff/diff.go
  54. +81 −1 pkg/cmd/diff/diff_test.go
  55. +5 −2 pkg/cmd/drain/drain.go
  56. +2 −2 pkg/cmd/drain/drain_test.go
  57. +124 −0 pkg/cmd/events/event_printer.go
  58. +226 −0 pkg/cmd/events/event_printer_test.go
  59. +114 −81 pkg/cmd/events/events.go
  60. +219 −0 pkg/cmd/events/events_test.go
  61. +14 −10 pkg/cmd/explain/explain.go
  62. +156 −0 pkg/cmd/explain/explain_test.go
  63. +2 −1 pkg/cmd/expose/expose_test.go
  64. +9 −7 pkg/cmd/get/customcolumn.go
  65. +8 −8 pkg/cmd/get/get.go
  66. +1 −1 pkg/cmd/get/get_flags.go
  67. +98 −49 pkg/cmd/get/get_test.go
  68. +1 −1 pkg/cmd/get/sorter.go
  69. +3 −3 pkg/cmd/label/label.go
  70. +25 −8 pkg/cmd/label/label_test.go
  71. +2 −1 pkg/cmd/options/options.go
  72. +14 −10 pkg/cmd/replace/replace.go
  73. +55 −65 pkg/cmd/rollout/rollout_status.go
  74. +260 −0 pkg/cmd/rollout/rollout_status_test.go
  75. +19 −18 pkg/cmd/run/run.go
  76. +190 −0 pkg/cmd/run/run_test.go
  77. +2 −2 pkg/cmd/scale/scale.go
  78. +7 −7 pkg/cmd/set/env/env_resolve.go
  79. +10 −4 pkg/cmd/set/set_env.go
  80. +2 −2 pkg/cmd/set/set_env_test.go
  81. +4 −2 pkg/cmd/set/set_image_test.go
  82. +4 −2 pkg/cmd/set/set_resources_test.go
  83. +1 −1 pkg/cmd/set/set_subject.go
  84. +24 −0 pkg/cmd/skiplookerr_go118.go
  85. +29 −0 pkg/cmd/skiplookerr_go119.go
  86. +37 −6 pkg/cmd/testing/fake.go
  87. +5 −3 pkg/cmd/top/top_pod.go
  88. +7 −3 pkg/cmd/util/helpers.go
  89. +3 −1 pkg/cmd/util/helpers_test.go
  90. +21 −10 pkg/cmd/version/version.go
  91. +6 −3 pkg/cmd/version/version_test.go
  92. +138 −103 pkg/cmd/wait/wait.go
  93. +133 −354 pkg/cmd/wait/wait_test.go
  94. +59 −23 pkg/describe/describe.go
  95. +147 −9 pkg/describe/describe_test.go
  96. +33 −109 pkg/metricsutil/metrics_printer.go
  97. +45 −0 pkg/metricsutil/metrics_resource_adder.go
  98. +119 −0 pkg/metricsutil/metrics_resource_adder_test.go
  99. +130 −0 pkg/metricsutil/metrics_sorter.go
  100. +0 −11 pkg/polymorphichelpers/logsforobject.go
  101. +3 −3 pkg/polymorphichelpers/rollback.go
  102. +3 −3 pkg/util/deployment/deployment.go
  103. +8 −7 pkg/util/fieldpath/fieldpath.go
  104. +4 −4 pkg/util/i18n/i18n.go
  105. BIN pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.mo
  106. +303 −354 pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.po
  107. +1 −1 pkg/util/openapi/openapi_getter_test.go
  108. +2 −22 pkg/util/openapi/openapi_suite_test.go
  109. +1 −1 pkg/util/openapi/openapi_test.go
  110. +3 −23 pkg/util/openapi/validation/validation_suite_test.go
  111. +1 −1 pkg/util/openapi/validation/validation_test.go
  112. +1 −1 pkg/util/templates/templater.go
  113. +5 −3 pkg/util/term/term_writer.go
  114. +4 −4 pkg/util/util.go
  115. +1 −1 testdata/openapi/swagger.json
  116. +2 −2 testdata/set/multi-resource-yaml.yaml
  117. +1 −1 testdata/set/namespaced-resource.yaml
110 changes: 78 additions & 32 deletions go.mod
Original file line number Diff line number Diff line change
@@ -2,58 +2,104 @@

module k8s.io/kubectl

go 1.16
go 1.19

require (
github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
github.com/chai2010/gettext-go v0.0.0-20160711120539-c6fed771bfd5
github.com/davecgh/go-spew v1.1.1
github.com/daviddengcn/go-colortext v0.0.0-20160507010035-511bcaf42ccd
github.com/MakeNowJust/heredoc v1.0.0
github.com/chai2010/gettext-go v1.0.2
github.com/daviddengcn/go-colortext v1.0.0
github.com/docker/distribution v2.8.1+incompatible
github.com/evanphx/json-patch v4.12.0+incompatible
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d
github.com/fatih/camelcase v1.0.0
github.com/fvbommel/sortorder v1.0.1
github.com/golangplus/testing v0.0.0-20180327235837-af21d9c3145e // indirect
github.com/google/gnostic v0.5.7-v3refs
github.com/google/go-cmp v0.5.5
github.com/google/go-cmp v0.5.6
github.com/jonboulle/clockwork v0.2.2
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de
github.com/lithammer/dedent v1.1.0
github.com/mitchellh/go-wordwrap v1.0.0
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6
github.com/onsi/ginkgo v1.14.0
github.com/onsi/gomega v1.10.1
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/onsi/ginkgo/v2 v2.1.4
github.com/onsi/gomega v1.19.0
github.com/pkg/errors v0.9.1
github.com/russross/blackfriday v1.5.2
github.com/spf13/cobra v1.4.0
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.7.0
golang.org/x/sys v0.0.0-20220209214540-3681064d5158
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.0.0-20220331051217-290a349b5385
k8s.io/apimachinery v0.0.0-20220330050810-6550efdb7444
k8s.io/cli-runtime v0.0.0-20220330053550-ef25b13feca8
k8s.io/client-go v0.0.0-20220331051643-092a109b2b10
k8s.io/component-base v0.0.0-20220330051900-ffc9c87ab39a
k8s.io/component-helpers v0.0.0-20220330052013-855d491da0b6
k8s.io/klog/v2 v2.60.1
k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42
k8s.io/metrics v0.0.0-20220330053428-cc6cd56b3aba
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2
sigs.k8s.io/kustomize/kustomize/v4 v4.5.4
sigs.k8s.io/kustomize/kyaml v0.13.6
k8s.io/api v0.25.0
k8s.io/apimachinery v0.25.0
k8s.io/cli-runtime v0.25.0
k8s.io/client-go v0.25.0
k8s.io/component-base v0.25.0
k8s.io/component-helpers v0.25.0
k8s.io/klog/v2 v2.70.1
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1
k8s.io/metrics v0.25.0
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2
sigs.k8s.io/kustomize/kustomize/v4 v4.5.7
sigs.k8s.io/kustomize/kyaml v0.13.9
sigs.k8s.io/yaml v1.2.0
)

require (
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
github.com/PuerkitoBio/purell v1.1.1 // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/emicklei/go-restful/v3 v3.8.0 // indirect
github.com/go-errors/errors v1.0.1 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.19.5 // indirect
github.com/go-openapi/swag v0.19.14 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/btree v1.0.1 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/uuid v1.1.2 // indirect
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
github.com/imdario/mergo v0.3.6 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/mailru/easyjson v0.7.6 // indirect
github.com/moby/spdystream v0.2.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/xlab/treeprint v1.1.0 // indirect
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
sigs.k8s.io/kustomize/api v0.12.1 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
)

replace (
k8s.io/api => k8s.io/api v0.0.0-20220331051217-290a349b5385
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20220330050810-6550efdb7444
k8s.io/cli-runtime => k8s.io/cli-runtime v0.0.0-20220330053550-ef25b13feca8
k8s.io/client-go => k8s.io/client-go v0.0.0-20220331051643-092a109b2b10
k8s.io/code-generator => k8s.io/code-generator v0.0.0-20220330050606-8f17de063761
k8s.io/component-base => k8s.io/component-base v0.0.0-20220330051900-ffc9c87ab39a
k8s.io/component-helpers => k8s.io/component-helpers v0.0.0-20220330052013-855d491da0b6
k8s.io/metrics => k8s.io/metrics v0.0.0-20220330053428-cc6cd56b3aba
k8s.io/api => k8s.io/api v0.25.0
k8s.io/apimachinery => k8s.io/apimachinery v0.25.0
k8s.io/cli-runtime => k8s.io/cli-runtime v0.25.0
k8s.io/client-go => k8s.io/client-go v0.25.0
k8s.io/code-generator => k8s.io/code-generator v0.25.0
k8s.io/component-base => k8s.io/component-base v0.25.0
k8s.io/component-helpers => k8s.io/component-helpers v0.25.0
k8s.io/metrics => k8s.io/metrics v0.25.0
)
Loading