Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add support for NodePort service type in Helm chart#8993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ericpaulsen merged 5 commits intocoder:mainfromffais:support-node-port
Aug 11, 2023
Merged
Show file tree
Hide file tree
Changes fromall 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
6 changes: 6 additions & 0 deletionshelm/coder/templates/service.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,11 +16,17 @@ spec:
port: 80
targetPort: "http"
protocol: TCP
{{ if eq .Values.coder.service.type "NodePort" }}
nodePort: {{ .Values.coder.service.httpNodePort }}
{{ end }}
{{- if eq (include "coder.tlsEnabled" .) "true" }}
- name: "https"
port: 443
targetPort: "https"
protocol: TCP
{{ if eq .Values.coder.service.type "NodePort" }}
nodePort: {{ .Values.coder.service.httpsNodePort }}
{{ end }}
{{- end }}
{{- if eq "LoadBalancer" .Values.coder.service.type }}
{{- with .Values.coder.service.loadBalancerIP }}
Expand Down
1 change: 1 addition & 0 deletionshelm/coder/tests/testdata/command.golden
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -90,6 +90,7 @@ spec:
port: 80
targetPort: "http"
protocol: TCP

externalTrafficPolicy: "Cluster"
selector:
app.kubernetes.io/name: coder
Expand Down
1 change: 1 addition & 0 deletionshelm/coder/tests/testdata/command_args.golden
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -90,6 +90,7 @@ spec:
port: 80
targetPort: "http"
protocol: TCP

externalTrafficPolicy: "Cluster"
selector:
app.kubernetes.io/name: coder
Expand Down
1 change: 1 addition & 0 deletionshelm/coder/tests/testdata/default_values.golden
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -90,6 +90,7 @@ spec:
port: 80
targetPort: "http"
protocol: TCP

externalTrafficPolicy: "Cluster"
selector:
app.kubernetes.io/name: coder
Expand Down
1 change: 1 addition & 0 deletionshelm/coder/tests/testdata/labels_annotations.golden
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -90,6 +90,7 @@ spec:
port: 80
targetPort: "http"
protocol: TCP

externalTrafficPolicy: "Cluster"
selector:
app.kubernetes.io/name: coder
Expand Down
1 change: 1 addition & 0 deletionshelm/coder/tests/testdata/provisionerd_psk.golden
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -90,6 +90,7 @@ spec:
port: 80
targetPort: "http"
protocol: TCP

externalTrafficPolicy: "Cluster"
selector:
app.kubernetes.io/name: coder
Expand Down
1 change: 1 addition & 0 deletionshelm/coder/tests/testdata/sa.golden
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -91,6 +91,7 @@ spec:
port: 80
targetPort: "http"
protocol: TCP

externalTrafficPolicy: "Cluster"
selector:
app.kubernetes.io/name: coder
Expand Down
2 changes: 2 additions & 0 deletionshelm/coder/tests/testdata/tls.golden
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -90,10 +90,12 @@ spec:
port: 80
targetPort: "http"
protocol: TCP

- name: "https"
port: 443
targetPort: "https"
protocol: TCP

externalTrafficPolicy: "Cluster"
selector:
app.kubernetes.io/name: coder
Expand Down
1 change: 1 addition & 0 deletionshelm/coder/tests/testdata/workspace_proxy.golden
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -90,6 +90,7 @@ spec:
port: 80
targetPort: "http"
protocol: TCP

externalTrafficPolicy: "Cluster"
selector:
app.kubernetes.io/name: coder
Expand Down
6 changes: 6 additions & 0 deletionshelm/coder/values.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -241,6 +241,12 @@ coder:
# coder.service.annotations -- The service annotations. See:
# https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
annotations: {}
# coder.service.httpNodePort -- Enabled if coder.service.type is set to NodePort.
# If not set, Kubernetes will allocate a port from the default range, 30000-32767.
httpNodePort: ""
# coder.service.httpsNodePort -- Enabled if coder.service.type is set to NodePort.
# If not set, Kubernetes will allocate a port from the default range, 30000-32767.
httpsNodePort: ""

# coder.ingress -- The Ingress object to expose for Coder.
ingress:
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp