github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/examples/helm-charts/jackal.yaml (about)

     1  kind: JackalPackageConfig
     2  metadata:
     3    name: helm-charts
     4    description: Example showcasing multiple ways to deploy helm charts
     5    version: 0.0.1
     6  
     7  components:
     8    - name: demo-helm-charts
     9      required: true
    10      charts:
    11        # Charts are organized in a list with unique chart names per component - note that a Jackal chart name does not need to match the chart name in a Chart.yaml
    12        - name: podinfo-local
    13          version: 6.4.0
    14          namespace: podinfo-from-local-chart
    15          # In this case `localPath` will load the podinfo chart that is located in the `chart` directory
    16          localPath: chart
    17          valuesFiles:
    18            - values.yaml
    19  
    20        - name: podinfo-oci
    21          version: 6.4.0
    22          namespace: podinfo-from-oci
    23          # In this case `url` will load the helm chart located in the podinfo OCI repository
    24          url: oci://ghcr.io/stefanprodan/charts/podinfo
    25          valuesFiles:
    26            - values.yaml
    27  
    28        - name: podinfo-git
    29          version: 6.4.0
    30          namespace: podinfo-from-git
    31          # In this case `url` will load the helm chart located in the podinfo git repository
    32          url: https://github.com/stefanprodan/podinfo.git
    33          # By default git will look in the root of the git repository but you can define a sub directory with `gitPath`
    34          gitPath: charts/podinfo
    35          valuesFiles:
    36            - values.yaml
    37  
    38        - name: podinfo-repo
    39          version: 6.4.0
    40          namespace: podinfo-from-repo
    41          # In this case `url` will load the helm chart located in the podinfo helm repository
    42          url: https://stefanprodan.github.io/podinfo
    43          # By default the chart `name` will be what is used to search a repository but since Jackal chart names must be unique per-component you can override this with `repoName`
    44          repoName: podinfo
    45          # By default the release name will be the chart name, but you can override this with the `releaseName` key
    46          releaseName: cool-release-name
    47          valuesFiles:
    48            - values.yaml
    49      images:
    50        - ghcr.io/stefanprodan/podinfo:6.4.0
    51        # This is the cosign signature for the podinfo image for image signature verification
    52        - ghcr.io/stefanprodan/podinfo:sha256-57a654ace69ec02ba8973093b6a786faa15640575fbf0dbb603db55aca2ccec8.sig
    53      actions:
    54        onDeploy:
    55          after:
    56            - wait:
    57                cluster:
    58                  kind: deployment
    59                  name: podinfo-local
    60                  namespace: podinfo-from-local-chart
    61                  condition: available
    62            - wait:
    63                cluster:
    64                  kind: deployment
    65                  name: podinfo-oci
    66                  namespace: podinfo-from-oci
    67                  condition: available
    68            - wait:
    69                cluster:
    70                  kind: deployment
    71                  name: podinfo-git
    72                  namespace: podinfo-from-git
    73                  condition: available
    74            - wait:
    75                cluster:
    76                  kind: deployment
    77                  name: cool-release-name-podinfo
    78                  namespace: podinfo-from-repo
    79                  condition: available