Comments (3)
Hi @KosShutenko, @martonsz
Thanks for the issue.
I have changed the related part of the code that cause this error.
Simply put, duplicated fields in yaml file lead to error in kustomize.
#286
Now, it should be fixed.
from charts.
I'm having the same issue when trying to build with Kustomize.
The following doesn't work:
# kustomization.yaml
helmCharts:
- name: hazelcast
version: "5.4.0"
repo: https://hazelcast-charts.s3.amazonaws.com
releaseName: hazelcast
$> kustomize build --enable-helm .
Error: map[string]interface {}(nil): yaml: unmarshal errors:
line 85: mapping key "securityContext" already defined at line 35
If I set securityContext.enabled: false
it works:
# kustomization.yaml
helmCharts:
- name: hazelcast
version: "5.4.0"
repo: https://hazelcast-charts.s3.amazonaws.com
releaseName: hazelcast
valuesInline:
securityContext:
enabled: false
$> kustomize build --enable-helm .
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/instance: hazelcast
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: hazelcast
...
Versions
Chart version: 5.4.0
Kustomize: {Version:kustomize/v4.5.4 GitCommit:cf3a452ddd6f83945d39d582243b8592ec627ae3 BuildDate:2022-03-28T23:12:45Z GoOs:linux GoArch:amd64}
Helm: version.BuildInfo{Version:"v3.8.2", GitCommit:"6e3701edea09e5d55a8ca2aae03a68917630e91b", GitTreeState:"clean", GoVersion:"go1.17.5"}
from charts.
This is still an issue!
Now using chart version 5.4.2
kustomize version
{Version:kustomize/v4.5.5 GitCommit:daa3e5e2c2d3a4b8c94021a7384bfb06734bcd26 BuildDate:2022-05-20T20:25:40Z GoOs:linux GoArch:amd64}
helm version
version.BuildInfo{Version:"v3.9.0", GitCommit:"7ceeda6c585217a19a1131663d8cd1f7d641b2a7", GitTreeState:"clean", GoVersion:"go1.17.5"}
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.5", GitCommit:"5c99e2ac2ff9a3c549d9ca665e7bc05a3e18f07e", GitTreeState:"clean", BuildDate:"2021-12-16T08:38:33Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.7", GitCommit:"b56e432f2191419647a6a13b9f5867801850f969", GitTreeState:"clean", BuildDate:"2022-03-06T21:07:35Z", GoVersion:"go1.16.14", Compiler:"gc", Platform:"linux/amd64"}
from charts.
Related Issues (20)
- mancenter serialization configuration ignored
- Change 'hotRestart' parameters to 'persistence' HOT 1
- How to set class-cache-mode OFF in user-code-deployment HOT 1
- add prometheusrule to the chart HOT 3
- Ingress with Prefix path : css and js files not found HOT 1
- Port name in hazelcast Service must be configurable or renamed so it's compliant with Istio naming standards HOT 1
- Service Account cannot list statefulsets HOT 2
- Misleading setting "gracefulShutdown.enabled"
- Question: What is the correct usage of `service.name` HOT 13
- Hazelcast Helm chart 5.7.1 missing from index HOT 2
- Configuring ringbuffer capacity through helm HOT 5
- Service port name does not match port name k8s discovery is looking for in Hazelcast > 5.3.0 HOT 1
- Permit enablement of CP subsystem in hazelcast.yaml for hazelcast chart HOT 4
- OIDC configmap HOT 1
- Mancenter Clustered JMX
- Add possibility to configure keda autoscaler for hazlecast and management-center
- Add the possibility to configure a VirtualService for hazelcast-management-center instead Ingress
- Some securityContext parameters (e.g., seccompProfile) not rendered
- service-dns substitutes ${serviceName} with empty string 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 charts.