Convert service-horizon.yaml.j2 to... yaml
Change-Id: Ic2133d001f97853b039bc6c1c0a1e18e2c9a4562
This commit is contained in:
parent
fb12863806
commit
40c9327325
|
@ -1,23 +1,15 @@
|
|||
{
|
||||
"kind": "Service",
|
||||
"apiVersion": "v1",
|
||||
"metadata": {
|
||||
"name": "horizon-service"
|
||||
},
|
||||
"spec": {
|
||||
"selector": {
|
||||
"app": "horizon"
|
||||
},
|
||||
"ports": [
|
||||
{
|
||||
"name": "www",
|
||||
"protocol": "TCP",
|
||||
"port": 80,
|
||||
"targetPort": 80,
|
||||
"nodePort": 30080
|
||||
}
|
||||
],
|
||||
"type": "NodePort"
|
||||
}
|
||||
}
|
||||
|
||||
kind: "Service"
|
||||
apiVersion: "v1"
|
||||
metadata:
|
||||
name: "horizon-service"
|
||||
spec:
|
||||
selector:
|
||||
app: "horizon"
|
||||
ports:
|
||||
-
|
||||
name: "www"
|
||||
protocol: "TCP"
|
||||
port: 80
|
||||
targetPort: 80
|
||||
nodePort: 30080
|
||||
type: "NodePort"
|
||||
|
|
Loading…
Reference in New Issue