feat: NixOS | move cluster config to /master fix: update all stuff for office network feat: PiHole | set up DHCP server chore: Cloudflare | delete api token secret chore: remove external-dns annotations from ingressed services fix: PiHole | turn off liveness checks due to host ip fix: GiteaActions | use encrypted storage for runner fix: ElasticSearch | use encrypted volumes for storage fix: Pihole | static mac addresses all caps feat: NixOS | manual network configuration fix: NixOS | k3s cluster init point to static ip with tls-san chore: Postgres | move certificate resources into own file + reduce volume size fix: Pihole | add ingress class name sec: NixOS | remove token from git
63 lines
1.4 KiB
YAML
63 lines
1.4 KiB
YAML
kind: PersistentVolumeClaim
|
|
apiVersion: v1
|
|
metadata:
|
|
name: action-runner
|
|
namespace: gitea-system
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteMany
|
|
resources:
|
|
requests:
|
|
storage: 10Gi
|
|
storageClassName: longhorn-crypto
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: action-runner
|
|
name: action-runner
|
|
namespace: gitea-system
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: action-runner
|
|
strategy: {}
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: action-runner
|
|
spec:
|
|
restartPolicy: Always
|
|
volumes:
|
|
- name: runner-data
|
|
persistentVolumeClaim:
|
|
claimName: action-runner
|
|
securityContext:
|
|
fsGroup: 1000
|
|
containers:
|
|
- name: runner
|
|
image: gitea/act_runner:nightly-dind-rootless
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: DOCKER_HOST
|
|
value: tcp://localhost:2376
|
|
- name: DOCKER_CERT_PATH
|
|
value: /certs/client
|
|
- name: DOCKER_TLS_VERIFY
|
|
value: "1"
|
|
- name: GITEA_INSTANCE_URL
|
|
value: https://git.dogar.dev
|
|
- name: GITEA_RUNNER_REGISTRATION_TOKEN
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: runner-secret
|
|
key: runner-token
|
|
securityContext:
|
|
privileged: true
|
|
volumeMounts:
|
|
- name: runner-data
|
|
mountPath: /data
|