changed publishNotReadyAddresses to (#64)
### Motivation * ```publishNotReadyAddresses``` is a service spec and not a service annotation. This is mentioned in the K8s API docs at https://v1-17.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#servicespec-v1-core ### Modifications * Modified ```publishNotReadyAddresses``` from annotation to service spec ### Verifying this change - [x] Make sure that the change passes the CI checks.
This commit is contained in:
parent
bf5db574d1
commit
fb4c44f449
@ -26,8 +26,10 @@ metadata:
|
||||
labels:
|
||||
{{- include "pulsar.standardLabels" . | nindent 4 }}
|
||||
component: {{ .Values.bookkeeper.component }}
|
||||
{{- if .Values.bookkeeper.service.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.bookkeeper.service.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
ports:
|
||||
- name: bookie
|
||||
@ -38,4 +40,7 @@ spec:
|
||||
selector:
|
||||
{{- include "pulsar.matchLabels" . | nindent 4 }}
|
||||
component: {{ .Values.bookkeeper.component }}
|
||||
{{- if .Values.bookkeeper.service.spec }}
|
||||
{{- toYaml .Values.bookkeeper.service.spec | trim | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@ -489,8 +489,8 @@ bookkeeper:
|
||||
## templates/bookkeeper-service.yaml
|
||||
##
|
||||
service:
|
||||
annotations:
|
||||
publishNotReadyAddresses: "true"
|
||||
spec:
|
||||
publishNotReadyAddresses: true
|
||||
## Bookkeeper PodDisruptionBudget
|
||||
## templates/bookkeeper-pdb.yaml
|
||||
##
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user