Skip to content

Commit

Permalink
rename aoa in k8s1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ujstor committed Dec 11, 2024
1 parent 3ac3bc5 commit 3184978
Show file tree
Hide file tree
Showing 18 changed files with 25 additions and 24 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,15 @@ k8s0
### Apply `aoa.yaml` in the `gitops` namespace:
```bash
cd helm
kubectl apply -f k3s0/aoa.yaml -n gitops
kubectl apply -f cluster/k3s0-ops/helm/aoa.yaml -n gitops
```

```bash
argocd cluster add default --kubeconfig ~/.kube/k3s1-app --name default --grpc-web
```

or

k8s1
```bash
k apply -f k3s1-cluster-secret.yaml -n kube-system
Expand All @@ -87,15 +93,10 @@ k8s0
```bash
k apply -f k3s1-cluster-secret.yaml -n gitops
```
or

```bash
argocd cluster add default --kubeconfig ~/.kube/k3s1-app --name default --grpc-web
```

k8s0
```bash
k apply k3s0/aoa.yaml -n gitops
k apply k3s1/aoa.yaml -n gitops
```

The cluster will be automatically bootstrapped.
2 changes: 1 addition & 1 deletion cluster/k3s1-app/helm/aoa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
destination:
namespace: gitops
server: https://kubernetes.default.svc
server: https://kubernetes.default.svc
project: ops-cluster-bootstrap
source:
path: cluster/k3s1-app/helm/app-of-apps
Expand Down
2 changes: 1 addition & 1 deletion cluster/k3s1-app/helm/app-of-apps/100_system_cilium.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: system-cilium
name: system-cilium-app-cluster
namespace: gitops
annotations:
argocd.argoproj.io/sync-wave: "1"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: system-metallb-operator
name: system-metallb-operator-app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: system-metallb-config
name: system-metallb-config-app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: system-ingress-nginx
name: system-ingress-nginx--app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: system-cert-manager
name: system-cert-manager--app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: system-cluster-issuer
name: system-cluster-issuer-app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: system-postgres-operator
name: system-postgres-operator-app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: system-minio-operator
name: system-minio-operator-app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: system-external-secrets
name: system-external-secrets-app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down
2 changes: 1 addition & 1 deletion cluster/k3s1-app/helm/app-of-apps/910_app_portfolio.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-portfolio
name: app-portfolio-app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-streamlit-wh
name: app-streamlit-wh-app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-todo-go-htmx
name: app-todo-go-htmx-app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down
2 changes: 1 addition & 1 deletion cluster/k3s1-app/helm/app-of-apps/940_app_notes_flask.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-notes-flask
name: app-notes-flask-app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-plausible-analytics
name: app-plausible-analytics-app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down
2 changes: 1 addition & 1 deletion cluster/k3s1-app/helm/app-of-apps/955_app_uptime_kuma.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-uptime-kuma
name: app-uptime-kuma-app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-wordpress-ds
name: app-wordpress-ds-app-cluster
namespace: gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
Expand Down

0 comments on commit 3184978

Please sign in to comment.