Commit 57af4b0e authored by Geoff Simmons's avatar Geoff Simmons

The haproxy container uses a non-privileged port.

Service spec.ports maps to the public TLS port. First just for
kubectl/yaml deployments.

Addresses #38
parent 75706ae8
...@@ -14,7 +14,7 @@ spec: ...@@ -14,7 +14,7 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
- port: 443 - port: 443
targetPort: 443 targetPort: 4443
protocol: TCP protocol: TCP
name: tls name: tls
selector: selector:
......
...@@ -15,7 +15,7 @@ spec: ...@@ -15,7 +15,7 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
- port: 443 - port: 443
targetPort: 443 targetPort: 4443
protocol: TCP protocol: TCP
name: tls name: tls
selector: selector:
......
...@@ -15,7 +15,7 @@ spec: ...@@ -15,7 +15,7 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
- port: 443 - port: 443
targetPort: 443 targetPort: 4443
protocol: TCP protocol: TCP
name: tls name: tls
selector: selector:
......
...@@ -15,7 +15,7 @@ spec: ...@@ -15,7 +15,7 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
- port: 443 - port: 443
targetPort: 443 targetPort: 4443
protocol: TCP protocol: TCP
name: tls name: tls
selector: selector:
......
...@@ -15,7 +15,7 @@ spec: ...@@ -15,7 +15,7 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
- port: 443 - port: 443
targetPort: 443 targetPort: 4443
protocol: TCP protocol: TCP
name: tls name: tls
selector: selector:
......
...@@ -15,7 +15,7 @@ spec: ...@@ -15,7 +15,7 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
- port: 443 - port: 443
targetPort: 443 targetPort: 4443
protocol: TCP protocol: TCP
name: tls name: tls
selector: selector:
......
...@@ -15,7 +15,7 @@ spec: ...@@ -15,7 +15,7 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
- port: 443 - port: 443
targetPort: 443 targetPort: 4443
protocol: TCP protocol: TCP
name: tls name: tls
selector: selector:
......
...@@ -15,7 +15,7 @@ spec: ...@@ -15,7 +15,7 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
- port: 443 - port: 443
targetPort: 443 targetPort: 4443
protocol: TCP protocol: TCP
name: tls name: tls
selector: selector:
......
...@@ -12,7 +12,7 @@ spec: ...@@ -12,7 +12,7 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
- port: 443 - port: 443
targetPort: 443 targetPort: 4443
protocol: TCP protocol: TCP
name: tls name: tls
selector: selector:
......
...@@ -12,7 +12,7 @@ spec: ...@@ -12,7 +12,7 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
- port: 443 - port: 443
targetPort: 443 targetPort: 4443
protocol: TCP protocol: TCP
name: tls name: tls
selector: selector:
......
...@@ -12,7 +12,7 @@ spec: ...@@ -12,7 +12,7 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
- port: 443 - port: 443
targetPort: 443 targetPort: 4443
protocol: TCP protocol: TCP
name: tls name: tls
selector: selector:
......
...@@ -12,7 +12,7 @@ spec: ...@@ -12,7 +12,7 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
- port: 443 - port: 443
targetPort: 443 targetPort: 4443
protocol: TCP protocol: TCP
name: tls name: tls
selector: selector:
......
...@@ -12,7 +12,7 @@ spec: ...@@ -12,7 +12,7 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
- port: 443 - port: 443
targetPort: 443 targetPort: 4443
protocol: TCP protocol: TCP
name: tls name: tls
selector: selector:
......
...@@ -60,7 +60,7 @@ const ( ...@@ -60,7 +60,7 @@ const (
crtPath = "/etc/ssl/private" crtPath = "/etc/ssl/private"
) )
var port = int64(443) var port = int64(4443)
// ReloadStatus classifies the current state of a dataplane reload. // ReloadStatus classifies the current state of a dataplane reload.
type ReloadStatus uint8 type ReloadStatus uint8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment