Add admin port

This commit is contained in:
kaiyou 2022-11-23 22:45:28 +01:00
parent fd38b387a8
commit 67102dd185
3 changed files with 9 additions and 0 deletions

View file

@ -30,3 +30,6 @@ data:
bind_addr = "[::]:3902"
root_domain = "{{ .Values.garage.s3.web.rootDomain }}"
index = "{{ .Values.garage.s3.web.index }}"
[admin]
api_bind_addr = "[::]:3903"

View file

@ -15,5 +15,9 @@ spec:
targetPort: 3902
protocol: TCP
name: s3-web
- port: 3904
targetPort: 3903
protocol: TCP
name: admin
selector:
{{- include "garage.selectorLabels" . | nindent 4 }}

View file

@ -56,6 +56,8 @@ spec:
name: s3-api
- containerPort: 3902
name: web-api
- containerPort: 3903
name: admin
volumeMounts:
- name: meta
mountPath: /mnt/meta