Compare commits
No commits in common. "229625e441ae2e6aeea35f861829696a52bdba2f" and "7a3ffba4c61e2fa20407c276ee9b635b0db9deb7" have entirely different histories.
229625e441
...
7a3ffba4c6
@ -17,11 +17,8 @@ spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
targetPort: {{ .Values.service.targetPort | default 5000 }}
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
{{- if and (eq .Values.service.type "NodePort") .Values.service.nodePort }}
|
||||
nodePort: {{ .Values.service.nodePort }}
|
||||
{{- end }}
|
||||
selector:
|
||||
{{- include "gitops-status-server.selectorLabels" . | nindent 4 }}
|
||||
|
||||
@ -25,14 +25,10 @@ fullnameOverride: ""
|
||||
|
||||
# Service configuration
|
||||
service:
|
||||
# Service type - NodePort for external access, ClusterIP for internal-only
|
||||
# Service type - ClusterIP for internal-only access
|
||||
type: ClusterIP
|
||||
# Port where the service will be exposed
|
||||
port: 5000
|
||||
# Target port on the container (API port)
|
||||
targetPort: 5000
|
||||
# NodePort (30000-32767) for external access when type is NodePort
|
||||
nodePort: null
|
||||
port: 80
|
||||
# Annotations to add to the service
|
||||
annotations: {}
|
||||
|
||||
|
||||
@ -16,13 +16,8 @@ api:
|
||||
pullPolicy: IfNotPresent
|
||||
# Service configuration
|
||||
service:
|
||||
# Use NodePort to expose the API externally
|
||||
# Access via: http://<node-ip>:<nodePort>
|
||||
type: NodePort
|
||||
# Port exposed by the service
|
||||
port: 5000
|
||||
# NodePort (30000-32767) for external access. Leave empty for automatic assignment
|
||||
nodePort: 30005
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
annotations: {}
|
||||
# Resource limits
|
||||
resources:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user