Code Monkey home page Code Monkey logo

kargo-helm-demo's Introduction

Kargo helm demo

Demo repository for Kargo using helm chart.

Stuctured in the same way as the Kustomize Kargo Demo

The following changes must be done to the configuration from the Kargo Quickstart guide

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: kargo-helm-demo-test
  namespace: argocd
  annotations:
    kargo.akuity.io/authorized-stage: kargo-helm-demo:test
spec:
  project: default
  source:
    # Change Argo application to use helm with env specific value files 
    helm:
      valueFiles:
      - ../stages/test/values.yaml
    repoURL: ${GIT_REPO_URL}
    targetRevision: stage/test
    path: base
  destination:
    server: https://kubernetes.default.svc
    namespace: kargo-helm-demo-test
  syncPolicy:
    automated:
      selfHeal: true
    syncOptions:
    - CreateNamespace=true
apiVersion: kargo.akuity.io/v1alpha1
kind: Warehouse
metadata:
  name: kargo-helm-demo
  namespace: kargo-helm-demo
spec:
  subscriptions:
  - image:
      repoURL: nginx
      semverConstraint: ^1.24.0
  # Change warehouse to listen both nginx and the git repo
  - git:
      branch: master
      repoURL: ${GIT_REPO_URL}
apiVersion: kargo.akuity.io/v1alpha1
kind: Stage
metadata:
  name: test
  namespace: kargo-helm-demo
spec:
  subscriptions:
    warehouse: kargo-helm-demo
  promotionMechanisms:
    gitRepoUpdates:
    - repoURL: ${GIT_REPO_URL}
      writeBranch: stage/test
      # Change the stages to update the helm chart values file instead
      helm:
        images:
        - image: nginx
          key: nginx.version
          value: Tag
          valuesFilePath: base/values.yaml
    argoCDAppUpdates:
    - appName: kargo-helm-demo-test
      appNamespace: argocd

kargo-helm-demo's People

Watchers

MrVinkel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.