faster snapshots

This commit is contained in:
2021-03-19 21:20:27 +01:00
parent b18dea273f
commit 173c2a9d01
5 changed files with 7 additions and 3 deletions

View File

@@ -1,6 +1,5 @@
FROM debian:stable-slim
#RUN echo 'Acquire::http::proxy "http://172.23.255.1:3142";' >/etc/apt/apt.conf.d/proxy
RUN apt-get update && apt-get install -y \
curl procps && \
apt-get clean -y && \

View File

@@ -113,6 +113,7 @@ metadata:
name: gitea
annotations:
ingress.kubernetes.io/whitelist-x-forwarded-for: "true"
nginx.ingress.kubernetes.io/proxy-body-size: 512m
spec:
rules:
- host: git-ui.lan

View File

@@ -60,6 +60,7 @@ spec:
- --dockerfile=$(params.pathToDockerFile)
- --destination=$(resources.outputs.builtImage.url)
- --context=$(params.pathToContext)
- --snapshotMode=redo
- --skip-tls-verify
workspaces:
- name: usr-src

View File

@@ -50,6 +50,7 @@ spec:
- --dockerfile=$(params.pathToDockerFile)
- --destination=$(resources.outputs.builtImage.url)
- --context=$(params.pathToContext)
- --snapshotMode=redo
- --skip-tls-verify
---
apiVersion: tekton.dev/v1beta1

View File

@@ -15,7 +15,7 @@ spec:
app: grav
spec:
containers:
- image: docker-registry.lan/grav:arm64
- image: cr.lan/grav:arm64
name: grav
imagePullPolicy: Always
ports:
@@ -81,6 +81,8 @@ apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: grav
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 512m
spec:
rules:
- host: grav.lan
@@ -95,7 +97,7 @@ kind: PersistentVolumeClaim
metadata:
name: grav-pages
spec:
storageClassName: nfs-ssd
storageClassName: nfs-ssd-ebin01
accessModes:
- ReadWriteOnce
resources: