apache / apache/apisix-helm-chart
hostNetwork is defined twice in the apisix-2.4.0 chart
- Dominant language
- Go Template
- Stars
- 289
- Forks
- 282
- Avg merge
- 15h 55m
- Merged PRs (30d)
- 3
Description
[link](https://github.com/apache/apisix-helm-chart/blob/apisix-2.4.0/charts/apisix/templates/deployment.yaml)
```
{{- if .Values.hostNetwork }}
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
{{- end }}
hostNetwork: {{ .Values.hostNetwork }}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Open charts/apisix/templates/deployment.yaml at the linked hostNetwork blocks and inspect how the chart renders them when .Values.hostNetwork is enabled or disabled. Remove the duplicate rendered field while preserving the intended hostNetwork and DNS behavior, then verify the Helm template output for both values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100