Skip to content

Commit

Permalink
Frostman svc nodeport (#19)
Browse files Browse the repository at this point in the history
* feat: ability to choose specific service nodePort

Signed-off-by: Sergei Lukianov <[email protected]>

* fix: bump up the chart version to 0.1.31

Signed-off-by: Ramkumar Chinchani <[email protected]>

* fix: add spaces before comment

Signed-off-by: Ramkumar Chinchani <[email protected]>

---------

Signed-off-by: Sergei Lukianov <[email protected]>
Signed-off-by: Ramkumar Chinchani <[email protected]>
Co-authored-by: Sergei Lukianov <[email protected]>
  • Loading branch information
rchincha and Frostman authored Sep 20, 2023
1 parent a259a7d commit 1d813b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/zot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: v2.0.0-rc6
description: A Helm chart for Kubernetes
name: zot
type: application
version: 0.1.30
version: 0.1.31
3 changes: 3 additions & 0 deletions charts/zot/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@ spec:
targetPort: zot
protocol: TCP
name: zot
{{- if .Values.service.nodePort }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
selector:
{{- include "zot.selectorLabels" . | nindent 4 }}
1 change: 1 addition & 0 deletions charts/zot/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ serviceAccount:
service:
type: NodePort
port: 5000
nodePort: null # Set to a specific port if type is NodePort
# Annotations to add to the service
annotations: {}
# Enabling this will publicly expose your zot server
Expand Down

0 comments on commit 1d813b0

Please sign in to comment.