-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Description
Output of helm version
: 3.13.1
Output of kubectl version
: v1.25.2
Hi, based on the changelog and on some issues (e.g. #11440), it should be possible, to remove a value from a subchart by using value: null
. Unfortunately, this does not work in my case.
Here are some some easy steps to reproduce my issue:
1 helm create umbrella-chart
2. remove all templates and the clear values.yaml
3. add the prometheus dependency to the Chart.yaml
dependencies:
- name: prometheus
version: 25.2.0
repository: https://prometheus-community.github.io/helm-charts
helm dep update
- Add this to values.yaml
prometheus:
server:
securityContext: null
- Run
helm template foo -s charts/prometheus/templates/deploy.yaml . -f values.yaml
Expected Result
The block
securityContext:
fsGroup: 65534
runAsGroup: 65534
runAsNonRoot: true
runAsUser: 65534
should not be in the deploy.yaml
Actual Result
The block securityContext
with it's subkeys is in the deploy.yaml. No way to remove it.
Metadata
Metadata
Assignees
Labels
No labels