73 lines
2.3 KiB
YAML
73 lines
2.3 KiB
YAML
# /argocd/kustomization.yaml
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: argocd # Forces everything in this folder into the 'db' namespace
|
|
|
|
resources:
|
|
- https://raw.githubusercontent.com/argoproj/argo-cd/v3.3.4/manifests/ha/install.yaml
|
|
#- https://raw.githubusercontent.com/argoproj/argo-cd/v3.4.0-rc2/manifests/ha/install.yaml
|
|
#- https://raw.githubusercontent.com/argoproj/argo-cd/v2.10.4/manifests/install.yaml
|
|
#- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
|
|
#- argocd-manifest.yaml # Your StatefulSet/Service file generated via helm template
|
|
|
|
patches:
|
|
- target:
|
|
kind: Deployment
|
|
patch: |-
|
|
- op: add
|
|
path: /spec/template/spec/nodeSelector
|
|
value:
|
|
node-role.kubernetes.io/nworker: "true"
|
|
- op: add
|
|
path: /spec/template/spec/tolerations
|
|
value:
|
|
- key: "node-role.kubernetes.io/nworker"
|
|
operator: "Exists"
|
|
effect: "NoSchedule"
|
|
# - op: add
|
|
# path: /spec/template/spec/tolerations
|
|
# value:
|
|
# node-role.kubernetes.io/dbworker: "true"
|
|
|
|
# # - key: "node-role.kubernetes.io/dbworker"
|
|
# # operator: "Exists"
|
|
# # effect: "NoSchedule"
|
|
|
|
# This section allows you to modify the behavior of ArgoCD
|
|
# (e.g., making the UI accessible via NodePort or Ingress)
|
|
# patches:
|
|
# - target:
|
|
# kind: Service
|
|
# name: argocd-server
|
|
# patch: |-
|
|
# - op: replace
|
|
# path: /spec/type
|
|
# value: NodePort # Change to LoadBalancer if your cloud supports it
|
|
# using Kustomize way
|
|
# helmCharts:
|
|
# - name: yugabyte
|
|
# repo: https://charts.yugabyte.com
|
|
# version: 2.18.0 # Specify the version you want
|
|
# releaseName: yugabytedb
|
|
# namespace: db
|
|
# # This replaces the "--set" flags you used in the command line
|
|
# valuesInline:
|
|
# storage:
|
|
# master:
|
|
# storageClass: longhorn
|
|
# tserver:
|
|
# storageClass: longhorn
|
|
# replicas:
|
|
# master: 4
|
|
# tserver: 3
|
|
# enableLoadBalancer: false
|
|
# gflags:
|
|
# master:
|
|
# max_clock_skew_usec: 2000000
|
|
# time_source: system
|
|
# tserver:
|
|
# max_clock_skew_usec: 2000000
|
|
# time_source: system
|
|
# start_pgsql_proxy: true
|