Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions charts/geoserver/v0.3.4/templates/svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,21 @@ metadata:
{{- tpl . $ | nindent 4 }}
{{- end }}
spec:
type: ClusterIP
{{- if .Values.service.externalIPs }}
externalIPs: {{ .Values.service.externalIPs }}
type: {{ .Values.service.type }}
{{- if and (eq .Values.service.type "LoadBalancer") .Values.service.loadBalancerIP }}
loadBalancerIP: {{ default "" .Values.service.loadBalancerIP }}
{{- end }}
ports:
- name: http-geoserver
port: 80
protocol: TCP
ports:
- port: {{ .Values.service.port }}
targetPort: http-geoserver
protocol: TCP
name: http-geoserver
{{- if eq .Values.service.type "NodePort" }}
nodePort: {{ default "" .Values.service.nodePort}}
{{- end }}
{{- if .Values.service.externalIPs }}
externalIPs: {{- toYaml .Values.service.externalIPs | nindent 4 }}
{{- end }}
selector:
app: {{ template "geoserver.fullname" . }}
release: {{ .Release.Name | quote }}
31 changes: 15 additions & 16 deletions charts/geoserver/v0.3.4/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,22 +60,21 @@ extraVolume: |
# name: geoserver-config

service:
## GeoServer service type
type: ClusterIP
# clusterIP: ""
# externalIPs: ""
port: 80

# nodePort:

labels: |
annotations: |

# loadBalancerIP:

# loadBalancerSourceRanges:
# - 10.10.10.0/24

# Service Type to be used for the service
type: NodePort
# Service Type to be used for the service
port: 8080
# LoadBalancer IP to add to the service, if the service type is LoadBalancer.
loadBalancerIP: ""
# If there are external IPs that route to one or more cluster nodes, Kubernetes Services can be exposed on those externalIPs
externalIPs: []
# NodePort to use for the service. Optional.
nodePort: 32535
# You can specify extra Labels to add to the service. Optional.
labels: {}
# You can specify extra Annotations to add to the Sevice. Optional.
annotations: {}

affinity: {}

tolerations: {}
Expand Down