美文网首页
Helm Chart.yaml详解

Helm Chart.yaml详解

作者: Goun | 来源:发表于2021-04-08 14:16 被阅读0次

    Chart.yaml详解

    # 按名称键入的注释列表 (可选)
    annotations:       
      category: Analytics
    # 
    apiVersion: v2
    # chart版本
    appVersion: 0.18.0
    # 依赖关系
    dependencies:
    # 使用远程helm仓库
    - name: common
      repository: https://charts.bitnami.com/bitnami
      # 
      tags:
      - bitnami-common      # Tags 可以用来对 charts 的 启用/禁用 分组 (可选)
      version: 1.x.x
      enabled: true
      import-values: # (可选) ImportValues 保存源值到要导入父键的映射。每一项可以是一个字符串或一对子/父子列表项 (可选)
      alias:                  # 用于 chart 的别名。多次添加相同的 chart 时很有用 (可选)
    # 适用本地charts/
    # 如果values中的minio.enabled为true,才会部署子chart(在charts目录下)
    - condition: minio.enabled      # minio是依赖的chart的名字
      # 子chart
      name: minio
      # 仓库地址
      repository: https://charts.bitnami.com/bitnami
      version: 6.x.x
    # 描述
    description: Thanos is a highly available metrics system that can be added on top
      of existing Prometheus deployments, providing a global query view across all Prometheus
      installations.
    # chart 类型,application 和 library (可选)
    type:                       
    # 该chart的家目录地址
    home: https://github.com/bitnami/charts/tree/master/bitnami/thanos
    icon: https://bitnami.com/assets/stacks/thanos/img/thanos-stack-220x234.png
    # 关键字列表,便于检索
    keywords:
    - analytics
    - monitoring
    - prometheus
    - thanos
    # 维护者信息
    maintainers:
    - email: containers@bitnami.com
      name: Bitnami
    # chart name
    name: thanos
    # chart 下载列表
    sources:
    - https://github.com/bitnami/bitnami-docker-thanos
    - https://thanos.io
    # release 版本
    version: 3.14.1
    # chart 是否已弃用 (可选, boolean)
    deprecated: false
    

    相关文章

      网友评论

          本文标题:Helm Chart.yaml详解

          本文链接:https://www.haomeiwen.com/subject/iqfvkltx.html