Compare commits
2 Commits
fixing/arg
...
fixing/arg
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e702ba20a6 | ||
| 1a685314be |
@@ -14,6 +14,12 @@ Deployment of ArgoCD itself:
|
||||
kustomize build --enable-helm infra/controllers/argocd | kubectl apply -f -
|
||||
```
|
||||
|
||||
You can uninstall it with the command
|
||||
|
||||
```shell
|
||||
kustomize build --enable-helm infra/controllers/argocd | kubectl delete -f -
|
||||
```
|
||||
|
||||
Configure ArgoCD to pull our setup from this repo:
|
||||
|
||||
```shell
|
||||
@@ -34,4 +40,19 @@ kubectl port-forward svc/argocd-server -n argocd 8080:443
|
||||
1. CLI Login with previously retrieved password and username ``admin``:
|
||||
```shell
|
||||
argocd login localhost:8080 --insecure
|
||||
```
|
||||
|
||||
## Other
|
||||
|
||||
### What's keepign a namespace in state deleting?
|
||||
|
||||
```shell
|
||||
kubectl api-resources --verbs=list --namespaced -o name \
|
||||
| xargs -n 1 kubectl get --show-kind --ignore-not-found -n argocd
|
||||
```
|
||||
|
||||
### Delete ArgoCD applications stuck in dependencies
|
||||
|
||||
```shell
|
||||
kubectl -nargocd patch applications/controllers -p '{"metadata": {"finalizers": null}}' --type merge
|
||||
```
|
||||
@@ -4,7 +4,7 @@ metadata:
|
||||
name: infrastructure
|
||||
namespace: argocd
|
||||
labels:
|
||||
dev.stonegarden: infrastructure
|
||||
s5b.org: infrastructure
|
||||
spec:
|
||||
generators:
|
||||
- git:
|
||||
@@ -16,7 +16,7 @@ spec:
|
||||
metadata:
|
||||
name: '{{ path.basename }}'
|
||||
labels:
|
||||
dev.stonegarden: infrastructure
|
||||
s5b.org: infrastructure
|
||||
spec:
|
||||
project: infrastructure
|
||||
source:
|
||||
|
||||
@@ -7,12 +7,9 @@ configs:
|
||||
create: true
|
||||
application.resourceTrackingMethod: annotation+label
|
||||
admin.enabled: true
|
||||
kustomize.buildOptions: --enable-helm
|
||||
kustomize.buildOptions: "--enable-helm --load-restrictor LoadRestrictionsNone --enable-alpha-plugins --enable-exec"
|
||||
# url: https://gitops.prod.k8.eis-mk8.de.s5b.org
|
||||
|
||||
|
||||
cmp:
|
||||
create: true
|
||||
params:
|
||||
controller.diff.server.side: true
|
||||
server.insecure: false
|
||||
@@ -84,12 +81,6 @@ repoServer:
|
||||
enabled: true
|
||||
containerSecurityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
volumes:
|
||||
- name: cmp-kustomize-build-with-helm
|
||||
configMap:
|
||||
name: argocd-cmp-cm
|
||||
- name: cmp-tmp
|
||||
emptyDir: { }
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
|
||||
Reference in New Issue
Block a user