-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgo-http-server.yaml
39 lines (39 loc) · 1.06 KB
/
go-http-server.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
name: public-html
namespace: pair-system
spec:
releaseName: public-html
chart:
git: https://gitlab.com/safesurfer/go-http-server
ref: master
path: deployments/go-http-server
values:
serveFolder: /home/ii/public_html
vuejsHistoryMode: false
image:
tag: 1.6.0
nodeSelector:
node-role.kubernetes.io/control-plane: ""
ingress:
enabled: true
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "0"
kubernetes.io/ingress.class: $SHARINGIO_PAIR_INSTANCE_INGRESS_CLASS_NAME
realIPHeader: "$SHARINGIO_PAIR_INSTANCE_INGRESS_REAL_IP_HEADER"
hosts:
- host: www.$SHARINGIO_PAIR_INSTANCE_SETUP_BASEDNSNAME
paths:
- /
tls:
- secretName: letsencrypt-prod
hosts:
- www.$SHARINGIO_PAIR_INSTANCE_SETUP_BASEDNSNAME
extraVolumeMounts:
- name: humacs-home-ii
mountPath: /home/ii
extraVolumes:
- name: humacs-home-ii
hostPath:
path: /home/ii