当前位置: 首页 > news >正文

129. index.yaml 与基于 git 的 Rancher App 仓库中图表显现的优先级

Situation 地理位置

Rancher supports git-based repositories in the Apps feature, enabling deployment of Helm charts into Rancher-managed clusters, from a git repository. An example of such a git repository is provided by the RKE2 cluster template examples at https://github.com/rancher/cluster-template-examples
Rancher 在 Apps 功能中支持基于 git 的仓库 ,使 Helm 图表能够从 git 仓库部署到 Rancher 管理的集群中。RKE2 集群模板示例提供了此类 git 仓库的示例 https://github.com/rancher/cluster-template-examples

Within an Apps git repository, two formats are supported:
在 Apps git 仓库中,支持两种格式:

  1. Un-archived and un-compressed Helm charts can be defined within sub-directories of the git repository, as in the example at https://github.com/rancher/cluster-template-examples/tree/main/charts
    未归档和未压缩的 Helm 图表可以在 git 仓库的子目录中定义,如 https://github.com/rancher/cluster-template-examples/tree/main/charts 的示例
  2. Archived and compressed Helm charts can be included within the git-repository and referenced from a Helm index.yaml file, as in the example at https://github.com/rancher/cluster-template-examples/blob/main/index.yaml
    归档和压缩后的 Helm 图表可以包含在 git 仓库中,并从 Helm index.yaml 文件中引用,如 https://github.com/rancher/cluster-template-examples/blob/main/index.yaml 的示例

If both formats are present in a single git repository, which takes precedence when Rancher loads available charts?
如果两个格式都存在于同一个 git 仓库中,那么当 Rancher 加载可用图表时,哪个格式优先?

Resolution 结局

When an index.yaml file is present on the repository, this takes precedence and Rancher will load the list of charts and the referenced chart archives from the index file. This skips the process of walking the repository directory to build the index dynamically from charts in sub-directories.
当仓库中存在 index.yaml 文件时,该文件优先,Rancher 会从索引文件加载图表列表和参考图表存档。这样可以跳过从子目录中的图表动态移动仓库目录来构建索引的过程。

访问Rancher-K8S解决方案博主,企业合作伙伴 :
https://blog.csdn.net/lidw2009

http://www.jsqmd.com/news/609815/

相关文章:

  • 防水抗菌纱线生产厂家哪家口碑好?这几家靠谱供应商别错过 - 品牌企业推荐师(官方)
  • 2026 年河北三河市私立高中排名一览,性价比高的 3 所校推荐! - 品牌企业推荐师(官方)
  • Python数据分析实战项目
  • 专业可机洗抗菌纱线哪家技术强?实力硬核供应商全揭秘! - 品牌企业推荐师(官方)
  • 迪杰斯特拉算法优化对比:传统实现 vs 优先队列版性能实测
  • UNet人脸融合作品集:这些换脸效果太惊艳了!
  • 2026年,想优化债务?成都这些口碑超棒、值得信赖的服务商别错过! - 品牌企业推荐师(官方)
  • Frigate进阶玩法:如何用MQTT和Python脚本扩展你的自定义目标检测算法
  • 河北生产护栏网、车间隔离护栏网、铁路护栏网、监狱护栏网、桃型柱护栏网、球场护栏网、小区护栏网厂家联系方式 - 品牌企业推荐师(官方)
  • 120. 如何为给定用户列出角色绑定
  • 专业可机洗抗菌纱线生产厂家:抗菌耐洗持久,源头直供品质保障 - 品牌企业推荐师(官方)
  • 口碑好的盐城市装修公司 - 品牌企业推荐师(官方)
  • OpenCV傅里叶变换实战:图像频域分析与C++实现
  • 5步彻底解决Windows更新故障:Reset Windows Update Tool完整使用指南
  • macOS新手必看:Terminal配置文件详解与窗口标题自定义技巧
  • AT89C52中断系统详解:从硬件结构到代码实战,搞懂这6个中断源怎么用
  • 121. 排查 etcd 时间同步问题
  • 如何使用Google Search Console提高SEO排名
  • Codex 和 OpenClaw,到底差在哪?
  • 精密模具配件的工艺标准与交付体系:技术实践分析 - 品牌企业推荐师(官方)
  • 别再手动抄表了!手把手教你用昆仑通态MCGS实现历史报警数据自动导出CSV
  • 上下文工程的学术前沿:最新研究成果与未来发展方向
  • 基于STM32LXXX的数字电位器(TPL0102-100RUCR)驱动应用程序设计
  • 智能资源下载工具:突破平台限制的全方位资源获取解决方案
  • 紧急预警:.NET 9 RC2已移除旧版LowCodeProvider——所有基于.NET 8低代码框架的项目须在2024年11月30日前完成迁移,否则将触发运行时降级熔断
  • 远红外发热纱线哪家技术强?4项核心指标帮你筛选靠谱厂家 - 品牌企业推荐师(官方)
  • 洁净车间PLC数据采集远程监控系统方案
  • YOLOv8在智慧零售场景的应用:顾客与商品检测案例
  • LangGraph 容错机制设计:节点降级+流程跳转+异常捕获
  • 2025AAAI顶会图像拼接算法实战指南(CMake+VS2019):从源码编译到Object-level几何结构保持