Compare commits
1 Commits
f9f0759c7d
...
5207cd522e
Author | SHA1 | Date | |
---|---|---|---|
5207cd522e |
@@ -1,29 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: cluster-fun-grist
|
|
||||||
namespace: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: cluster.fun
|
|
||||||
destination:
|
|
||||||
namespace: grist
|
|
||||||
name: cluster-fun (v2)
|
|
||||||
source:
|
|
||||||
path: manifests/grist
|
|
||||||
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
|
|
||||||
targetRevision: HEAD
|
|
||||||
syncPolicy:
|
|
||||||
automated: {}
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
ignoreDifferences:
|
|
||||||
- kind: Secret
|
|
||||||
jsonPointers:
|
|
||||||
- /data
|
|
||||||
- group: apps
|
|
||||||
kind: Deployment
|
|
||||||
jqPathExpressions:
|
|
||||||
- .spec.template.spec.containers[]?.image
|
|
||||||
---
|
|
@@ -1,171 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: grist
|
|
||||||
namespace: grist
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: grist
|
|
||||||
annotations:
|
|
||||||
kube-1password: bpagsbvdrwomghyeowdgauytqq
|
|
||||||
kube-1password/vault: Kubernetes
|
|
||||||
kube-1password/secret-text-parse: "true"
|
|
||||||
type: Opaque
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: grist
|
|
||||||
namespace: grist
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: grist
|
|
||||||
---
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: grist-data
|
|
||||||
namespace: grist
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: grist
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: "1Gi"
|
|
||||||
storageClassName: "sbs-default-retain"
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: grist
|
|
||||||
namespace: grist
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: grist
|
|
||||||
spec:
|
|
||||||
type: ClusterIP
|
|
||||||
ports:
|
|
||||||
- port: 80
|
|
||||||
targetPort: 8484
|
|
||||||
protocol: TCP
|
|
||||||
name: http
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/name: grist
|
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: grist
|
|
||||||
namespace: grist
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: grist
|
|
||||||
annotations:
|
|
||||||
secret.reloader.stakater.com/reload: "grist"
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: grist
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: grist
|
|
||||||
spec:
|
|
||||||
serviceAccountName: grist
|
|
||||||
containers:
|
|
||||||
- name: grist
|
|
||||||
image: gristlabs/grist-oss:1.3.0
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
containerPort: 8484
|
|
||||||
protocol: TCP
|
|
||||||
livenessProbe:
|
|
||||||
tcpSocket:
|
|
||||||
port: http
|
|
||||||
readinessProbe:
|
|
||||||
tcpSocket:
|
|
||||||
port: http
|
|
||||||
env:
|
|
||||||
- name: APP_HOME_URL
|
|
||||||
value: https://grist.cluster.fun
|
|
||||||
- name: APP_DOC_URL
|
|
||||||
value: https://grist.cluster.fun
|
|
||||||
- name: APP_HOME_INTERNAL_URL
|
|
||||||
value: http://grist.grist.svc
|
|
||||||
- name: APP_DOC_INTERNAL_URL
|
|
||||||
value: http://grist.grist.svc
|
|
||||||
- name: GRIST_SINGLE_ORG
|
|
||||||
value: default
|
|
||||||
- name: GRIST_TELEMETRY_LEVEL
|
|
||||||
value: "off"
|
|
||||||
- name: ALLOWED_WEBHOOK_DOMAINS
|
|
||||||
value: "tank.tank.svc,matrix.cluster.fun"
|
|
||||||
- name: GRIST_ANON_PLAYGROUND
|
|
||||||
value: "false"
|
|
||||||
- name: GRIST_FORCE_LOGIN
|
|
||||||
value: "true"
|
|
||||||
- name: GRIST_SANDBOX_FLAVOR
|
|
||||||
value: gvisor
|
|
||||||
securityContext:
|
|
||||||
capabilities:
|
|
||||||
add:
|
|
||||||
- SYS_PTRACE
|
|
||||||
envFrom:
|
|
||||||
- secretRef:
|
|
||||||
name: grist
|
|
||||||
volumeMounts:
|
|
||||||
- name: data
|
|
||||||
mountPath: /persist
|
|
||||||
volumes:
|
|
||||||
- name: data
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: grist-data
|
|
||||||
---
|
|
||||||
apiVersion: autoscaling/v2
|
|
||||||
kind: HorizontalPodAutoscaler
|
|
||||||
metadata:
|
|
||||||
name: grist
|
|
||||||
namespace: grist
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: grist
|
|
||||||
spec:
|
|
||||||
scaleTargetRef:
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
name: grist
|
|
||||||
minReplicas: 1
|
|
||||||
maxReplicas: 3
|
|
||||||
metrics:
|
|
||||||
- type: Resource
|
|
||||||
resource:
|
|
||||||
name: cpu
|
|
||||||
target:
|
|
||||||
type: Utilization
|
|
||||||
averageUtilization: 80
|
|
||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: grist
|
|
||||||
namespace: grist
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: grist
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt
|
|
||||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
|
||||||
spec:
|
|
||||||
ingressClassName: nginx
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- grist.cluster.fun
|
|
||||||
secretName: grist-ingress
|
|
||||||
rules:
|
|
||||||
- host: "grist.cluster.fun"
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: grist
|
|
||||||
port:
|
|
||||||
number: 80
|
|
@@ -203,7 +203,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
image: "nextcloud:30.0.3-apache"
|
image: "nextcloud:30.0.2-apache"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: SQLITE_DATABASE
|
- name: SQLITE_DATABASE
|
||||||
@@ -374,7 +374,7 @@ spec:
|
|||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
containers:
|
containers:
|
||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
image: "nextcloud:30.0.3-apache"
|
image: "nextcloud:30.0.2-apache"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command: [ "curl" ]
|
command: [ "curl" ]
|
||||||
args:
|
args:
|
||||||
|
@@ -65,7 +65,6 @@ spec:
|
|||||||
- |
|
- |
|
||||||
cd /data
|
cd /data
|
||||||
npm rebuild
|
npm rebuild
|
||||||
npm install tldts
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
Reference in New Issue
Block a user