Skip to content

Commit

Permalink
fix: add prometheus operator CRDs
Browse files Browse the repository at this point in the history
  • Loading branch information
diogosilva30 committed Aug 7, 2024
1 parent 405386d commit 6ad6cd8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 26 deletions.
5 changes: 5 additions & 0 deletions bootstrap/argo-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ spec:
selfHeal: true
syncOptions:
- allowEmpty=true
# Needs server side apply because some
# resources are too big to fit in the
# lastAppliedConfig annotation
# https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/#server-side-apply
- ServerSideApply=true
status:
health: {}
summary: {}
Expand Down
13 changes: 0 additions & 13 deletions bootstrap/argo-cd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ configMapGenerator:
# Disable HTTPS redirection
- server.insecure="true"

replicas:
- name: argocd-repo-server
count: 2
- name: argocd-server
count: 2
- name: argocd-redis-ha-haproxy
count: 3

resources:
# Prometheus operator CRDs
- https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.75.2/bundle.yaml
Expand All @@ -65,11 +57,6 @@ resources:
# ArgoCD Image Updater
- https://raw.githubusercontent.com/argoproj-labs/argocd-image-updater/stable/manifests/install.yaml

patchesStrategicMerge:
# Apply patch to scale up the application controller and enable sharding
# https://argo-cd.readthedocs.io/en/stable/operator-manual/high_availability/#argocd-application-controller
- manifests/application-controller-patch.yaml

# Our dynamic environment-specific variables are injects in every manifests
# as annotations (check `kustomize.commonAnnotations` in `project/common.yaml`).
# So we just need to make a kustomize replacement of the value we want to replace
Expand Down
13 changes: 0 additions & 13 deletions bootstrap/argo-cd/manifests/application-controller-patch.yaml

This file was deleted.

0 comments on commit 6ad6cd8

Please sign in to comment.