Skip to content

Commit

Permalink
argocd-shortlink: init kargo
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Login <batazor@evrone.com>
  • Loading branch information
batazor committed Jun 15, 2023
1 parent 7f452d6 commit 2f34e6b
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 4 deletions.
9 changes: 6 additions & 3 deletions ops/Helm/addons/argocd-shortlink/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
dependencies: []
digest: sha256:643d5437104296e21d906ecb15b2c96ad278f20cfc4af53b12bb6069bd853726
generated: "2023-06-15T22:56:00.691954+02:00"
dependencies:
- name: kargo
repository: oci://ghcr.io/akuity/kargo-charts
version: 0.1.0-rc.11
digest: sha256:f03de2ab8231302ef4e2b46a109a85b8f52074feed50feffe015420dc34bd448
generated: "2023-06-16T01:29:43.728927+02:00"
9 changes: 8 additions & 1 deletion ops/Helm/addons/argocd-shortlink/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,11 @@ maintainers:
engine: gotpl
type: application # It is the type of chart (optional)
deprecated: false # Whether this chart is deprecated (optional, boolean)
dependencies: [ ] # A list of the chart requirements (optional)
dependencies:
- name: kargo
version: 0.1.0-rc.11
repository: oci://ghcr.io/akuity/kargo-charts
condition: kargo.enabled
tags:
- kargo
- gitops
Binary file not shown.
28 changes: 28 additions & 0 deletions ops/Helm/addons/argocd-shortlink/templates/kargo/stage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: kargo.akuity.io/v1alpha1
kind: Environment
metadata:
name: stage
spec:
subscriptions:
repos:
git:
- repoURL: git@github.com:shortlink-org/shortlink.git
branch: main
promotionMechanisms:
gitRepoUpdates:
- repoURL: git@github.com:shortlink-org/shortlink.git
writeBranch: env/test
argoCDAppUpdates:
- appName: kargo-demo-test
appNamespace: argocd

---
apiVersion: kargo.akuity.io/v1alpha1
kind: PromotionPolicy
metadata:
name: stage
environment: test
authorizedPromoters:
- subjectType: User
name: kubernetes-admin
enableAutoPromotion: true
3 changes: 3 additions & 0 deletions ops/Helm/addons/argocd-shortlink/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# Ref: https://github.com/argoproj/argo-cd

kargo:
enabled: false

0 comments on commit 2f34e6b

Please sign in to comment.