You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
2.3 KiB

  1. apiVersion: krew.googlecontainertools.github.com/v1alpha2
  2. kind: Plugin
  3. metadata:
  4. name: krew
  5. spec:
  6. version: "{{ krew_version }}"
  7. homepage: https://krew.sigs.k8s.io/
  8. shortDescription: Package manager for kubectl plugins.
  9. caveats: |
  10. krew is now installed! To start using kubectl plugins, you need to add
  11. krew's installation directory to your PATH:
  12. * macOS/Linux:
  13. - Add the following to your ~/.bashrc or ~/.zshrc:
  14. export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
  15. - Restart your shell.
  16. * Windows: Add %USERPROFILE%\.krew\bin to your PATH environment variable
  17. To list krew commands and to get help, run:
  18. $ kubectl krew
  19. For a full list of available plugins, run:
  20. $ kubectl krew search
  21. You can find documentation at
  22. https://krew.sigs.k8s.io/docs/user-guide/quickstart/.
  23. platforms:
  24. - uri: {{ krew_download_url }}
  25. sha256: {{ krew_archive_checksum }}
  26. bin: krew
  27. files:
  28. - from: ./krew-darwin_amd64
  29. to: krew
  30. - from: ./LICENSE
  31. to: .
  32. selector:
  33. matchLabels:
  34. os: darwin
  35. arch: amd64
  36. - uri: {{ krew_download_url }}
  37. sha256: {{ krew_archive_checksum }}
  38. bin: krew
  39. files:
  40. - from: ./krew-darwin_arm64
  41. to: krew
  42. - from: ./LICENSE
  43. to: .
  44. selector:
  45. matchLabels:
  46. os: darwin
  47. arch: arm64
  48. - uri: {{ krew_download_url }}
  49. sha256: {{ krew_archive_checksum }}
  50. bin: krew
  51. files:
  52. - from: ./krew-linux_amd64
  53. to: krew
  54. - from: ./LICENSE
  55. to: .
  56. selector:
  57. matchLabels:
  58. os: linux
  59. arch: amd64
  60. - uri: {{ krew_download_url }}
  61. sha256: {{ krew_archive_checksum }}
  62. bin: krew
  63. files:
  64. - from: ./krew-linux_arm
  65. to: krew
  66. - from: ./LICENSE
  67. to: .
  68. selector:
  69. matchLabels:
  70. os: linux
  71. arch: arm
  72. - uri: {{ krew_download_url }}
  73. sha256: {{ krew_archive_checksum }}
  74. bin: krew
  75. files:
  76. - from: ./krew-linux_arm64
  77. to: krew
  78. - from: ./LICENSE
  79. to: .
  80. selector:
  81. matchLabels:
  82. os: linux
  83. arch: arm64
  84. - uri: {{ krew_download_url }}
  85. sha256: {{ krew_archive_checksum }}
  86. bin: krew.exe
  87. files:
  88. - from: ./krew-windows_amd64.exe
  89. to: krew.exe
  90. - from: ./LICENSE
  91. to: .
  92. selector:
  93. matchLabels:
  94. os: windows
  95. arch: amd64