freescout: Cleanup

This commit is contained in:
Lauri Võsandi 2024-08-14 06:57:15 +03:00
parent a09f7d4f7e
commit b0befbcd69
2 changed files with 29 additions and 9 deletions

View File

@ -1,5 +1,15 @@
# Freescout # Freescout
Freescout scrapes `info@k-space.ee` and `accounting@k-space.ee` mailboxes
from Wildduck and builds issue tracker on top the mailbox.
The Freescout user interface is accessible at
[freescout.k-space.ee](https://freescout.k-space.ee/)
Note that Freescout notifications are sent to `@k-space.ee` mailboxes.
Forwarding to personal eg. `@gmail.com` mailbox can be configured via
[Wildduck webmail](https://webmail.k-space.ee/account/profile)
This application is managed by [ArgoCD](https://argocd.k-space.ee/applications/argocd/freescout) This application is managed by [ArgoCD](https://argocd.k-space.ee/applications/argocd/freescout)
Should ArgoCD be down manifests here can be applied with: Should ArgoCD be down manifests here can be applied with:

View File

@ -1,8 +1,10 @@
# yamllint disable rule:line-length
--- ---
apiVersion: codemowers.cloud/v1beta1 apiVersion: codemowers.cloud/v1beta1
kind: OIDCMiddlewareClient kind: OIDCMiddlewareClient
metadata: metadata:
name: freescout name: freescout
namespace: freescout
spec: spec:
displayName: Freescout Middleware displayName: Freescout Middleware
uri: 'https://freescout.k-space.ee' uri: 'https://freescout.k-space.ee'
@ -18,6 +20,7 @@ apiVersion: codemowers.cloud/v1beta1
kind: OIDCClient kind: OIDCClient
metadata: metadata:
name: freescout name: freescout
namespace: freescout
spec: spec:
displayName: Freescout displayName: Freescout
uri: https://freescout.k-space.ee uri: https://freescout.k-space.ee
@ -105,6 +108,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: freescout name: freescout
namespace: freescout
annotations: annotations:
kubernetes.io/ingress.class: traefik kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.entrypoints: websecure
@ -131,6 +135,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: freescout name: freescout
namespace: freescout
spec: spec:
type: ClusterIP type: ClusterIP
selector: selector:
@ -144,9 +149,11 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: freescout name: freescout
namespace: freescout
labels: labels:
app: freescout app: freescout
spec: spec:
revisionHistoryLimit: 0
selector: selector:
matchLabels: matchLabels:
app: freescout app: freescout
@ -209,6 +216,7 @@ apiVersion: batch/v1
kind: CronJob kind: CronJob
metadata: metadata:
name: freescout-cron name: freescout-cron
namespace: freescout
spec: spec:
schedule: "0,30 * * * *" # Should be every minute in theory, keeps hanging schedule: "0,30 * * * *" # Should be every minute in theory, keeps hanging
jobTemplate: jobTemplate:
@ -274,6 +282,7 @@ apiVersion: codemowers.cloud/v1beta1
kind: MinioBucketClaim kind: MinioBucketClaim
metadata: metadata:
name: attachments name: attachments
namespace: freescout
spec: spec:
capacity: 10Gi capacity: 10Gi
class: external class: external
@ -282,6 +291,7 @@ apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule kind: PrometheusRule
metadata: metadata:
name: freescout name: freescout
namespace: freescout
spec: spec:
groups: groups:
- name: freescout - name: freescout