Remove focalboard

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2024-02-24 08:17:16 +00:00
parent 68d41e2bd3
commit c33672dfcc
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
3 changed files with 0 additions and 181 deletions

View File

@ -1,24 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: focalboard
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: cluster.fun
destination:
namespace: focalboard
name: cluster-fun (scaleway)
source:
path: manifests/focalboard
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
targetRevision: HEAD
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
ignoreDifferences:
- kind: Secret
jsonPointers:
- /data

View File

@ -1,116 +0,0 @@
apiVersion: v1
kind: Secret
metadata:
name: focalboard
namespace: focalboard
labels:
app.kubernetes.io/name: focalboard
annotations:
kube-1password: dpszqviipd5tkls5bajzeb56ui
kube-1password/vault: Kubernetes
kube-1password/secret-text-key: config.json
type: Opaque
---
apiVersion: v1
kind: Service
metadata:
name: focalboard
namespace: focalboard
labels:
app.kubernetes.io/name: focalboard
annotations:
prometheus.io/scrape: "true"
prometheus.io/path: "/metrics"
prometheus.io/port: "9000"
spec:
type: ClusterIP
ports:
- port: 80
targetPort: web
name: web
selector:
app.kubernetes.io/name: focalboard
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: focalboard
namespace: focalboard
labels:
app.kubernetes.io/name: focalboard
annotations:
secret.reloader.stakater.com/reload: "focalboard"
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app.kubernetes.io/name: focalboard
template:
metadata:
labels:
app.kubernetes.io/name: focalboard
spec:
containers:
- name: focalboard
image: mattermost/focalboard:7.11.4
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8000
name: web
env:
- name: FOCALBOARD_PORT
value: "8000"
- name: VIRTUAL_HOST
value: "localhost"
- name: VIRTUAL_PORT
value: "8000"
- name: VIRTUAL_PROTO
value: "http"
volumeMounts:
- name: data
mountPath: /data
- name: config
mountPath: /opt/focalboard/config.json
subPath: config.json
volumes:
- name: data
persistentVolumeClaim:
claimName: focalboard
- name: config
secret:
secretName: focalboard
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: focalboard
namespace: focalboard
labels:
app.kubernetes.io/name: focalboard
annotations:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-body-size: "0"
spec:
tls:
- hosts:
- focalboard.cluster.fun
secretName: focalboard-ingress
rules:
- host: focalboard.cluster.fun
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: focalboard
port:
number: 80

View File

@ -1,41 +0,0 @@
apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
pv.kubernetes.io/provisioned-by: csi.scaleway.com
finalizers:
- kubernetes.io/pv-protection
- external-attacher/csi-scaleway-com
name: pvc-df17f08f-a966-40a0-bc72-26cf2adb89a1
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 2Gi
csi:
driver: csi.scaleway.com
fsType: ext4
volumeAttributes:
encrypted: "false"
storage.kubernetes.io/csiProvisionerIdentity: 1658355449315-8081-csi.scaleway.com
volumeHandle: fr-par-1/d823f97e-7ef0-4fb0-97ac-5a838356c355
persistentVolumeReclaimPolicy: Retain
storageClassName: scw-bssd
volumeMode: Filesystem
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: focalboard
namespace: focalboard
labels:
app.kubernetes.io/name: focalboard
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
volumeName: pvc-df17f08f-a966-40a0-bc72-26cf2adb89a1
---