1 Commits

16 changed files with 19 additions and 126 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,3 @@
secrets.yaml secrets.yaml
!apps/template/secrets.yaml
infra/*/tailscale.patch.yaml infra/*/tailscale.patch.yaml
.DS_Store .DS_Store

View File

@@ -35,7 +35,7 @@ spec:
seccompProfile: seccompProfile:
type: RuntimeDefault type: RuntimeDefault
- name: anubis - name: anubis
image: ghcr.io/techarohq/anubis:v1.21.3 image: ghcr.io/techarohq/anubis:v1.20.0
env: env:
- name: "BIND" - name: "BIND"
value: ":8080" value: ":8080"

View File

@@ -50,7 +50,7 @@ spec:
ports: ports:
- containerPort: 8002 - containerPort: 8002
- name: anubis - name: anubis
image: ghcr.io/techarohq/anubis:v1.21.3 image: ghcr.io/techarohq/anubis:v1.20.0
env: env:
- name: "BIND" - name: "BIND"
value: ":8080" value: ":8080"

View File

@@ -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.4-distroless image: ghcr.io/pocket-id/pocket-id:v1.6.2-distroless
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 1411 - containerPort: 1411

View File

@@ -29,7 +29,7 @@ spec:
ports: ports:
- containerPort: 8001 - containerPort: 8001
- name: anubis - name: anubis
image: ghcr.io/techarohq/anubis:v1.21.3 image: ghcr.io/techarohq/anubis:latest
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: "BIND" - name: "BIND"

View File

@@ -19,7 +19,7 @@ spec:
persistentVolumeClaim: persistentVolumeClaim:
claimName: privatebin-data-pvc claimName: privatebin-data-pvc
containers: containers:
- image: privatebin/nginx-fpm-alpine:2.0.0 - image: privatebin/nginx-fpm-alpine:1.7.8
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.21.3 image: ghcr.io/techarohq/anubis:v1.20.0
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: "BIND" - name: "BIND"

View File

@@ -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/16" GTS_TRUSTED_PROXIES: "10.217.0.0/32"
GTS_INSTANCE_LANGUAGES: en,fr GTS_INSTANCE_LANGUAGES: en,fr
GTS_ACCOUNTS_ALLOW_CUSTOM_CSS: "true" GTS_ACCOUNTS_ALLOW_CUSTOM_CSS: "true"

View File

@@ -25,7 +25,7 @@ spec:
- fsn - fsn
containers: containers:
- name: renovate - name: renovate
image: renovate/renovate:41.46.5 image: renovate/renovate:41.37.1
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL
value: debug value: debug

View File

@@ -21,7 +21,7 @@ spec:
- "mail.prettysunflower.moe" - "mail.prettysunflower.moe"
initContainers: initContainers:
- name: db-migrate - name: db-migrate
image: ghcr.io/teableio/teable:a2e95e3a2d258af01eb3d4af118a2f88bbca1a42 image: ghcr.io/teableio/teable:83745958bbba83111145e1cd48de811cfc7db601
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:a2e95e3a2d258af01eb3d4af118a2f88bbca1a42 image: ghcr.io/teableio/teable:83745958bbba83111145e1cd48de811cfc7db601
args: args:
- skip-migrate - skip-migrate
ports: ports:
@@ -136,4 +136,4 @@ spec:
drop: drop:
- ALL - ALL
seccompProfile: seccompProfile:
type: RuntimeDefault type: RuntimeDefault

View File

@@ -34,7 +34,7 @@ spec:
- "mail.prettysunflower.moe" - "mail.prettysunflower.moe"
containers: containers:
- name: teable - name: teable
image: vaultwarden/server:1.34.2 image: vaultwarden/server:1.34.1
ports: ports:
- containerPort: 80 - containerPort: 80
name: http name: http

View File

@@ -1,6 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: app-configmap
data:

View File

@@ -1,69 +0,0 @@
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

View File

@@ -1,11 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: app-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
storageClassName: nfs-csi|hcloud-volumes

View File

@@ -1,7 +0,0 @@
apiVersion: v1
kind: Secret
metadata:
name: app-secrets
type: Opaque
stringData:

View File

@@ -1,13 +0,0 @@
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

View File

@@ -186,7 +186,7 @@ spec:
initContainers: initContainers:
containers: containers:
- name: csi-node-driver-registrar - name: csi-node-driver-registrar
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.14.0 image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.7.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
args: args:
- --kubelet-registration-path=/var/lib/kubelet/plugins/csi.hetzner.cloud/socket - --kubelet-registration-path=/var/lib/kubelet/plugins/csi.hetzner.cloud/socket
@@ -199,7 +199,7 @@ spec:
limits: {} limits: {}
requests: {} requests: {}
- name: liveness-probe - name: liveness-probe
image: registry.k8s.io/sig-storage/livenessprobe:v2.16.0 image: registry.k8s.io/sig-storage/livenessprobe:v2.9.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
volumeMounts: volumeMounts:
- mountPath: /run/csi - mountPath: /run/csi
@@ -208,7 +208,7 @@ spec:
limits: {} limits: {}
requests: {} requests: {}
- name: hcloud-csi-driver - name: hcloud-csi-driver
image: docker.io/hetznercloud/hcloud-csi-driver:v2.16.0 # x-release-please-version image: docker.io/hetznercloud/hcloud-csi-driver:v2.5.1 # x-release-please-version
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: [/bin/hcloud-csi-driver-node] command: [/bin/hcloud-csi-driver-node]
volumeMounts: volumeMounts:
@@ -297,7 +297,7 @@ spec:
initContainers: initContainers:
containers: containers:
- name: csi-attacher - name: csi-attacher
image: registry.k8s.io/sig-storage/csi-attacher:v4.9.0 image: registry.k8s.io/sig-storage/csi-attacher:v4.1.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
resources: resources:
limits: {} limits: {}
@@ -309,7 +309,7 @@ spec:
mountPath: /run/csi mountPath: /run/csi
- name: csi-resizer - name: csi-resizer
image: registry.k8s.io/sig-storage/csi-resizer:v1.14.0 image: registry.k8s.io/sig-storage/csi-resizer:v1.7.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.16.0 image: registry.k8s.io/sig-storage/livenessprobe:v2.9.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
resources: resources:
limits: {} limits: {}
@@ -342,7 +342,7 @@ spec:
name: socket-dir name: socket-dir
- name: hcloud-csi-driver - name: hcloud-csi-driver
image: docker.io/hetznercloud/hcloud-csi-driver:v2.16.0 # x-release-please-version image: docker.io/hetznercloud/hcloud-csi-driver:v2.5.1 # x-release-please-version
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: [/bin/hcloud-csi-driver-controller] command: [/bin/hcloud-csi-driver-controller]
env: env: