Compare commits

..
Author SHA1 Message Date
Gitea Actions Bot 99b809b624 Auto-update README with current k8s applications
Keycloak Terraform / Terraform (pull_request) Failing after 18s
Generated by CI/CD workflow on 2026-07-30 13:37:55

This PR updates the README.md file with the current list of applications found in the k8s/ directory structure.
2026-07-30 13:37:55 +00:00
Ultradesu c4a3623e55 Added firefly-iii
Check with kubeconform / lint (push) Successful in 6s
Auto-update README / Generate README and Create MR (push) Successful in 9s
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 5s
2026-07-30 14:37:20 +01:00
Ultradesu dd3693095f Added firefly-iii
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 7s
Check with kubeconform / lint (push) Successful in 6s
Auto-update README / Generate README and Create MR (push) Successful in 11s
2026-07-30 14:35:50 +01:00
Ultradesu 4273e62d68 Added firefly-iii
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 6s
Check with kubeconform / lint (push) Successful in 6s
Auto-update README / Generate README and Create MR (push) Successful in 8s
2026-07-30 13:57:55 +01:00
Ultradesu 5d8a582e1e Added firefly-iii
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 8s
Check with kubeconform / lint (push) Successful in 5s
Auto-update README / Generate README and Create MR (push) Successful in 5s
2026-07-30 12:25:17 +01:00
Ultradesu 31714fe357 Added firefly-iii
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 6s
Check with kubeconform / lint (push) Successful in 5s
Auto-update README / Generate README and Create MR (push) Successful in 5s
2026-07-30 12:22:42 +01:00
Ultradesu 2e22f98eb4 Added firefly-iii
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 5s
Check with kubeconform / lint (push) Successful in 6s
Auto-update README / Generate README and Create MR (push) Successful in 5s
2026-07-30 12:21:52 +01:00
6 changed files with 89 additions and 17 deletions
+13 -8
View File
@@ -6,6 +6,7 @@ resources:
- external-secrets.yaml
- postgres.yaml
- storage.yaml
- storage-prep.yaml
- traefik-ai.yaml
- network-policy.yaml
@@ -20,7 +21,7 @@ helmCharts:
patches:
# Chart 0.1.2 requires postgres.enabled=true. Remove its StatefulSet and
# redirect the generated database Service to the CloudNativePG primary.
# make the generated database Service select the CloudNativePG instance.
- target:
group: apps
version: v1
@@ -37,14 +38,10 @@ patches:
kind: Service
name: firefly-iii-postgres
patch: |-
- op: remove
path: /spec/selector
- op: replace
path: /spec/type
value: ExternalName
- op: add
path: /spec/externalName
value: firefly-postgres-rw.firefly-iii.svc.cluster.local
path: /spec/selector
value:
cnpg.io/cluster: firefly-postgres
# The upstream chart does not expose scheduling settings for its CronJob.
- target:
group: batch
@@ -73,3 +70,11 @@ patches:
- op: add
path: /metadata/labels/firefly.hexor.cy~1private-ai
value: "true"
# The shared Traefik has the same controller identifier and can discover
# IngressClass objects. The explicit annotation partitions this Ingress
# so only the instance configured with ingressclass=traefik-ai accepts it.
- op: add
path: /metadata/annotations/kubernetes.io~1ingress.class
value: traefik-ai
- op: remove
path: /spec/ingressClassName
+5 -1
View File
@@ -19,6 +19,11 @@ spec:
matchLabels:
app.kubernetes.io/instance: firefly-iii
app.kubernetes.io/name: firefly-iii
# hostNetwork traffic is seen as node traffic rather than Pod traffic.
- ipBlock:
cidr: 192.168.1.117/32
- ipBlock:
cidr: 100.77.155.120/32
ports:
- protocol: TCP
port: 8080
@@ -56,4 +61,3 @@ spec:
ports:
- protocol: TCP
port: 8000
+52
View File
@@ -0,0 +1,52 @@
apiVersion: batch/v1
kind: Job
metadata:
name: firefly-storage-prep
annotations:
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/hook-delete-policy: BeforeHookCreation,HookSucceeded
spec:
backoffLimit: 3
template:
metadata:
labels:
app.kubernetes.io/name: firefly-storage-prep
spec:
restartPolicy: OnFailure
nodeSelector:
kubernetes.io/hostname: ai.tail2fe2d.ts.net
tolerations:
- key: workload
operator: Equal
value: ai
effect: NoSchedule
containers:
- name: prepare
image: busybox:1.37.0
imagePullPolicy: IfNotPresent
command:
- /bin/sh
- -ec
- |
mkdir -p /host/k8s/firefly-iii/postgres
chown 26:26 /host/k8s/firefly-iii/postgres
chmod 0700 /host/k8s/firefly-iii/postgres
securityContext:
runAsUser: 0
runAsGroup: 0
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
add:
- CHOWN
- DAC_OVERRIDE
- FOWNER
volumeMounts:
- name: host-root
mountPath: /host/k8s/firefly-iii
volumes:
- name: host-root
hostPath:
path: /k8s/firefly-iii
type: DirectoryOrCreate
-1
View File
@@ -70,4 +70,3 @@ spec:
resources:
requests:
storage: 5Gi
+18 -5
View File
@@ -65,6 +65,14 @@ kind: ClusterRole
metadata:
name: firefly-traefik-ai
rules:
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
@@ -106,6 +114,8 @@ spec:
app.kubernetes.io/name: traefik-ai
spec:
serviceAccountName: traefik-ai
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
nodeSelector:
kubernetes.io/hostname: ai.tail2fe2d.ts.net
tolerations:
@@ -118,7 +128,7 @@ spec:
image: rancher/mirrored-library-traefik:3.6.13
imagePullPolicy: IfNotPresent
args:
- --entrypoints.web.address=:8000
- --entrypoints.web.address=192.168.1.117:80
- --providers.kubernetesingress=true
- --providers.kubernetesingress.namespaces=firefly-iii
- --providers.kubernetesingress.ingressclass=traefik-ai
@@ -128,8 +138,9 @@ spec:
- --log.level=INFO
ports:
- name: web
containerPort: 8000
containerPort: 80
hostPort: 80
hostIP: 192.168.1.117
protocol: TCP
readinessProbe:
tcpSocket:
@@ -151,10 +162,12 @@ spec:
capabilities:
drop:
- ALL
add:
- NET_BIND_SERVICE
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 65532
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
securityContext:
seccompProfile:
type: RuntimeDefault
+1 -2
View File
@@ -25,7 +25,7 @@ persistence:
existingClaim: firefly-uploads
# Must remain true because chart 0.1.2 validates it. Kustomize removes the
# generated StatefulSet and redirects this Service to CloudNativePG.
# generated StatefulSet and makes this Service select the CloudNativePG Pod.
postgres:
enabled: true
auth:
@@ -66,4 +66,3 @@ firefly:
limits:
cpu: "2"
memory: 1Gi