mirror of https://gerrit.hackerspace.pl/hscloud
cluster/kube/lib/nginx: add gerrit forwarding
This is already running in production since gerrit was deployed - it just got lost during submit. Change-Id: I8a1580b1ca3ec3142a8fa4320dc9f51a599a914fchanges/03/3/1
parent
59f5fd315c
commit
543b412a65
|
@ -26,7 +26,11 @@ local kube = import "../../../kube/kube.libsonnet";
|
|||
metadata+: env.metadata,
|
||||
},
|
||||
configuration: env.maps.make("nginx-configuration"),
|
||||
tcp: env.maps.make("tcp-services"),
|
||||
tcp: env.maps.make("tcp-services") {
|
||||
data: {
|
||||
"22": "gerrit/gerrit:22"
|
||||
}
|
||||
},
|
||||
udp: env.maps.make("udp-services"),
|
||||
},
|
||||
|
||||
|
@ -139,6 +143,7 @@ local kube = import "../../../kube/kube.libsonnet";
|
|||
spec+: {
|
||||
type: "LoadBalancer",
|
||||
ports: [
|
||||
{ name: "ssh", port: 22, targetPort: 22, protocol: "TCP" },
|
||||
{ name: "http", port: 80, targetPort: 80, protocol: "TCP" },
|
||||
{ name: "https", port: 443, targetPort: 443, protocol: "TCP" },
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue