Comments (2)
@wimnat looking at https://github.com/envoyproxy/gateway/releases/download/v1.0.1/install.yaml, it seems to contain multiple documents inside one YAML file i.e parts split with ---\n
. Some of the documents contain comments starting with # Source: ...
Here is an output after running helm template
#
# Gateway API Experimental channel install
#
---
# Source: foo/templates/install.yaml
# Source: gateway-helm/crds/generated/gateway.envoyproxy.io_backendtrafficpolicies.yaml
---
# Source: foo/templates/install.yaml
# Source: gateway-helm/crds/generated/gateway.envoyproxy.io_clienttrafficpolicies.yaml
---
# Source: foo/templates/install.yaml
# Source: gateway-helm/crds/generated/gateway.envoyproxy.io_envoypatchpolicies.yaml
---
# Source: foo/templates/install.yaml
# Source: gateway-helm/crds/generated/gateway.envoyproxy.io_envoyproxies.yaml
---
# Source: foo/templates/install.yaml
# Source: gateway-helm/crds/generated/gateway.envoyproxy.io_securitypolicies.yaml
---
# Source: foo/templates/install.yaml
# Source: gateway-helm/templates/certgen-rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: eg-gateway-helm-certgen
namespace: 'envoy-gateway-system'
labels:
helm.sh/chart: gateway-helm-v0.0.0-latest
My suggestion is that helm template should check for the yaml start document line ---\n prior to the comment addition and remove it if it exists so that the comment will always appear in the same document as the manifest it is rendering.
I'm not sure I follow your suggestion here. Specifically, what do you mean by will always appear in the same document as the manifest
? The YAML file in question contains multiple documents which helm renders as expected.
from helm.
Related Issues (20)
- --dependency-update is not working as expected
- Helm translates curly braces {} into normal braces [] when passing value from values.yaml to chart HOT 2
- `--set-literal` does not allow backslash escaping in NAME
- Feature Request: `helm lint` should verify that values used in charts are present in values.yaml HOT 1
- There is a "false" in helm upgrade HOT 2
- Retry Internal Server Error(the server is currently unable to handle the request) HOT 2
- toToml filter converts int to float HOT 5
- helm template --output-dir multiple runs will produce incorrect manifests
- fromJson (toJson .Chart) does not have reflexive behavior HOT 2
- Cannot remove objects in dependent charts by setting values to null HOT 1
- Helm packaging problem HOT 6
- Invalid values.schema.json passes lint HOT 4
- Helm unable to update the dependency chart HOT 1
- How to pass the contents of a dynamically created file as an env variable in helm charts
- Helm lint "--quiet" flag fix HOT 2
- [question/support] What is the request/data/template flow when we leverage the --force flag and when we don't leverage it in the `helm upgrade` command? HOT 1
- Reading sub-chart configmap yaml to rolling the deployment of parent chart pod HOT 1
- Can not use helm binary HOT 1
- Required field in JSON schema that can be oneOf: string, null, not handled correctly HOT 3
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 helm.