fmjstudios / helm

🪖 A collection of MIT-licensed Helm Charts
MIT License
13 stars 13 forks source link

[linkwarden] NodePort definition is not applied #38

Open titey opened 3 months ago

titey commented 3 months ago

Name and Version

fmjstudios/linkwarden 0.3.3

What architecture are you using?

amd64

What steps will reproduce the bug?

Set service.type and service.nodePort:

# values
# linkwarden-nodeport.yaml
service:
  type: NodePort
  nodePort: 31005

deploy with Helm:

helm install --version="0.3.3"  --values="linkwarden-nodeport.yaml" linkwarden fmjstudios/linkwarden

The service definition does not contain nodePort: 31005:

apiVersion: v1
kind: Service
metadata:
  annotations:
    # [...]
  labels:
    # [...]
  name: linkwarden
  namespace: linkwarden
spec:
  clusterIP: 10.XXX.XXX.XXX
  clusterIPs:
  - 10.XXX.XXX.XXX
  externalTrafficPolicy: Cluster
  internalTrafficPolicy: Cluster
  ipFamilies:
  - IPv4
  ipFamilyPolicy: SingleStack
  ports:
  - name: http
    nodePort: 31246  # <== !!!
    port: 8000
    protocol: TCP
    targetPort: 3000
  selector:
    app.kubernetes.io/instance: linkwarden
    app.kubernetes.io/name: linkwarden
  sessionAffinity: None
  type: NodePort
status:
  loadBalancer: {}

Are you using any custom parameters or values?

Yes, with values:

service:
  type: NodePort
  nodePort: 31005

What is the expected behavior?

The nodePort set into service definition.

What do you see instead?

The nodePort is not set by the Helm templating.

Additional information

No response

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.