kubernetes - 如何在 helm repo 下列出所有可用的图表?
问题描述
我有一个掌舵回购:
helm repo list
名称网址
我想列出所有可用的图表或在stable
helm repo 下搜索图表。
我该怎么做呢?
到目前为止,还没有命令可以在 helm repo 下列出可用的图表,或者只是验证图表是否存在。
解决方案
首先,总是更新你的本地缓存:
helm repo update
然后,您可以通过以下方式列出所有图表:
helm search repo
或者,您可以使用以下命令对图表名称的任何部分进行不区分大小写的匹配:
helm search repo [your_search_string]
最后,如果要列出所有版本,可以使用 -l/--version 参数:
# Lists all versions of all charts
helm search repo -l
# Lists all versions of all chart names that contain search string
helm search repo -l [your_search_string]
推荐阅读
- javascript - 给html添加一个属性
- python - 如果数组中的任何元素重复,则从多维数组中删除整个子数组
- react-native - react native 出错。不变违规:本机模块不能为空
- python - TypeError(f'Object of type {o.__class__.__name__} ' TypeError: Object of type function is not JSON serializable
- algorithm - 在加权二维数组中围绕目标的最短路径
- php - 如何正确地将“+1”添加到 php 变量
- node.js - Twilio:有没有办法一次更新多个会议参与者?
- assembly - 汇编 x86 MASM,ReadString 问题
- javascript - 比较两个数组并从第一个数组中获取不包含在第二个数组中的值
- python - 修改文件中的字母