This commit is contained in:
James Andariese 2023-04-22 13:40:31 -05:00
parent e31ed69364
commit b6fe7dcf5c
5 changed files with 38 additions and 4 deletions

View File

@ -2,5 +2,8 @@ dependencies:
- name: argo-cd
repository: https://argoproj.github.io/argo-helm
version: 5.29.1
digest: sha256:bc009287f8e46edcddb1d36d4e6865080d92e97b6572ae2fd4d553d5e41cd2a2
generated: "2023-04-22T12:59:51.842278-05:00"
- name: argocd-apps
repository: https://argoproj.github.io/argo-helm
version: 0.0.9
digest: sha256:61b3270da67eb8bc6986a8cda0b41b3319dbb07df1295d0ca8cfb5cd31ccc837
generated: "2023-04-22T13:16:58.406086-05:00"

View File

@ -10,4 +10,6 @@ dependencies:
- name: argo-cd
version: "5.29.1"
repository: "https://argoproj.github.io/argo-helm"
- name: argocd-apps
version: 0.0.9
repository: "https://argoproj.github.io/argo-helm"

Binary file not shown.

15
install-crds.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
cd "$(dirname "$0")"
(
set -e
eval "$(yq -o json . Chart.yaml | jq -r '.dependencies[0] | @sh "CHART=\(.name)\nVERSION=\(.version)\nREPO=\(.repository)"')"
helm template argocd-crds "$CHART" --repo "$REPO" --version "$VERSION" | yq 'select(.kind == "CustomResourceDefinition")' | kubectl apply -f -
)
RC=$?
if [ $RC -ne 0 ];then
1>&2 echo "exiting due to error"
exit $RC
fi

View File

@ -1,4 +1,7 @@
argo-cd:
crds:
install: false
configs:
params:
"server.insecure": "true"
@ -21,4 +24,15 @@ argo-cd:
tls:
- hosts: *ghosts
secretName: wildcard-tls
argocd-apps:
applications:
- name: argo1
namespace: argocd
project: default
destination:
server: https://kubernetes.default.svc
namespace: argocd
source:
repoURL: https://git.strudelline.net/infra/repo1
targetRevision: HEAD
path: .