diff options
author | chemicstry <chemicstry@gmail.com> | 2022-06-20 15:52:43 +0300 |
---|---|---|
committer | Maximilien R <maximilien@deuxfleurs.fr> | 2022-09-30 18:46:57 +0200 |
commit | a93dcce84196bb8ffc8cef091d1343597b15b9a6 (patch) | |
tree | d14aad0abde74d453f590fe2ac0556a66ee8c6e4 /script/helm/garage/templates/service.yaml | |
parent | b17d59cfabbe92c509f4888cae83f6053a8cab1e (diff) | |
download | garage-a93dcce84196bb8ffc8cef091d1343597b15b9a6.tar.gz garage-a93dcce84196bb8ffc8cef091d1343597b15b9a6.zip |
Add helm chart
Diffstat (limited to 'script/helm/garage/templates/service.yaml')
-rw-r--r-- | script/helm/garage/templates/service.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/script/helm/garage/templates/service.yaml b/script/helm/garage/templates/service.yaml new file mode 100644 index 00000000..2bfff99d --- /dev/null +++ b/script/helm/garage/templates/service.yaml @@ -0,0 +1,19 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "garage.fullname" . }} + labels: + {{- include "garage.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.s3.api.port }} + targetPort: 3900 + protocol: TCP + name: s3-api + - port: {{ .Values.service.s3.web.port }} + targetPort: 3902 + protocol: TCP + name: s3-web + selector: + {{- include "garage.selectorLabels" . | nindent 4 }} |