This commit is contained in:
James Andariese 2023-04-23 19:45:56 -05:00
parent 89d788d999
commit fa89973133
4 changed files with 21 additions and 0 deletions

View File

@ -61,5 +61,20 @@ though!)
Do not modify (or be careful with) `1-self.yaml` which is the application which Do not modify (or be careful with) `1-self.yaml` which is the application which
references this repo to enable self-management. references this repo to enable self-management.
## Uninstalling
1. First, delete all the subapps. If you wanted to keep them and remove ArgoCD
only, then just skip this step.
```bash
argocd app set argo1 --helm-set secrets.enabled=false --helm-set sealed-secrets.enabled=false --core
```
2. Now uninstall argo1 via helm.
```bash
helm uninstall argo1
```
[argo-crds]: https://argo-cd.readthedocs.io/en/stable/operator-manual/installation/ [argo-crds]: https://argo-cd.readthedocs.io/en/stable/operator-manual/installation/

View File

@ -4,6 +4,8 @@ kind: Application
metadata: metadata:
name: "{{ .Release.Name }}" name: "{{ .Release.Name }}"
namespace: "{{ .Release.Namespace }}" namespace: "{{ .Release.Namespace }}"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec: spec:
project: default project: default
source: source:

View File

@ -4,6 +4,8 @@ kind: Application
metadata: metadata:
name: "{{ .Release.Name }}-sealed-secrets" name: "{{ .Release.Name }}-sealed-secrets"
namespace: argocd namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec: spec:
project: default project: default
source: source:

View File

@ -4,6 +4,8 @@ kind: Application
metadata: metadata:
name: {{ .Release.Name }}-secrets name: {{ .Release.Name }}-secrets
namespace: argocd namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec: spec:
project: default project: default
source: source: