Remove (temporarily) linkding deployment
This commit is contained in:
13
README.md
13
README.md
@@ -1,4 +1,6 @@
|
||||
# GitOps
|
||||
## Homelab
|
||||
|
||||
## GitOps
|
||||
A set of "best practices" where the entire code delivery process is controlled via Git, including infrastructure and application definition as code and automation to complete updates and rollbacks.
|
||||
|
||||
The key GitOps Principles:
|
||||
@@ -39,3 +41,12 @@ To decrypt secrets use:
|
||||
sops --decrypt <file_path>
|
||||
```
|
||||
There must be an environment variable named `SOPS_AGE_KEY_FILE` that contains the path of the AGE key text file.
|
||||
|
||||
## Pending
|
||||
### Storage
|
||||
Object Storage from NAS
|
||||
Block Storage from NAS
|
||||
|
||||
Distributed Storage from:
|
||||
- RookFS
|
||||
- Longhorn
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: linking
|
||||
name: linking
|
||||
namespace: linkding
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: linking
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: linking
|
||||
spec:
|
||||
containers:
|
||||
- env:
|
||||
- name: LD_CSRF_TRUSTED_ORIGINS
|
||||
value: https://link.danicos.me
|
||||
- name: LD_SUPERUSER_NAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: supe_user_name
|
||||
name: linkding
|
||||
- name: LD_SUPERUSER_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: supe_user_password
|
||||
name: linkding
|
||||
image: sissbruecker/linkding:1.45.0
|
||||
name: linkding
|
||||
ports:
|
||||
- containerPort: 9090
|
||||
resources: {}
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
volumeMounts:
|
||||
- mountPath: /etc/linkding/data
|
||||
name: data
|
||||
securityContext:
|
||||
fsGroup: 33
|
||||
runAsGroup: 33
|
||||
runAsUser: 33
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: linking-pvc
|
||||
status: {}
|
||||
@@ -5,6 +5,3 @@ metadata:
|
||||
namespace: linkding
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- srv.yaml
|
||||
- pvc.yaml
|
||||
- deployment.yaml
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: linking-pvc
|
||||
namespace: linkding
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
status: {}
|
||||
@@ -1,17 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: linking
|
||||
name: linking
|
||||
namespace: linkding
|
||||
spec:
|
||||
ports:
|
||||
- nodePort: 30010
|
||||
port: 9090
|
||||
targetPort: 0
|
||||
selector:
|
||||
app: linking
|
||||
type: NodePort
|
||||
status:
|
||||
loadBalancer: {}
|
||||
@@ -1,6 +1,6 @@
|
||||
# This file should be in: /etc/rancher/k3s/config.yaml
|
||||
write-kubeconfig-mode: "0644"
|
||||
disable:
|
||||
- helm-controller
|
||||
- helm-controller #
|
||||
# tls-san:
|
||||
# - "kube.danicos.dev"
|
||||
|
||||
@@ -35,10 +35,10 @@ func Stack() stack.Stack {
|
||||
kz := kube.NewKuztomizedStack(
|
||||
meta,
|
||||
map[string]any{
|
||||
"namespace": Namespace,
|
||||
"srv": srv,
|
||||
"pvc": pvc,
|
||||
"deployment": deployment(),
|
||||
"namespace": Namespace,
|
||||
// "srv": srv,
|
||||
// "pvc": pvc,
|
||||
// "deployment": deployment(),
|
||||
},
|
||||
)
|
||||
return kz.Stack("linkding")
|
||||
|
||||
Reference in New Issue
Block a user