firefly-iii: Use a single Data Importer instance

Tabitha has decided not to use Firefly to manage her finances.  We've
mostly consolidated our expenses and income now, which I manage in my
Firefly account.  In fact, the Ingress for Firefly III itself always
sets the `Remote-User: dustin` header, so only my account is accessible
anyway.  Thus, there is no longer any reason to have two Data Importer
instances.
This commit is contained in:
2023-12-10 08:37:18 -06:00
parent bfe3523285
commit a235fbd5ac
2 changed files with 13 additions and 114 deletions

View File

@@ -1,11 +1,11 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: firefly-iii-importer-dustin
name: firefly-iii-importer
labels:
app.kubernetes.io/name: firefly-iii-importer-dustin
app.kubernetes.io/name: firefly-iii-importer
app.kubernetes.io/component: firefly-iii-importer
app.kubernetes.io/instance: dustin
app.kubernetes.io/instance: firefly-iii
app.kubernetes.io/part-of: firefly-iii-importer
annotations:
cert-manager.io/cluster-issuer: zerossl
@@ -23,53 +23,16 @@ spec:
ingressClassName: nginx
tls:
- hosts:
- '*.import.firefly.pyrocufflink.blue'
secretName: firefly-import-cert
- 'firefly-importer.pyrocufflink.blue'
rules:
- host: dustin.import.firefly.pyrocufflink.blue
- host: firefly-importer.pyrocufflink.blue
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: firefly-iii-importer-dustin
port:
name: http
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: firefly-iii-importer-tabitha
labels:
app.kubernetes.io/name: firefly-iii-importer-tabitha
app.kubernetes.io/component: firefly-iii-importer
app.kubernetes.io/instance: tabitha
app.kubernetes.io/part-of: firefly-iii-importer
annotations:
nginx.ingress.kubernetes.io/proxy-buffer-size: "8k"
nginx.ingress.kubernetes.io/auth-method: GET
nginx.ingress.kubernetes.io/auth-url: http://authelia.authelia.svc.cluster.local:9091/api/verify
nginx.ingress.kubernetes.io/auth-signin: https://auth.pyrocufflink.blue/?rm=$request_method
nginx.ingress.kubernetes.io/auth-response-headers: Remote-User,Remote-Name,Remote-Groups,Remote-Email
nginx.ingress.kubernetes.io/auth-snippet: |
proxy_set_header X-Forwarded-Method $request_method;
spec:
ingressClassName: nginx
tls:
- hosts:
- '*.import.firefly.pyrocufflink.blue'
secretName: firefly-import-cert
rules:
- host: tabitha.import.firefly.pyrocufflink.blue
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: firefly-iii-importer-tabitha
name: firefly-iii-importer
port:
name: http