Skip to content

Commit

Permalink
ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerred committed Feb 11, 2024
1 parent c4e9b80 commit 26e20a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cdk8s/dist/lamport.k8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ metadata:
namespace: lamport
spec:
externalIPs: []
ipFamilyPolicy: PreferDualStack
ipFamilyPolicy: RequireDualStack
ports:
- port: 6767
selector:
Expand Down
4 changes: 2 additions & 2 deletions cdk8s/src/services/torrents/bazarr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ export function createBazarrDeployment(chart: Chart) {
ports: [{ port: 6767 }],
});

// set `ipFamilyPolicy: PreferDualStack` on the service
// setup IPv6
ApiObject.of(service).addJsonPatch(
JsonPatch.add("/spec/ipFamilyPolicy", "PreferDualStack"),
JsonPatch.add("/spec/ipFamilyPolicy", "RequireDualStack"),
);

new TailscaleIngress(chart, "bazarr-tailscale-ingress", {
Expand Down

0 comments on commit 26e20a2

Please sign in to comment.