Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1859 from kubernetes-incubator/feature/v0.16.0-cu…
Browse files Browse the repository at this point in the history
…stom-kiam-server-port-name

[v0.16.0] Allow custom port name for kiam
  • Loading branch information
dominicgunn authored May 27, 2020
2 parents 7b6e648 + 2938974 commit 6d2fee1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions builtin/files/cluster.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -1632,6 +1632,7 @@ kubeAwsPlugins:
# tag: v3.2
# sessionDuration: 30m
# server:
# portName: grpclb
# address: localhost:443
# resources:
# requests:
Expand Down
6 changes: 4 additions & 2 deletions builtin/files/plugins/dashboard/manifests/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,12 @@ metadata:
spec:
ports:
{{ if .Values.tls.enabled -}}
- port: 443
- name: https
port: 443
targetPort: 8443
{{ else -}}
- port: 9090
- name: http
port: 9090
targetPort: 9090
{{- end }}
selector:
Expand Down
2 changes: 1 addition & 1 deletion builtin/files/plugins/kiam/manifests/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
app: kiam
role: server
ports:
- name: grpclb
- name: {{ .Values.server.portName }}
port: 443
targetPort: 443
protocol: TCP
1 change: 1 addition & 0 deletions builtin/files/plugins/kiam/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
tag: v3.2
sessionDuration: 30m
server:
portName: grpclb
address: localhost:443
resources:
requests:
Expand Down
3 changes: 2 additions & 1 deletion builtin/files/userdata/cloud-config-controller
Original file line number Diff line number Diff line change
Expand Up @@ -4911,7 +4911,8 @@ write_files:
selector:
k8s-app: metrics-server
ports:
- port: 443
- name: https
port: 443
protocol: TCP
targetPort: 443

Expand Down

0 comments on commit 6d2fee1

Please sign in to comment.