feat: add common helm chart for static sites
This commit is contained in:
parent
8e65c2f6cd
commit
fb80b39754
9 changed files with 353 additions and 0 deletions
15
deploy/charts/static-site/templates/service.yaml
Normal file
15
deploy/charts/static-site/templates/service.yaml
Normal 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 }}
|
||||
Reference in a new issue