Support defining extra env for broker and proxy statefulsset. (#273)
This commit is contained in:
parent
f2266c4295
commit
c6ab1d18e3
@ -227,6 +227,10 @@ spec:
|
||||
- name: "{{ .Values.tlsPrefix }}pulsarssl"
|
||||
containerPort: {{ .Values.broker.ports.pulsarssl }}
|
||||
{{- end }}
|
||||
{{- if .Values.broker.extreEnvs }}
|
||||
env:
|
||||
{{ toYaml .Values.broker.extreEnvs | indent 8 }}
|
||||
{{- end }}
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: "{{ template "pulsar.fullname" . }}-{{ .Values.broker.component }}"
|
||||
|
||||
@ -202,6 +202,10 @@ spec:
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: false
|
||||
{{- end }}
|
||||
{{- if .Values.proxy.extreEnvs }}
|
||||
env:
|
||||
{{ toYaml .Values.proxy.extreEnvs | indent 8 }}
|
||||
{{- end }}
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: "{{ template "pulsar.fullname" . }}-{{ .Values.proxy.component }}"
|
||||
|
||||
@ -740,6 +740,12 @@ broker:
|
||||
# readOnly: true
|
||||
extraVolumes: []
|
||||
extraVolumeMounts: []
|
||||
extreEnvs: []
|
||||
# - name: POD_NAME
|
||||
# valueFrom:
|
||||
# fieldRef:
|
||||
# apiVersion: v1
|
||||
# fieldPath: metadata.name
|
||||
## Broker configmap
|
||||
## templates/broker-configmap.yaml
|
||||
##
|
||||
@ -856,6 +862,12 @@ proxy:
|
||||
# readOnly: true
|
||||
extraVolumes: []
|
||||
extraVolumeMounts: []
|
||||
extreEnvs: []
|
||||
# - name: POD_IP
|
||||
# valueFrom:
|
||||
# fieldRef:
|
||||
# apiVersion: v1
|
||||
# fieldPath: status.podIP
|
||||
## Proxy configmap
|
||||
## templates/proxy-configmap.yaml
|
||||
##
|
||||
@ -1162,4 +1174,4 @@ pulsar_manager:
|
||||
job:
|
||||
ttl:
|
||||
enabled: false
|
||||
secondsAfterFinished: 3600
|
||||
secondsAfterFinished: 3600
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user