Compare commits
23 Commits
42d132c94b
...
renovate/p
Author | SHA1 | Date | |
---|---|---|---|
74a5b81951 | |||
01b7ee9b05 | |||
5ad1696e4a | |||
439d3d415d
|
|||
7ad308376e
|
|||
95a0786224 | |||
3400636511 | |||
12aaed3521 | |||
d901395e50
|
|||
c16fa7e6a5
|
|||
07a5a14438 | |||
e09a328eea | |||
69c854f99a | |||
83213f104b | |||
ce3a73515a
|
|||
6f8a22275b
|
|||
97d92f8d3f
|
|||
c36ca81d99 | |||
f060fe730b | |||
368f69871e | |||
559a55735d | |||
bee2aaeb7d | |||
f96eb5e1fd |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
secrets.yaml
|
secrets.yaml
|
||||||
|
!apps/template/secrets.yaml
|
||||||
infra/*/tailscale.patch.yaml
|
infra/*/tailscale.patch.yaml
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
@@ -35,7 +35,7 @@ spec:
|
|||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
- name: anubis
|
- name: anubis
|
||||||
image: ghcr.io/techarohq/anubis:v1.20.0
|
image: ghcr.io/techarohq/anubis:v1.21.3
|
||||||
env:
|
env:
|
||||||
- name: "BIND"
|
- name: "BIND"
|
||||||
value: ":8080"
|
value: ":8080"
|
||||||
|
@@ -50,7 +50,7 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 8002
|
- containerPort: 8002
|
||||||
- name: anubis
|
- name: anubis
|
||||||
image: ghcr.io/techarohq/anubis:v1.20.0
|
image: ghcr.io/techarohq/anubis:v1.21.3
|
||||||
env:
|
env:
|
||||||
- name: "BIND"
|
- name: "BIND"
|
||||||
value: ":8080"
|
value: ":8080"
|
||||||
|
@@ -20,7 +20,7 @@ spec:
|
|||||||
claimName: pocketid-pvc
|
claimName: pocketid-pvc
|
||||||
containers:
|
containers:
|
||||||
- name: pocketid
|
- name: pocketid
|
||||||
image: ghcr.io/pocket-id/pocket-id:v1.6.2-distroless
|
image: ghcr.io/pocket-id/pocket-id:v1.6.4-distroless
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 1411
|
- containerPort: 1411
|
||||||
|
@@ -29,7 +29,7 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 8001
|
- containerPort: 8001
|
||||||
- name: anubis
|
- name: anubis
|
||||||
image: ghcr.io/techarohq/anubis:latest
|
image: ghcr.io/techarohq/anubis:v1.21.3
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
env:
|
env:
|
||||||
- name: "BIND"
|
- name: "BIND"
|
||||||
|
@@ -19,7 +19,7 @@ spec:
|
|||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: privatebin-data-pvc
|
claimName: privatebin-data-pvc
|
||||||
containers:
|
containers:
|
||||||
- image: privatebin/nginx-fpm-alpine:1.7.8
|
- image: privatebin/nginx-fpm-alpine:2.0.0
|
||||||
name: privatebin
|
name: privatebin
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
@@ -39,7 +39,7 @@ spec:
|
|||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
- name: anubis
|
- name: anubis
|
||||||
image: ghcr.io/techarohq/anubis:v1.20.0
|
image: ghcr.io/techarohq/anubis:v1.21.3
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
env:
|
env:
|
||||||
- name: "BIND"
|
- name: "BIND"
|
||||||
|
@@ -5,6 +5,6 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
GTS_HOST: fedi.prettysunflower.moe
|
GTS_HOST: fedi.prettysunflower.moe
|
||||||
GTS_ACCOUNT_DOMAIN: prettysunflower.moe
|
GTS_ACCOUNT_DOMAIN: prettysunflower.moe
|
||||||
GTS_TRUSTED_PROXIES: "10.217.0.0/32"
|
GTS_TRUSTED_PROXIES: "10.217.0.0/16"
|
||||||
GTS_INSTANCE_LANGUAGES: en,fr
|
GTS_INSTANCE_LANGUAGES: en,fr
|
||||||
GTS_ACCOUNTS_ALLOW_CUSTOM_CSS: "true"
|
GTS_ACCOUNTS_ALLOW_CUSTOM_CSS: "true"
|
@@ -25,7 +25,7 @@ spec:
|
|||||||
- fsn
|
- fsn
|
||||||
containers:
|
containers:
|
||||||
- name: renovate
|
- name: renovate
|
||||||
image: renovate/renovate:41.37.1
|
image: renovate/renovate:41.46.5
|
||||||
env:
|
env:
|
||||||
- name: LOG_LEVEL
|
- name: LOG_LEVEL
|
||||||
value: debug
|
value: debug
|
||||||
|
@@ -21,7 +21,7 @@ spec:
|
|||||||
- "mail.prettysunflower.moe"
|
- "mail.prettysunflower.moe"
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: db-migrate
|
- name: db-migrate
|
||||||
image: ghcr.io/teableio/teable:83745958bbba83111145e1cd48de811cfc7db601
|
image: ghcr.io/teableio/teable:a2e95e3a2d258af01eb3d4af118a2f88bbca1a42
|
||||||
args:
|
args:
|
||||||
- migrate-only
|
- migrate-only
|
||||||
envFrom:
|
envFrom:
|
||||||
@@ -48,7 +48,7 @@ spec:
|
|||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
containers:
|
containers:
|
||||||
- name: teable
|
- name: teable
|
||||||
image: ghcr.io/teableio/teable:83745958bbba83111145e1cd48de811cfc7db601
|
image: ghcr.io/teableio/teable:a2e95e3a2d258af01eb3d4af118a2f88bbca1a42
|
||||||
args:
|
args:
|
||||||
- skip-migrate
|
- skip-migrate
|
||||||
ports:
|
ports:
|
||||||
@@ -136,4 +136,4 @@ spec:
|
|||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
|
@@ -34,7 +34,7 @@ spec:
|
|||||||
- "mail.prettysunflower.moe"
|
- "mail.prettysunflower.moe"
|
||||||
containers:
|
containers:
|
||||||
- name: teable
|
- name: teable
|
||||||
image: vaultwarden/server:1.34.1
|
image: vaultwarden/server:1.34.2
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
name: http
|
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
|
@@ -199,7 +199,7 @@ spec:
|
|||||||
limits: {}
|
limits: {}
|
||||||
requests: {}
|
requests: {}
|
||||||
- name: liveness-probe
|
- name: liveness-probe
|
||||||
image: registry.k8s.io/sig-storage/livenessprobe:v2.9.0
|
image: registry.k8s.io/sig-storage/livenessprobe:v2.16.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /run/csi
|
- mountPath: /run/csi
|
||||||
@@ -319,7 +319,7 @@ spec:
|
|||||||
mountPath: /run/csi
|
mountPath: /run/csi
|
||||||
|
|
||||||
- name: csi-provisioner
|
- name: csi-provisioner
|
||||||
image: registry.k8s.io/sig-storage/csi-provisioner:v3.6.4
|
image: registry.k8s.io/sig-storage/csi-provisioner:v5.3.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits: {}
|
limits: {}
|
||||||
@@ -332,7 +332,7 @@ spec:
|
|||||||
mountPath: /run/csi
|
mountPath: /run/csi
|
||||||
|
|
||||||
- name: liveness-probe
|
- name: liveness-probe
|
||||||
image: registry.k8s.io/sig-storage/livenessprobe:v2.9.0
|
image: registry.k8s.io/sig-storage/livenessprobe:v2.16.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits: {}
|
limits: {}
|
||||||
|
Reference in New Issue
Block a user