64 lines
1.3 KiB
YAML
64 lines
1.3 KiB
YAML
|
---
|
||
|
shortcuts:
|
||
|
hostname: xray-docs.badhouseplants.net
|
||
|
|
||
|
base:
|
||
|
workload:
|
||
|
kind: Deployment
|
||
|
strategy:
|
||
|
type: RollingUpdate
|
||
|
containers:
|
||
|
xray-docs:
|
||
|
image:
|
||
|
registry: zot.badhouseplants.net
|
||
|
repository: badhouseplants/xray-docs
|
||
|
tag: latest
|
||
|
pullPolicy: Always
|
||
|
ports:
|
||
|
main:
|
||
|
- http
|
||
|
livenessProbe:
|
||
|
httpGet:
|
||
|
path: /
|
||
|
port: 80
|
||
|
initialDelaySeconds: 3
|
||
|
periodSeconds: 3
|
||
|
readinessProbe:
|
||
|
httpGet:
|
||
|
path: /
|
||
|
port: 80
|
||
|
initialDelaySeconds: 3
|
||
|
periodSeconds: 3
|
||
|
|
||
|
ingress:
|
||
|
main:
|
||
|
enabled: true
|
||
|
class: traefik
|
||
|
rules:
|
||
|
- host: "{{ .Values.shortcuts.hostname }}"
|
||
|
http:
|
||
|
paths:
|
||
|
- backend:
|
||
|
service:
|
||
|
name: '{{ include "chart.fullname" $ }}-main'
|
||
|
port:
|
||
|
number: 80
|
||
|
path: /
|
||
|
pathType: Prefix
|
||
|
tls:
|
||
|
- hosts:
|
||
|
- "{{ .Values.shortcuts.hostname }}"
|
||
|
secretName: "{{ .Values.shortcuts.hostname }}"
|
||
|
extraVolumes:
|
||
|
logs:
|
||
|
emptyDir: {}
|
||
|
services:
|
||
|
main:
|
||
|
enabled: true
|
||
|
type: ClusterIP
|
||
|
ports:
|
||
|
http:
|
||
|
port: 80
|
||
|
targetPort: 80
|
||
|
protocol: TCP
|