wip
This commit is contained in:
parent
4ae663897f
commit
9c125ca55e
|
@ -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
|
||||
|
|
29
argo1/templates/secrets.yaml
Normal file
29
argo1/templates/secrets.yaml
Normal 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 }}
|
Loading…
Reference in New Issue
Block a user