Compare commits
7 Commits
e86585b276
...
4a01ac083d
Author | SHA1 | Date | |
---|---|---|---|
4a01ac083d | |||
439d3d415d
|
|||
7ad308376e
|
|||
95a0786224 | |||
3400636511 | |||
12aaed3521 | |||
d901395e50
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
secrets.yaml
|
||||
!apps/template/secrets.yaml
|
||||
infra/*/tailscale.patch.yaml
|
||||
.DS_Store
|
||||
|
@@ -35,7 +35,7 @@ spec:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
- name: anubis
|
||||
image: ghcr.io/techarohq/anubis:v1.20.0
|
||||
image: ghcr.io/techarohq/anubis:v1.21.3
|
||||
env:
|
||||
- name: "BIND"
|
||||
value: ":8080"
|
||||
|
@@ -50,7 +50,7 @@ spec:
|
||||
ports:
|
||||
- containerPort: 8002
|
||||
- name: anubis
|
||||
image: ghcr.io/techarohq/anubis:v1.20.0
|
||||
image: ghcr.io/techarohq/anubis:v1.21.3
|
||||
env:
|
||||
- name: "BIND"
|
||||
value: ":8080"
|
||||
|
@@ -29,7 +29,7 @@ spec:
|
||||
ports:
|
||||
- containerPort: 8001
|
||||
- name: anubis
|
||||
image: ghcr.io/techarohq/anubis:latest
|
||||
image: ghcr.io/techarohq/anubis:v1.21.3
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: "BIND"
|
||||
|
@@ -39,7 +39,7 @@ spec:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
- name: anubis
|
||||
image: ghcr.io/techarohq/anubis:v1.20.0
|
||||
image: ghcr.io/techarohq/anubis:v1.21.3
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: "BIND"
|
||||
|
@@ -25,7 +25,7 @@ spec:
|
||||
- fsn
|
||||
containers:
|
||||
- name: renovate
|
||||
image: renovate/renovate:41.39.0
|
||||
image: renovate/renovate:41.43.5
|
||||
env:
|
||||
- name: LOG_LEVEL
|
||||
value: debug
|
||||
|
@@ -34,7 +34,7 @@ spec:
|
||||
- "mail.prettysunflower.moe"
|
||||
containers:
|
||||
- name: teable
|
||||
image: vaultwarden/server:1.34.1
|
||||
image: vaultwarden/server:1.34.2
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http
|
||||
|
@@ -29,7 +29,7 @@ spec:
|
||||
claimName: suwayomi-pvc
|
||||
containers:
|
||||
- name: suwayomi
|
||||
image: ghcr.io/suwayomi/suwayomi-server:v2.0.1851
|
||||
image: ghcr.io/suwayomi/suwayomi-server:v2.0.1865
|
||||
ports:
|
||||
- containerPort: 4567
|
||||
name: http
|
||||
|
6
apps/template/configmap.yaml
Normal file
6
apps/template/configmap.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: app-configmap
|
||||
data:
|
||||
|
69
apps/template/deployment.yaml
Normal file
69
apps/template/deployment.yaml
Normal file
@@ -0,0 +1,69 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: app
|
||||
labels:
|
||||
app.kubernetes.io/name: app
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: app
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: app
|
||||
spec:
|
||||
volumes:
|
||||
- name: mountName
|
||||
persistentVolumeClaim:
|
||||
claimName: app-pvc
|
||||
containers:
|
||||
- name: containerName
|
||||
image: image
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: configMap
|
||||
- secretRef:
|
||||
name: secrets
|
||||
ports:
|
||||
- containerPort: 1234
|
||||
name: http
|
||||
volumeMounts:
|
||||
- name: mountName
|
||||
mountPath: "/"
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /app/pocket-id
|
||||
- healthcheck
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 8080
|
||||
initialDelaySeconds: 10
|
||||
failureThreshold: 3
|
||||
periodSeconds: 90
|
||||
startupProbe:
|
||||
exec:
|
||||
command:
|
||||
- /app/pocket-id
|
||||
- healthcheck
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 8080
|
||||
failureThreshold: 30
|
||||
periodSeconds: 10
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
runAsNonRoot: true
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
dnsPolicy: "ClusterFirst"
|
||||
dnsConfig:
|
||||
nameservers:
|
||||
- 100.96.226.96
|
11
apps/template/pvc.yaml
Normal file
11
apps/template/pvc.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: app-pvc
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
storageClassName: nfs-csi|hcloud-volumes
|
7
apps/template/secrets.yaml
Normal file
7
apps/template/secrets.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: app-secrets
|
||||
type: Opaque
|
||||
stringData:
|
||||
|
13
apps/template/svc.yaml
Normal file
13
apps/template/svc.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: app
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app.kubernetes.io/name: app
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 1234
|
||||
name: http
|
Reference in New Issue
Block a user