feat(sets): Moved ApplicationSets out into their own folder

This commit is contained in:
Vegard Hagen
2023-07-07 23:42:14 +02:00
parent ad74c53fdf
commit 9832d5fc3c
7 changed files with 25 additions and 8 deletions

View File

@@ -95,7 +95,7 @@ For load balancing
https://metallb.universe.tf/installation/
```shell
kubectl apply -f infra/metallb
kubectl apply -k infra/metallb
```
# Traefik
@@ -146,6 +146,11 @@ at [https://whoami.${DOMAIN}](https://whoami.${DOMAIN})
kubectl apply -k infra/argocd
```
Get ArgoCD initial secret
```shell
kubectl -n argocd get secrets argocd-initial-admin-secret -o json | jq -r .data.password | base64 -d
```
# Kubernetes Dashboard
An OIDC (traefik-forward-auth)
@@ -156,6 +161,14 @@ deployed using
kubectl apply -k infra/dashboard
```
# ApplicationSets
Once you've tested everything get the ball rolling with
```shell
kubectl apply -k sets
```
# Cleanup
```shell
@@ -190,10 +203,6 @@ runtime_type = "io.containerd.runc.v2"
1.7.x doesn't work?
## Traefik CRDS
Apply manually :(
## Sealed Secrets
Restart pod after applying master-key

View File

@@ -6,9 +6,6 @@ resources:
- namespace.yaml
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
- ingress.yaml
- project.yaml
- infrastructure.yaml
- applications.yaml
patchesStrategicMerge:
# Kustomize --enable-helm plugin for Helm charts

View File

@@ -23,6 +23,9 @@ spec:
name: in-cluster
namespace: monitoring
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- ServerSideApply=true
- CreateNamespace=true

8
sets/kustomization.yaml Normal file
View File

@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argocd
resources:
- project.yaml
- infrastructure.yaml
- applications.yaml