Compare commits

..
Author SHA1 Message Date
Gitea Actions Bot 9a51667b19 Auto-update README with current k8s applications
Keycloak Terraform / Terraform (pull_request) Failing after 25s
Generated by CI/CD workflow on 2026-07-30 11:18:50

This PR updates the README.md file with the current list of applications found in the k8s/ directory structure.
2026-07-30 11:18:50 +00:00
8 changed files with 18 additions and 276 deletions
-128
View File
@@ -1,128 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: firefly-data-importer
labels:
app.kubernetes.io/name: firefly-data-importer
annotations:
reloader.stakater.com/auto: "true"
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app.kubernetes.io/name: firefly-data-importer
template:
metadata:
labels:
app.kubernetes.io/name: firefly-data-importer
spec:
nodeSelector:
kubernetes.io/hostname: ai.tail2fe2d.ts.net
tolerations:
- key: workload
operator: Equal
value: ai
effect: NoSchedule
containers:
- name: data-importer
image: fireflyiii/data-importer:version-2.3.4
imagePullPolicy: IfNotPresent
env:
- name: FIREFLY_III_URL
value: http://firefly-iii
- name: VANITY_URL
value: http://ff.lan
- name: TRUSTED_PROXIES
value: "**"
- name: EXPECT_SECURE_URL
value: "false"
- name: VERIFY_TLS_SECURITY
value: "true"
- name: TZ
value: Europe/London
- name: APP_ENV
value: production
- name: APP_DEBUG
value: "false"
- name: LOG_LEVEL
value: notice
- name: ENABLE_BANKING_APP_ID
valueFrom:
secretKeyRef:
name: firefly-data-importer-secrets
key: ENABLE_BANKING_APP_ID
- name: ENABLE_BANKING_PRIVATE_KEY
valueFrom:
secretKeyRef:
name: firefly-data-importer-secrets
key: ENABLE_BANKING_PRIVATE_KEY
ports:
- name: http
containerPort: 8080
protocol: TCP
readinessProbe:
tcpSocket:
port: http
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
tcpSocket:
port: http
initialDelaySeconds: 20
periodSeconds: 30
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: "1"
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
securityContext:
seccompProfile:
type: RuntimeDefault
---
apiVersion: v1
kind: Service
metadata:
name: firefly-data-importer
labels:
app.kubernetes.io/name: firefly-data-importer
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: firefly-data-importer
ports:
- name: http
port: 80
targetPort: http
protocol: TCP
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: firefly-data-importer
labels:
app.kubernetes.io/name: firefly-data-importer
firefly.hexor.cy/private-ai: "true"
annotations:
kubernetes.io/ingress.class: traefik-ai
spec:
rules:
- host: import.ff.lan
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: firefly-data-importer
port:
number: 80
+1 -35
View File
@@ -46,38 +46,4 @@ spec:
remoteRef:
key: a1867c81-715c-47cd-978d-14ea5bcedea9
property: fields[2].value
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: firefly-data-importer-secrets
spec:
refreshInterval: 1h
target:
name: firefly-data-importer-secrets
creationPolicy: Owner
deletionPolicy: Delete
template:
type: Opaque
data:
ENABLE_BANKING_APP_ID: |-
{{ .app_id }}
ENABLE_BANKING_PRIVATE_KEY: |-
{{ .private_key }}
data:
- secretKey: app_id
sourceRef:
storeRef:
name: vaultwarden-login
kind: ClusterSecretStore
remoteRef:
key: a1867c81-715c-47cd-978d-14ea5bcedea9
property: fields[3].value
- secretKey: private_key
sourceRef:
storeRef:
name: vaultwarden-login
kind: ClusterSecretStore
remoteRef:
key: a1867c81-715c-47cd-978d-14ea5bcedea9
property: fields[4].value
+8 -14
View File
@@ -3,11 +3,9 @@ kind: Kustomization
resources:
- app.yaml
- data-importer.yaml
- external-secrets.yaml
- postgres.yaml
- storage.yaml
- storage-prep.yaml
- traefik-ai.yaml
- network-policy.yaml
@@ -22,7 +20,7 @@ helmCharts:
patches:
# Chart 0.1.2 requires postgres.enabled=true. Remove its StatefulSet and
# make the generated database Service select the CloudNativePG instance.
# redirect the generated database Service to the CloudNativePG primary.
- target:
group: apps
version: v1
@@ -39,10 +37,14 @@ patches:
kind: Service
name: firefly-iii-postgres
patch: |-
- op: replace
- op: remove
path: /spec/selector
value:
cnpg.io/cluster: firefly-postgres
- op: replace
path: /spec/type
value: ExternalName
- op: add
path: /spec/externalName
value: firefly-postgres-rw.firefly-iii.svc.cluster.local
# The upstream chart does not expose scheduling settings for its CronJob.
- target:
group: batch
@@ -71,11 +73,3 @@ 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
+1 -26
View File
@@ -19,11 +19,6 @@ 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
@@ -61,24 +56,4 @@ spec:
ports:
- protocol: TCP
port: 8000
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: firefly-data-importer-ingress
spec:
podSelector:
matchLabels:
app.kubernetes.io/name: firefly-data-importer
policyTypes:
- Ingress
ingress:
# traefik-ai uses hostNetwork and is therefore seen as node traffic.
- from:
- ipBlock:
cidr: 192.168.1.117/32
- ipBlock:
cidr: 100.77.155.120/32
ports:
- protocol: TCP
port: 8080
-52
View File
@@ -1,52 +0,0 @@
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,3 +70,4 @@ spec:
resources:
requests:
storage: 5Gi
+5 -20
View File
@@ -65,14 +65,6 @@ kind: ClusterRole
metadata:
name: firefly-traefik-ai
rules:
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
@@ -114,8 +106,6 @@ spec:
app.kubernetes.io/name: traefik-ai
spec:
serviceAccountName: traefik-ai
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
nodeSelector:
kubernetes.io/hostname: ai.tail2fe2d.ts.net
tolerations:
@@ -128,7 +118,7 @@ spec:
image: rancher/mirrored-library-traefik:3.6.13
imagePullPolicy: IfNotPresent
args:
- --entrypoints.web.address=192.168.1.117:80
- --entrypoints.web.address=:8000
- --providers.kubernetesingress=true
- --providers.kubernetesingress.namespaces=firefly-iii
- --providers.kubernetesingress.ingressclass=traefik-ai
@@ -138,18 +128,15 @@ spec:
- --log.level=INFO
ports:
- name: web
containerPort: 80
containerPort: 8000
hostPort: 80
hostIP: 192.168.1.117
protocol: TCP
readinessProbe:
tcpSocket:
host: 192.168.1.117
port: web
periodSeconds: 10
livenessProbe:
tcpSocket:
host: 192.168.1.117
port: web
periodSeconds: 30
resources:
@@ -164,12 +151,10 @@ spec:
capabilities:
drop:
- ALL
add:
- NET_BIND_SERVICE
readOnlyRootFilesystem: true
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
runAsNonRoot: true
runAsUser: 65532
securityContext:
seccompProfile:
type: RuntimeDefault
+2 -1
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 makes this Service select the CloudNativePG Pod.
# generated StatefulSet and redirects this Service to CloudNativePG.
postgres:
enabled: true
auth:
@@ -66,3 +66,4 @@ firefly:
limits:
cpu: "2"
memory: 1Gi