feat: expose everything

This commit is contained in:
2024-10-08 13:58:01 -04:00
parent 57b1310a7c
commit ff0c3308ad
6 changed files with 32 additions and 26 deletions

View File

@@ -2,4 +2,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# - ../base/podinfo.yaml
- ../base/podinfo.yaml

6
flake.lock generated
View File

@@ -142,11 +142,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1728249353,
"narHash": "sha256-7NBJm1jfMeAowE1J2oljYqWVvI9X7FyyxBY4O8uB/Os=",
"lastModified": 1728279793,
"narHash": "sha256-W3D5YpNrUVTFPVU4jiEiboaaUDShaiH5fRl9aJLqUnU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c8a17040be4a20b29589cb4043a9e0c36af1930e",
"rev": "f85a2d005e83542784a755ca8da112f4f65c4aa4",
"type": "github"
},
"original": {

View File

@@ -1,19 +1,19 @@
# ---
# apiVersion: metallb.io/v1beta1
# kind: IPAddressPool
# metadata:
# name: first-pool
# namespace: metallb-system
# spec:
# addresses:
# - 10.0.1.0/24
# avoidBuggyIPs: true
# ---
# apiVersion: metallb.io/v1beta1
# kind: L2Advertisement
# metadata:
# name: l2-advertisement
# namespace: metallb-system
# spec:
# ipAddressPools:
# - first-pool
---
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: first-pool
namespace: metallb-system
spec:
addresses:
- 10.0.1.0/24
avoidBuggyIPs: true
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: l2-advertisement
namespace: metallb-system
spec:
ipAddressPools:
- first-pool

View File

@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- config-metallb.yaml

View File

@@ -1,6 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# - metallb.yaml
# - longhorn.yaml
# - traefik.yaml
- metallb.yaml
- longhorn.yaml
- traefik.yaml

View File

@@ -43,6 +43,8 @@ function main() {
--net0 "virtio,bridge=vmbr0" \
--ostype "l26" \
--scsi0 "${STORAGE}:50,iothread=on" \
--onboot "1" \
--pool "premhome-cluster" \
--scsihw "virtio-scsi-single"
echo "Created VM, starting..."