Compare commits

...

No commits in common. "helmfile-main" and "argo-apps-main" have entirely different histories.

14 changed files with 58 additions and 72 deletions

16
cluster-1.yaml Normal file
View File

@ -0,0 +1,16 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-of-apps
namespace: argo-system
spec:
destination:
namespace: argo-system
server: https://kubernetes.default.svc
project: default
source:
path: ./manifests/cluster1/
repoURL: ssh://git@git.badhouseplants.net/allanger/helmfile-vs-argo.git
targetRevision: argo-apps-main

16
cluster-2.yaml Normal file
View File

@ -0,0 +1,16 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-of-apps
namespace: argo-system
spec:
destination:
namespace: argo-system
server: https://kubernetes.default.svc
project: default
source:
path: ./manifests/cluster2/
repoURL: ssh://git@git.badhouseplants.net/allanger/helmfile-vs-argo.git
targetRevision: argo-apps-main

16
cluster-test.yaml Normal file
View File

@ -0,0 +1,16 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-of-apps
namespace: argo-system
spec:
destination:
namespace: argo-system
server: https://kubernetes.default.svc
project: default
source:
path: ./manifests/cluster_test/
repoURL: ssh://git@git.badhouseplants.net/allanger/helmfile-vs-argo.git
targetRevision: argo-apps-main

View File

@ -1,7 +0,0 @@
---
{{ readFile "../releases.yaml" }}
bases:
- ../environments.yaml
- ../repositories.yaml

View File

@ -1,7 +0,0 @@
---
{{ readFile "../releases.yaml" }}
bases:
- ../environments.yaml
- ../repositories.yaml

View File

@ -1,7 +0,0 @@
---
{{ readFile "../releases.yaml" }}
bases:
- ../environments.yaml
- ../repositories.yaml

View File

@ -1,7 +0,0 @@
environments:
cluster_test:
kubeContext: kind-kind
cluster1:
kubeContext: kind-kind
cluster2:
kubeContext: kind-kind

7
helm-freeze.yaml Normal file
View File

@ -0,0 +1,7 @@
harts: {}
repos: {}
destinations:
- name: default
path: ./vendor

View File

@ -1,11 +0,0 @@
---
{{ readFile "releases.yaml" }}
bases:
- environments.yaml
- repositories.yaml
releases:
helmfiles:
- path: {{.Environment.Name }}/helmfile.yaml

View File

@ -0,0 +1 @@
applications in the cluster-1

View File

@ -0,0 +1 @@
applications in the cluster-2

View File

@ -0,0 +1 @@
applications in the cluster-test

View File

@ -1,31 +0,0 @@
---
templates:
crd-management-hook: &crd-management-hook
hooks:
- events: ["preapply"]
showlogs: true
command: "sh"
args:
- -c
- "helm show crds {{ .Release.Chart }} --version {{ .Release.Version }}| kubectl apply -f -"
- events: ["prepare"]
showlogs: true
command: "sh"
args:
- -c
- "helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl diff -f - || true"
- events: ["postuninstall"]
showlogs: true
command: "sh"
args:
- -c
- "helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl delete -f -"
helm-vendor-hook: &helm-vendor-hook
hooks:
- events: ["prepare"]
showlogs: false
command: "sh"
args:
- -c
- "make vendor_chart chart={{ .Release.Chart }} version={{ .Release.Version }}"

View File

@ -1,2 +0,0 @@
---
repositories: