Skip to content

Retrieve appVersion from helm chart #1619

Answered by olblak
t3mi asked this question in Q&A
Discussion options

You must be logged in to vote

So yes it is possible to retrieve the appVersion from a remote source, they are different ways to handle that

Using the https endpoint such as

---
# PRO: Single http query
# CONS: Affect by API rate limit
#
name: Using http query

sources:
  default:
    name: Use yaml over https
    kind: yaml
    spec:
      file: https://raw.githubusercontent.com/epinio/helm-charts/main/chart/epinio/Chart.yaml
      key: $.appVersion

---
# PRO: Cloned once and then read file from local store
# CON: Not efficient when interacting with large git repositories
name: Using yaml from git 
scms:
  default:
    kind: git 
    spec:
      url: https://github.com/epinio/helm-charts.git
      branch: main
source…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by t3mi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants