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