This commit is contained in:
James Andariese 2023-04-23 19:11:14 -05:00
parent 4ae663897f
commit 9c125ca55e
3 changed files with 32 additions and 0 deletions

View File

@ -31,6 +31,9 @@ or as directories which should live alongside `argo1`.
kubectl apply -k https://github.com/argoproj/argo-cd/manifests/crds\?ref\=stable
```
You will also need to find all the CRDs for any other applications in your
templates.
3. update values.yaml
* At the very least, you will need to update the bootstrap.source.repoURL to
point to your clone -- this URL must match the prefix of the secret from

View File

@ -0,0 +1,29 @@
{{ if (index .Values "secrets").enabled -}}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ .Release.Name }}-secrets
namespace: argocd
spec:
project: default
source:
path: secrets
repoURL: "{{ .Values.bootstrap.source.repoURL }}"
targetRevision: "{{ .Values.bootstrap.source.targetRevision }}"
directory:
recurse: true
include: '*.yaml'
destination:
server: "https://kubernetes.default.svc"
namespace: argocd
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
retry:
limit: 10
backoff:
duration: 5s
factor: 2
maxDuration: 3m0s
{{- end }}