feat: Add argocd-diff
This commit is contained in:
parent
729e0739ce
commit
95991b852b
5 changed files with 2869 additions and 0 deletions
2809
k8s-peterg/argocd-diff/install.yaml
Normal file
2809
k8s-peterg/argocd-diff/install.yaml
Normal file
File diff suppressed because it is too large
Load diff
20
k8s-peterg/argocd-diff/kustomization.yaml
Normal file
20
k8s-peterg/argocd-diff/kustomization.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- install.yaml
|
||||||
|
- repository.yaml
|
||||||
|
- namespace.yaml
|
||||||
|
|
||||||
|
namespace: argocd-diff
|
||||||
|
|
||||||
|
configMapGenerator:
|
||||||
|
- name: argocd-cmd-params-cm
|
||||||
|
behavior: replace
|
||||||
|
literals:
|
||||||
|
- server.insecure=true
|
||||||
|
- reposerver.enable.git.submodule=false
|
||||||
|
- name: argocd-cm
|
||||||
|
behavior: merge
|
||||||
|
literals:
|
||||||
|
- kustomize.buildOptions=--enable-helm
|
||||||
5
k8s-peterg/argocd-diff/namespace.yaml
Normal file
5
k8s-peterg/argocd-diff/namespace.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: argocd-diff
|
||||||
14
k8s-peterg/argocd-diff/repository.yaml
Normal file
14
k8s-peterg/argocd-diff/repository.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
type: Opaque
|
||||||
|
metadata:
|
||||||
|
name: argocd-private-repo
|
||||||
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
managed-by: argocd.argoproj.io
|
||||||
|
labels:
|
||||||
|
argocd.argoproj.io/secret-type: repository
|
||||||
|
stringData:
|
||||||
|
type: git
|
||||||
|
url: https://code.peterg.nl/wheatley/kubernetes.git
|
||||||
|
|
@ -22,6 +22,27 @@ spec:
|
||||||
---
|
---
|
||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: argocd-diff
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://code.peterg.nl/wheatley/kubernetes.git
|
||||||
|
path: k8s-peterg/argocd-diff
|
||||||
|
targetRevision: HEAD
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: argocd-diff
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- ServerSideApply=true
|
||||||
|
---
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: cilium-peterg
|
name: cilium-peterg
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue