radosgw: Proper fix for frontend port selection
This commit is contained in:
parent
a7ad50d9a3
commit
d755ebcd0e
4 changed files with 7 additions and 4 deletions
|
@ -4,4 +4,4 @@ appVersion: "14.2"
|
|||
description: CEPH RadosGW
|
||||
icon: http://ceph.com/wp-content/uploads/2016/07/Ceph_Logo_Stacked_RGB_120411_fa.png
|
||||
name: radosgw
|
||||
version: 0.3.3
|
||||
version: 0.3.4
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{- $port := .Values.frontendPort | default 8008 -}}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
|
@ -11,9 +12,9 @@ data:
|
|||
mon_host = {{ include "helm-toolkit.utils.joinListWithComma" .Values.monHosts }}
|
||||
rgw dns name = {{ .Values.dnsName }}
|
||||
{{- if eq .Values.frontend "beast" }}
|
||||
rgw frontends = beast port=80 endpoint=0.0.0.0
|
||||
rgw frontends = beast endpoint=0.0.0.0 port={{ $port }}
|
||||
{{- else if eq .Values.frontend "civetweb" }}
|
||||
rgw frontends = civetweb port=80
|
||||
rgw frontends = civetweb port={{ $port }}
|
||||
{{- end }}
|
||||
{{- if .Values.extraCephConf }}
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{- $port := .Values.frontendPort | default 8008 -}}
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
|
@ -35,7 +36,7 @@ spec:
|
|||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
containerPort: {{ $port }}
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
|
|
|
@ -19,6 +19,7 @@ dnsName: chart-example.local
|
|||
|
||||
# The RadosGW frontend to use, either beast or civetweb
|
||||
frontend: beast
|
||||
# frontendPort: 8008
|
||||
|
||||
# extraCephConf: |-
|
||||
|
||||
|
|
Loading…
Reference in a new issue