1
0
Fork 0

feat: add common helm chart for static sites

This commit is contained in:
Vojtěch Mareš 2022-08-20 19:02:33 +02:00
parent 8e65c2f6cd
commit fb80b39754
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
9 changed files with 353 additions and 0 deletions

View file

@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "static-site.fullname" . }}
labels:
{{- include "static-site.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "static-site.selectorLabels" . | nindent 4 }}