argocd
This commit is contained in:
21
argocd/manifests/base/kustomization.yaml
Normal file
21
argocd/manifests/base/kustomization.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- https://raw.githubusercontent.com/argoproj/argo-cd/refs/tags/v2.14.11/manifests/install.yaml
|
||||||
|
|
||||||
|
configMapGenerator:
|
||||||
|
- name: argocd-cm
|
||||||
|
behavior: merge
|
||||||
|
literals:
|
||||||
|
- "timeout.reconciliation=15s"
|
||||||
|
|
||||||
|
patches:
|
||||||
|
# reset the crbs to `subject.namespace: default`, so that argo-cd will later change them to the actual ns
|
||||||
|
- target:
|
||||||
|
group: rbac.authorization.k8s.io
|
||||||
|
version: v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
patch: |-
|
||||||
|
- op: replace
|
||||||
|
path: /subjects/0/namespace
|
||||||
|
value: default
|
||||||
21
argocd/manifests/ha/kustomization.yaml
Normal file
21
argocd/manifests/ha/kustomization.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/ha/install.yaml
|
||||||
|
|
||||||
|
configMapGenerator:
|
||||||
|
- name: argocd-cm
|
||||||
|
behavior: merge
|
||||||
|
literals:
|
||||||
|
- "timeout.reconciliation=15s"
|
||||||
|
|
||||||
|
patches:
|
||||||
|
# reset the crbs to `subject.namespace: default`, so that argo-cd will later change them to the actual ns
|
||||||
|
- target:
|
||||||
|
group: rbac.authorization.k8s.io
|
||||||
|
version: v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
patch: |-
|
||||||
|
- op: replace
|
||||||
|
path: /subjects/0/namespace
|
||||||
|
value: default
|
||||||
10
argocd/manifests/insecure/kustomization.yaml
Normal file
10
argocd/manifests/insecure/kustomization.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../base
|
||||||
|
|
||||||
|
configMapGenerator:
|
||||||
|
- name: argocd-cmd-params-cm
|
||||||
|
behavior: merge
|
||||||
|
literals:
|
||||||
|
- "server.insecure=true"
|
||||||
Reference in New Issue
Block a user