wip
This commit is contained in:
parent
e31ed69364
commit
b6fe7dcf5c
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
BIN
charts/argocd-apps-0.0.9.tgz
Normal file
BIN
charts/argocd-apps-0.0.9.tgz
Normal file
Binary file not shown.
15
install-crds.sh
Normal file
15
install-crds.sh
Normal 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
|
16
values.yaml
16
values.yaml
|
@ -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: .
|
||||
|
|
Loading…
Reference in New Issue
Block a user