-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(localbuild): scale down dex and notifications pods for argo cd (#…
…122) * feat(hack): add script to generate install.yaml for argo cd * fix(hack): use tagged base for argo cd * feat(argocd): scale notifications controller to zero * feat(argocd): scale dex server to zero * fix: make script executable * chore: point to how to generate file Signed-off-by: Nicholas Morey <[email protected]>
- Loading branch information
1 parent
243ba5f
commit ad688d4
Showing
5 changed files
with
75 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: argocd-dex-server | ||
spec: | ||
replicas: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
INSTALL_YAML="pkg/controllers/localbuild/resources/argo/install.yaml" | ||
|
||
echo "# UCP ARGO INSTALL RESOURCES" > ${INSTALL_YAML} | ||
echo "# This file is auto-generated with 'hack/argo-cd/generate-manifests.sh'." >> ${INSTALL_YAML} | ||
kustomize build ./hack/argo-cd/ >> ${INSTALL_YAML} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- https://raw.githubusercontent.com/argoproj/argo-cd/v2.8.7/manifests/install.yaml | ||
|
||
patches: | ||
- path: dex-server.yaml | ||
- path: notifications-controller.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: argocd-notifications-controller | ||
spec: | ||
replicas: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters