Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,33 @@ For more detailed information, see our [Upgrading](http://pulsar.apache.org/docs

## Upgrading to Helm chart version 4.8.0

### X.509 certificate subject

In order to define the various parameters of the X.509 certificate subject, you need to update `tls.common` values :

```
# before
tls:
common:
organization:
- pulsar
# after
tls:
common:
subject:
organizations:
- pulsar
# countries: []
# organizationalUnits: []
# localities: []
# provinces: []
# streetAddresses: []
# postalCodes: []
# serialNumber: ""
```

The upgrade will fail if you still use the old value `tls.common.organization`.

### Default Apache Pulsar version is now 5.0.0

The chart now deploys Apache Pulsar 5.0.0 by default, using the `apachepulsar/pulsar:5.0.0` image. Before
Expand Down
8 changes: 6 additions & 2 deletions charts/pulsar/templates/_certs.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,13 @@ spec:
{{- end }}
duration: "{{ .root.Values.tls.common.duration }}"
renewBefore: "{{ .root.Values.tls.common.renewBefore }}"
{{- if hasKey .root.Values.tls.common "organization" -}}
{{- fail "tls.common.organization is no longer supported. Please configure tls.common.subject instead" -}}
Comment thread
lhotari marked this conversation as resolved.
{{- end -}}
{{- if .root.Values.tls.common.subject }}
subject:
organizations:
{{ toYaml .root.Values.tls.common.organization | indent 4 }}
{{ toYaml .root.Values.tls.common.subject | indent 4 }}
{{- end }}
# The use of the common name field has been deprecated since 2000 and is
# discouraged from being used.
commonName: "{{ template "pulsar.fullname" .root }}-{{ .componentConfig.component }}"
Expand Down
12 changes: 10 additions & 2 deletions charts/pulsar/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,16 @@ tls:
duration: 2160h
# 15d
renewBefore: 360h
organization:
- pulsar
subject:
organizations:
Comment thread
lhotari marked this conversation as resolved.
- pulsar
# countries: []
# organizationalUnits: []
# localities: []
# provinces: []
# streetAddresses: []
# postalCodes: []
# serialNumber: ""
keySize: 4096
keyAlgorithm: RSA
keyEncoding: PKCS8
Expand Down