|
|
@@ -10,35 +10,24 @@ All services deployed for kaisers.info as GitOps-capable k8s deployment
|
|
10
|
10
|
curl -sfL https://get.k3s.io | sh -s - server --disable local-storage
|
|
11
|
11
|
```
|
|
12
|
12
|
|
|
13
|
|
-### Cert-Manager CRDs
|
|
|
13
|
+### CRDs
|
|
14
|
14
|
```
|
|
15
|
15
|
// version must fit cert-manager in gitops-kaisers-info
|
|
16
|
16
|
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.8.0/cert-manager.yaml
|
|
17
|
17
|
```
|
|
18
|
18
|
|
|
19
|
|
-### ArgoCD
|
|
20
|
19
|
```
|
|
21
|
|
-helm install -n argocd argo-cd argo/argo-cd --create-namespace
|
|
22
|
|
-// Currently not unused: kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/applicationset/v0.3.0/manifests/install.yaml
|
|
23
|
|
-kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
|
|
|
20
|
+kubectl apply -k https://github.com/argoproj/argo-cd/manifests/crds\?ref\=stable
|
|
24
|
21
|
```
|
|
25
|
22
|
|
|
26
|
23
|
### Cluster
|
|
27
|
24
|
```
|
|
|
25
|
+kubectl create namespace argocd
|
|
28
|
26
|
kubectl apply -f application-cluster-kaisers-info.yaml
|
|
29
|
27
|
```
|
|
30
|
28
|
|
|
31
|
|
-### Longhorn
|
|
32
|
|
-```
|
|
33
|
|
-kubectl apply -f application-longhorn-kaisers-info.yaml
|
|
34
|
|
-```
|
|
35
|
|
-### GitOps
|
|
36
|
|
-```
|
|
37
|
|
-kubectl apply -f application-gitops-kaisers-info.yaml
|
|
38
|
|
-```
|
|
39
|
|
-
|
|
40
|
|
-### Sealed-Secrets
|
|
41
|
|
-#### Own Certificates
|
|
|
29
|
+#### Sealed-Secrets
|
|
|
30
|
+##### Own Certificates
|
|
42
|
31
|
https://github.com/bitnami-labs/sealed-secrets/blob/main/docs/bring-your-own-certificates.md
|
|
43
|
32
|
|
|
44
|
33
|
```
|
|
|
@@ -53,7 +42,7 @@ kubectl -n "$NAMESPACE" label secret "$SECRETNAME" sealedsecrets.bitnami.com/sea
|
|
53
|
42
|
kubectl -n "$NAMESPACE" delete pod -l name=app.kubernetes.io/name=sealed-secrets
|
|
54
|
43
|
```
|
|
55
|
44
|
|
|
56
|
|
-#### Sealing a secret
|
|
|
45
|
+##### Sealing a secret
|
|
57
|
46
|
```
|
|
58
|
47
|
|
|
59
|
48
|
echo -n "PASSWORD" \
|
|
|
@@ -63,6 +52,18 @@ echo -n "PASSWORD" \
|
|
63
|
52
|
kubectl apply -f sealed-secret.yaml
|
|
64
|
53
|
```
|
|
65
|
54
|
|
|
|
55
|
+### GitOps
|
|
|
56
|
+```
|
|
|
57
|
+kubectl apply -f application-gitops-kaisers-info.yaml
|
|
|
58
|
+```
|
|
|
59
|
+
|
|
|
60
|
+### ArgoCD
|
|
|
61
|
+```
|
|
|
62
|
+helm install -n argocd argo-cd argo/argo-cd --create-namespace
|
|
|
63
|
+// Currently not unused: kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/applicationset/v0.3.0/manifests/install.yaml
|
|
|
64
|
+kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
|
|
|
65
|
+```
|
|
|
66
|
+
|
|
66
|
67
|
## Services
|
|
67
|
68
|
### Services
|
|
68
|
69
|
kubectl apply -f application-services-kaisers-info.yaml
|