You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by "zyue110026 (via GitHub)" <gi...@apache.org> on 2024/08/08 15:49:45 UTC
[I] values not being respect in values.yaml file [openwhisk-deploy-kube]
zyue110026 opened a new issue, #784:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/784
We have noticed five instances of incorrect helming in your Kubernetes configuration files. Hardcoded or default configuration values in the template are considered anti-pattern and configurable values in the values.yaml file are not being respect, resulting in user-provided configurations never being applied. Additionally, we provide anecdotal evidence from [trivy-operator#729](https://github.com/aquasecurity/trivy-operator/issues/729) regarding the incorrect helming defect.
[grafana.imagePullPolicy](https://github.com/apache/openwhisk-deploy-kube/blob/108f327580f04c51dc4b29ac0beff024cfd6f2f9/helm/openwhisk/values.yaml#L412), [elasticsearch.service.type](https://github.com/apache/openwhisk-deploy-kube/blob/108f327580f04c51dc4b29ac0beff024cfd6f2f9/helm/openwhisk/values.yaml#L686C5-L686C9), [elasticsearch.service.nodePort](https://github.com/apache/openwhisk-deploy-kube/blob/108f327580f04c51dc4b29ac0beff024cfd6f2f9/helm/openwhisk/values.yaml#L687), [elasticsearch.service.loadBalancerIP](https://github.com/apache/openwhisk-deploy-kube/blob/108f327580f04c51dc4b29ac0beff024cfd6f2f9/helm/openwhisk/values.yaml#L691), and [elasticsearch.service.loadBalancerSourceRanges](https://github.com/apache/openwhisk-deploy-kube/blob/108f327580f04c51dc4b29ac0beff024cfd6f2f9/helm/openwhisk/values.yaml#L692) are not take affect when change their values to others. This is due to missing implementation for this value in grafana-pod.yaml file:
https://github.com/apache/openwhisk-deploy-kube/blob/5a5a2168c9c0342c026ca137f96fa9d2c8ae2748/helm/openwhisk/templates/grafana-pod.yaml#L65
and elasticsearch-svc.yaml:
https://github.com/apache/openwhisk-deploy-kube/blob/5a5a2168c9c0342c026ca137f96fa9d2c8ae2748/helm/openwhisk/templates/elasticsearch-svc.yaml#L32-L37
## Expected Behavior
These values should take affect when changing them or delete them from values.yaml file
## Actual Behavior
All values mentioned in this issue are not being respect.
--
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.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org