Compare commits
2 Commits
259dfb10b7
...
c33672dfcc
Author | SHA1 | Date | |
---|---|---|---|
c33672dfcc | |||
68d41e2bd3 |
@ -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
|
@ -1,24 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: skooner
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: cluster.fun
|
||||
destination:
|
||||
namespace: skooner
|
||||
name: cluster-fun (scaleway)
|
||||
source:
|
||||
path: manifests/skooner
|
||||
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated: {}
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
ignoreDifferences:
|
||||
- kind: Secret
|
||||
jsonPointers:
|
||||
- /data
|
@ -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
|
@ -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
|
||||
|
||||
---
|
@ -1,106 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: skooner-user
|
||||
labels:
|
||||
app.kubernetes.io/name: skooner
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: skooner-user
|
||||
labels:
|
||||
app.kubernetes.io/name: skooner
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: cluster-admin
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: skooner-user
|
||||
namespace: skooner
|
||||
|
||||
---
|
||||
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
name: skooner
|
||||
labels:
|
||||
app.kubernetes.io/name: skooner
|
||||
spec:
|
||||
replicas: 0
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: skooner
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: skooner
|
||||
spec:
|
||||
containers:
|
||||
- name: skooner
|
||||
image: ghcr.io/skooner-k8s/skooner:stable
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 4654
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
scheme: HTTP
|
||||
path: /
|
||||
port: 4654
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 30
|
||||
resources:
|
||||
limits:
|
||||
memory: 80Mi
|
||||
requests:
|
||||
memory: 80Mi
|
||||
|
||||
|
||||
---
|
||||
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: skooner
|
||||
labels:
|
||||
app.kubernetes.io/name: skooner
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 4654
|
||||
name: web
|
||||
selector:
|
||||
app.kubernetes.io/name: skooner
|
||||
|
||||
---
|
||||
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: skooner
|
||||
labels:
|
||||
app.kubernetes.io/name: skooner
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- skooner.cluster.fun
|
||||
secretName: skooner-ingress
|
||||
rules:
|
||||
- host: skooner.cluster.fun
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
service:
|
||||
name: skooner
|
||||
port:
|
||||
name: web
|
Loading…
Reference in New Issue
Block a user