All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
114 lines
2.4 KiB
YAML
114 lines
2.4 KiB
YAML
---
|
|
shortcuts:
|
|
hostname: badhouseplants.net
|
|
|
|
base:
|
|
workload:
|
|
kind: Deployment
|
|
strategy:
|
|
type: RollingUpdate
|
|
securityContext:
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
initContainers:
|
|
faircamp:
|
|
image:
|
|
registry: gitea.badhouseplants.net
|
|
repository: badhouseplants/faircamp-site
|
|
tag: latest
|
|
pullPolicy: Always
|
|
volumeMounts:
|
|
storage:
|
|
site:
|
|
path: /data/.faircamp_build
|
|
extraVolumes:
|
|
cache:
|
|
path: /data/.faircamp_cache
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
containers:
|
|
nginx:
|
|
image:
|
|
registry: docker.io
|
|
repository: library/nginx
|
|
tag: latest
|
|
pullPolicy: Always
|
|
ports:
|
|
main:
|
|
- nginx
|
|
volumeMounts:
|
|
storage:
|
|
site:
|
|
path: /usr/share/nginx/html
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 80
|
|
httpHeaders:
|
|
initialDelaySeconds: 3
|
|
periodSeconds: 3
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 80
|
|
httpHeaders:
|
|
initialDelaySeconds: 3
|
|
periodSeconds: 3
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
class: traefik
|
|
rules:
|
|
- host: '{{ .Values.shortcuts.hostname }}'
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: '{{ .Release.Name }}-main'
|
|
port:
|
|
number: 80
|
|
path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- '{{ .Values.shortcuts.hostname }}'
|
|
secretName: '{{ .Values.shortcuts.hostname }}'
|
|
extraVolumes:
|
|
cache:
|
|
emptyDir: {}
|
|
|
|
services:
|
|
main:
|
|
enabled: true
|
|
type: ClusterIP
|
|
ports:
|
|
nginx:
|
|
port: 80
|
|
targetPort: 80
|
|
protocol: TCP
|
|
|
|
storage:
|
|
site:
|
|
enabled: true
|
|
storageClassName: default
|
|
size: 3Gi
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
|
|
config:
|
|
# -- Please have a look here: https://github.com/dani-garcia/vaultwarden/blob/main/.env.template
|
|
env:
|
|
main:
|
|
enabled: false
|
|
sensitive: false
|
|
remove: []
|
|
data: {}
|
|
secrets:
|
|
enabled: false
|
|
sensitive: true
|
|
remove: []
|
|
data: {}
|