Skip to content

Commit

Permalink
add DAL p2p service at dal.<network>.teztnets.xyz 11732
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Jun 12, 2023
1 parent 04fc746 commit 6f91d0b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions TezosChain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,30 @@ export class TezosChain extends pulumi.ComponentResource {
]
}
params.helmValues.dalNodes.dal1.ingress = dalIngressParams;
new k8s.core.v1.Service(
`${name}-dal-p2p-lb`,
{
metadata: {
namespace: ns.metadata.name,
name: `${name}-dal`,
annotations: {
"external-dns.alpha.kubernetes.io/hostname": `dal.${name}.teztnets.xyz`,
},
},
spec: {
ports: [
{
port: 11732,
targetPort: 11732,
protocol: "TCP",
},
],
selector: { app: "dal-dal1" },
type: "LoadBalancer",
},
},
{ provider: this.provider }
)
}
if (Object.keys(params.helmValues).length != 0) {
if (params.getChartRepo() == '') {
Expand Down

0 comments on commit 6f91d0b

Please sign in to comment.