roman-popenov opened a new pull request #6148: [Issue-5958][helm]: Fixing 
templates for helm deployment
URL: https://github.com/apache/pulsar/pull/6148
 
 
   Motivation
   #5958: The following error appears when trying to deploy Pulsar using helm 
and values-mini.yaml: 
   
   ```unable to build kubernetes objects from release manifest: error 
validating "": error validating data: 
ValidationError(Deployment.spec.template.spec.containers[0]): unknown field 
"requests" in io.k8s.api.core.v1.Container``` 
   
   Cause:
   Mistake in the `pulsar-manager-deployment.yaml` deployment file:
   
   First line **63** should be:
   `{{- if .Values.pulsar_manager.resources }}`
   
   There is also a mistake at line **65**:
   `{{ toYaml .Values.grafana.resources | indent 10 }}` should be `{{ toYaml 
.Values.pulsar_manager.resources | indent 12 }}`
   
   Modifications:
   Changed values in `values-mini.yaml`, `values.yaml` and 
`templates/pulsar-manager-deployment.yaml`
   
   Test:
   Deploy the application into a kubernetes local cluster with
   `helm install pulsar-cluster --values pulsar/values-mini.yaml pulsar`
   
   AND
   
   `helm install pulsar-cluster --values pulsar/values.yaml pulsar`
   
   Documentation:
   Does this pull request introduce a new feature? - **No**

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to