xactmon: Deploy Invoice Ninja importer for HLC
Bank notifications sent to Tabitha's mailbox are now processed by `xactmon` and imported into Invoice Ninja as expenses for Hatch Learning Center.
This commit is contained in:
@@ -22,8 +22,9 @@ spec:
|
||||
imagePullPolicy: Always
|
||||
args:
|
||||
- receiver-jmap
|
||||
- /etc/xactmon/config.toml
|
||||
env:
|
||||
- name: XACTMON_CONFIG
|
||||
value: /etc/xactmon/config.toml
|
||||
- name: RUST_LOG
|
||||
value: xactmon=trace,info
|
||||
- name: TZ
|
||||
@@ -102,8 +103,9 @@ spec:
|
||||
imagePullPolicy: Always
|
||||
args:
|
||||
- processor
|
||||
- /etc/xactmon/config.toml
|
||||
env:
|
||||
- name: XACTMON_CONFIG
|
||||
value: /etc/xactmon/config.toml
|
||||
- name: RUST_LOG
|
||||
value: xactmon=trace,info
|
||||
- name: TZ
|
||||
@@ -182,8 +184,92 @@ spec:
|
||||
imagePullPolicy: Always
|
||||
args:
|
||||
- importer-firefly
|
||||
- /etc/xactmon/config.toml
|
||||
- default
|
||||
env:
|
||||
- name: XACTMON_CONFIG
|
||||
value: /etc/xactmon/config.toml
|
||||
- name: RUST_LOG
|
||||
value: xactmon=trace,info
|
||||
- name: TZ
|
||||
value: America/Chicago
|
||||
volumeMounts:
|
||||
- mountPath: /etc/xactmon
|
||||
name: xactmon-config
|
||||
readOnly: true
|
||||
- mountPath: /run/dch-ca
|
||||
name: dch-ca
|
||||
readOnly: true
|
||||
- mountPath: /run/secrets/xactmon
|
||||
name: xactmon-secrets
|
||||
readOnly: true
|
||||
- mountPath: /run/secrets/rabbitmq/password
|
||||
name: rabbitmq-cert-password
|
||||
subPath: password
|
||||
readOnly: true
|
||||
- mountPath: /run/secrets/rabbitmq/cert
|
||||
name: rabbitmq-cert
|
||||
readOnly: true
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
subPath: tmp
|
||||
imagePullSecrets:
|
||||
- name: imagepull-gitea
|
||||
securityContext:
|
||||
runAsUser: 251
|
||||
runAsGroup: 251
|
||||
fsGroup: 251
|
||||
volumes:
|
||||
- name: dch-ca
|
||||
configMap:
|
||||
name: dch-root-ca
|
||||
- name: rabbitmq-cert
|
||||
secret:
|
||||
secretName: rabbitmq-cert
|
||||
defaultMode: 0440
|
||||
- name: rabbitmq-cert-password
|
||||
secret:
|
||||
secretName: rabbitmq-cert-password
|
||||
defaultMode: 0440
|
||||
- name: tmp
|
||||
emptyDir:
|
||||
medium: Memory
|
||||
- name: xactmon-config
|
||||
configMap:
|
||||
name: xactmon
|
||||
- name: xactmon-secrets
|
||||
secret:
|
||||
secretName: xactmon
|
||||
defaultMode: 0440
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: xactmon-importer-invoiceninja
|
||||
labels:
|
||||
app.kubernetes.io/name: xactmon-importer-invoiceninja
|
||||
app.kubernetes.io/component: importer-invoiceninja
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: xactmon-importer-invoiceninja
|
||||
app.kubernetes.io/component: importer-invoiceninja
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: xactmon-importer-invoiceninja
|
||||
app.kubernetes.io/component: importer-invoiceninja
|
||||
spec:
|
||||
containers:
|
||||
- name: importer-invoiceninja
|
||||
image: git.pyrocufflink.net/packages/xactmon
|
||||
imagePullPolicy: Always
|
||||
args:
|
||||
- importer-invoiceninja
|
||||
- hlc
|
||||
env:
|
||||
- name: XACTMON_CONFIG
|
||||
value: /etc/xactmon/config.toml
|
||||
- name: RUST_LOG
|
||||
value: xactmon=trace,info
|
||||
- name: TZ
|
||||
|
||||
Reference in New Issue
Block a user