Comments (6)
@nuriel77 - thank you for this detailed issue. It should definitely be cleaned up. I should be able to fix this and deploy an updated chart early next week.
from pulsar-helm-chart.
@michaeljmarshall Hi! Thanks.
Do I understand correctly that these might be the types of values the workaround was trying to fix: https://github.com/datastax/pulsar-helm-chart/pull/107/files#diff-3be28e7b230396d61d2bc7bd74e5e00070fbfa2c507caa36269a18bfe502df52L37
(as I've notice those would result in getting wrapped by single quotes when using toYaml
)
If that is the case, did you consider trying the following approach that might just work for all cases:
---
apiVersion: v1
kind: ConfigMap
metadata:
name: "cm-pulsar-broker"
labels:
app: pulsar
data:
{{- range $key, $val := $.Values.broker.configData }}
{{ $key }}: {{ $val | replace "\"" "" | trim | quote }}
{{- end }}
Tested with the following values:
broker:
configData:
managedLedgerDefaultWriteQuorum: "2"
zookeeperServers: "cm-pulsar-zookeeper-from-values-file:2181"
PULSAR_MEM: "\"-Xms312m -Xmx312m -XX:MaxDirectMemorySize=200m -XX:+ExitOnOutOfMemoryError\""
PULSAR_GC: "-XX:+UseG1GC"
PULSAR_TEST: some test values
Result:
apiVersion: v1
kind: ConfigMap
metadata:
name: "cm-pulsar-broker"
labels:
app: pulsar
data:
PULSAR_GC: "-XX:+UseG1GC"
PULSAR_MEM: "-Xms312m -Xmx312m -XX:MaxDirectMemorySize=200m -XX:+ExitOnOutOfMemoryError"
PULSAR_TEST: "some test values"
managedLedgerDefaultWriteQuorum: "2"
zookeeperServers: "cm-pulsar-zookeeper-from-values-file:2181"
from pulsar-helm-chart.
Are you interested in creating a PR with this fix?
Sure. I will be able to do it tomorrow morning (around European timezone) 👍
from pulsar-helm-chart.
@nuriel77 - #107 resolves this issue. It is technically a breaking change for users that have old values, so we are not going to merge/release this fix until 3.0.0. We plan to release 3.0.0 in the first half of January.
from pulsar-helm-chart.
Do I understand correctly that these might be the types of values the workaround was trying to fix: https://github.com/datastax/pulsar-helm-chart/pull/107/files#diff-3be28e7b230396d61d2bc7bd74e5e00070fbfa2c507caa36269a18bfe502df52L37
(as I've notice those would result in getting wrapped by single quotes when usingtoYaml
)
@nuriel77 - yes, those are exactly the the values the fix was working around. This looks like a good solution to prevent breaking changes. Are you interested in creating a PR with this fix? If not, I should be able to contribute this fix tomorrow.
from pulsar-helm-chart.
This was fixed by #110. Thanks for your contribution @nuriel77. I'll run a 2.0.11 release later today that will include this fix.
from pulsar-helm-chart.
Related Issues (20)
- Enabling TLS while using external certificates HOT 4
- Pulsar heartbeat init container logic HOT 1
- Activation state storage KO HOT 2
- Decouple burnell "provision container" provision-tls-jwt from autorecovery component HOT 2
- BrokerSts: brokerWebServiceURLTLS is not empty on proxy even if you don't enable TLS HOT 2
- Pulsar Admin Console Open ID Connect Broken
- Broker fails when using examples/dev-values-keycloak-auth.yaml
- Proxy Fails to find pulsar-openid-connect-plugin jar when using keycloak values
- Pulsar SQL should based on Trino (previous PrestoSQL) instead of PrestoDB
- Missing logs button on Source HOT 2
- Update kube-prometheus-stack to latest
- PodSecurityPolicy removed from Kubenetes 1.25
- Broker statefulset no accounted for in PulsarSQL configmap HOT 2
- Cannot obtain authorization metadata when using org.apache.pulsar.client.impl.auth.oauth2.AuthenticationOAuth2 HOT 3
- Function-Worker - State storage client is not done initializing. Please try again in a little while.
- Configuring HPA via the Helm Chart
- Pulsar topics not getting deleted from Blob storage
- Need updated versions of Pulsar 2.11.X or 3.0.X
- Pulsar Sql Coordinator keeps rebooting after deploying helm chart. HOT 1
- Convert load balancer from network load balancer to application load balancer to add security groups in AWS. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulsar-helm-chart.