Compare commits

..

6 commits

Author SHA1 Message Date
f44bf4ed42 admin api definition: fix globalAlias query parameter name (related: #971)
All checks were successful
ci/woodpecker/pr/debug Pipeline was successful
ci/woodpecker/push/debug Pipeline was successful
2025-03-05 10:15:28 +01:00
23c6c0b79c doc: fix "since vX.X.X" in multiple places
All checks were successful
ci/woodpecker/push/debug Pipeline was successful
ci/woodpecker/pr/debug Pipeline was successful
2025-03-05 10:01:53 +01:00
a22cbcbcc7 bump version to v1.1.0 2025-03-05 10:01:53 +01:00
67d7c0769b Merge pull request 'Add headless service for statefulSet serviceName' (#970) from babykart/garage:helm-headless-svc into main
All checks were successful
ci/woodpecker/push/debug Pipeline was successful
Reviewed-on: #970
Reviewed-by: maximilien <me@mricher.fr>
2025-03-05 08:59:36 +00:00
09ed5ab8cc
Fix documentation link
Some checks are pending
ci/woodpecker/pr/debug Pipeline is pending approval
Signed-off-by: babykart <babykart@gmail.com>
2025-02-23 15:55:01 +01:00
a0ea28b0da
Add headless service for statefulSet serviceName
Some checks are pending
ci/woodpecker/pr/debug Pipeline is pending approval
Signed-off-by: babykart <babykart@gmail.com>
2025-02-23 15:45:55 +01:00
4 changed files with 25 additions and 5 deletions

View file

@ -687,7 +687,7 @@ paths:
operationId: "GetBucketInfo"
summary: "Get a bucket"
description: |
Given a bucket identifier (`id`) or a global alias (`alias`), get its information.
Given a bucket identifier (`id`) or a global alias (`globalAlias`), get its information.
It includes its aliases, its web configuration, keys that have some permissions
on it, some statistics (number of objects, size), number of dangling multipart uploads,
and its quotas (if any).
@ -701,7 +701,7 @@ paths:
example: "b4018dc61b27ccb5c64ec1b24f53454bbbd180697c758c4d47a22a8921864a87"
schema:
type: string
- name: alias
- name: globalAlias
in: query
description: |
The exact global alias of one of the existing buckets.

View file

@ -1,3 +1,3 @@
# Garage helm3 chart
Documentation is located [here](/doc/book/cookbook/kubernetes.md).
Documentation is located [here](https://garagehq.deuxfleurs.fr/documentation/cookbook/kubernetes/).

View file

@ -0,0 +1,21 @@
{{- if eq .Values.deployment.kind "StatefulSet" -}}
apiVersion: v1
kind: Service
metadata:
name: {{ include "garage.fullname" . }}-headless
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 }}
{{- end }}

View file

@ -10,12 +10,11 @@ spec:
{{- include "garage.selectorLabels" . | nindent 6 }}
{{- if eq .Values.deployment.kind "StatefulSet" }}
replicas: {{ .Values.deployment.replicaCount }}
serviceName: {{ include "garage.fullname" . }}
serviceName: {{ include "garage.fullname" . }}-headless
podManagementPolicy: {{ .Values.deployment.podManagementPolicy }}
{{- end }}
template:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}