333 lines
8.7 KiB
YAML
333 lines
8.7 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: xactmon-receiver-jmap
|
|
labels:
|
|
app.kubernetes.io/name: xactmon-receiver-jmap
|
|
app.kubernetes.io/component: receiver-jmap
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: xactmon-receiver-jmap
|
|
app.kubernetes.io/component: receiver-jmap
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: xactmon-receiver-jmap
|
|
app.kubernetes.io/component: receiver-jmap
|
|
spec:
|
|
containers:
|
|
- name: receiver-jmap
|
|
image: git.pyrocufflink.net/packages/xactmon
|
|
imagePullPolicy: Always
|
|
args:
|
|
- receiver-jmap
|
|
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
|
|
nodeSelector:
|
|
kubernetes.io/arch: amd64
|
|
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-processor
|
|
labels:
|
|
app.kubernetes.io/name: xactmon-processor
|
|
app.kubernetes.io/component: processor
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: xactmon-processor
|
|
app.kubernetes.io/component: processor
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: xactmon-processor
|
|
app.kubernetes.io/component: processor
|
|
spec:
|
|
containers:
|
|
- name: processor
|
|
image: git.pyrocufflink.net/packages/xactmon
|
|
imagePullPolicy: Always
|
|
args:
|
|
- processor
|
|
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
|
|
nodeSelector:
|
|
kubernetes.io/arch: amd64
|
|
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-firefly
|
|
labels:
|
|
app.kubernetes.io/name: xactmon-importer-firefly
|
|
app.kubernetes.io/component: importer-firefly
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: xactmon-importer-firefly
|
|
app.kubernetes.io/component: importer-firefly
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: xactmon-importer-firefly
|
|
app.kubernetes.io/component: importer-firefly
|
|
spec:
|
|
containers:
|
|
- name: importer-firefly
|
|
image: git.pyrocufflink.net/packages/xactmon
|
|
imagePullPolicy: Always
|
|
args:
|
|
- importer-firefly
|
|
- 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
|
|
nodeSelector:
|
|
kubernetes.io/arch: amd64
|
|
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
|
|
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
|
|
nodeSelector:
|
|
kubernetes.io/arch: amd64
|
|
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
|