Hacking around

This commit is contained in:
Cyber MacGeddon 2024-09-07 15:42:19 +01:00
parent ee41fa1636
commit 614ffc0fd3
4 changed files with 23 additions and 10 deletions

View file

@ -149,11 +149,12 @@
ports: [],
with_port::
function(src, dest, name) self + {
ports: super.ports + [
{ src: src, dest: dest, name: name }
]
},
function(src, dest, name)
self + {
ports: super.ports + [
{ src: src, dest: dest, name: name }
]
},
add:: function() [
@ -166,6 +167,7 @@
namespace: "trustgraph",
},
spec: {
// type: "NodePort",
selector: {
app: service.name,
},
@ -173,6 +175,7 @@
{
port: port.src,
targetPort: port.dest,
// nodePort: port.nodeport,
name: port.name,
}
for port in service.ports