-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
bugAn issue reporting a potential bugAn issue reporting a potential bugneeds triageAn issue that needs to be triagedAn issue that needs to be triaged
Description
Version
5.3.0
What Kubernetes platforms are you running on?
EKS Amazon
Steps to reproduce
- Download the helm chart (2.4.2) into a folder
- Run
helm template -s templates/controller-service.yaml - Observe that with default values the nodePorts will show up as empty
- port: 443 targetPort: 443 protocol: TCP name: https nodePort:
4: If using a tool like ArgoCD to maintain this manifest via GitOps, this causes persistent diffs / out of sync state as it will notice a difference from the empty nodePort to the the ports "injected" by spec.allocateLoadBalancerNodePorts
Fix suggestion would be setting a check for emptiness that omits this field, which is what kubernetes/ingress-nginx does:
{{- if and (or (eq .Values.controller.service.type "LoadBalancer") (eq .Values.controller.service.type "NodePort")) (not (empty .Values.controller.service.httpsPort.nodePort)) }}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn issue reporting a potential bugAn issue reporting a potential bugneeds triageAn issue that needs to be triagedAn issue that needs to be triaged
Type
Projects
Status
Todo ☑