Add ArgoCD
This commit is contained in:
parent
09f9ccb8e5
commit
3298923c77
26
clusters/my-cluster/argocd/kustomization.yaml
Normal file
26
clusters/my-cluster/argocd/kustomization.yaml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: argocd
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
|
||||||
|
patches:
|
||||||
|
- patch: |
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: all
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: argocd-repo-server
|
||||||
|
env:
|
||||||
|
- name: "HTTP_PROXY"
|
||||||
|
value: "http://proxy-lb.lab.kill0.net:3128"
|
||||||
|
- name: "HTTPS_PROXY"
|
||||||
|
value: "http://proxy-lb.lab.kill0.net:3128"
|
||||||
|
- name: "NO_PROXY"
|
||||||
|
value: ".cluster.local.,.cluster.local,.svc,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
|
||||||
|
|
5
clusters/my-cluster/argocd/namespace.yaml
Normal file
5
clusters/my-cluster/argocd/namespace.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: argocd
|
Loading…
Reference in New Issue
Block a user