shuffle
This commit is contained in:
parent
4c205165ac
commit
154f11bae8
30 changed files with 60 additions and 8 deletions
|
|
@ -29,11 +29,10 @@
|
|||
line: "Banner /etc/issue.net"
|
||||
state: present
|
||||
notify: Restart ssh
|
||||
|
||||
- name: Disallow root SSH access
|
||||
ansible.builtin.lineinfile:
|
||||
dest: /etc/ssh/sshd_config
|
||||
regexp: "^PermitRootLogin"
|
||||
line: "PermitRootLogin no"
|
||||
state: present
|
||||
# notify: Restart ssh
|
||||
# - name: Disallow root SSH access
|
||||
# ansible.builtin.lineinfile:
|
||||
# dest: /etc/ssh/sshd_config
|
||||
# regexp: "^PermitRootLogin"
|
||||
# line: "PermitRootLogin no"
|
||||
# state: present
|
||||
# notify: Restart ssh
|
||||
|
|
|
|||
29
clusters/homelab/metallb-values.yaml
Normal file
29
clusters/homelab/metallb-values.yaml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# MetalLB configuration for homelab cluster
|
||||
# Using the new CRD-based configuration format (v0.13.0+)
|
||||
|
||||
# Controller configuration
|
||||
controller:
|
||||
enabled: true
|
||||
|
||||
# Speaker configuration
|
||||
speaker:
|
||||
enabled: true
|
||||
|
||||
# FRR mode is disabled by default
|
||||
frr:
|
||||
enabled: false
|
||||
|
||||
# Prometheus metrics
|
||||
prometheus:
|
||||
serviceMonitor:
|
||||
enabled: false
|
||||
prometheusRule:
|
||||
enabled: false
|
||||
|
||||
# Create the IPAddressPool and L2Advertisement resources
|
||||
# These replace the deprecated configInline format
|
||||
crds:
|
||||
enabled: true
|
||||
# Note: The actual IP address pool and L2 advertisement configuration
|
||||
# must now be created as separate Kubernetes resources after MetalLB is installed.
|
||||
# See the accompanying IPAddressPool and L2Advertisement manifests.
|
||||
8
clusters/homelab/metallb/ipaddresspool.yaml
Normal file
8
clusters/homelab/metallb/ipaddresspool.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: metallb.io/v1beta1
|
||||
kind: IPAddressPool
|
||||
metadata:
|
||||
name: default
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
addresses:
|
||||
- 10.0.19.1-10.0.19.199
|
||||
8
clusters/homelab/metallb/kustomization.yaml
Normal file
8
clusters/homelab/metallb/kustomization.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: metallb-system
|
||||
|
||||
resources:
|
||||
- ipaddresspool.yaml
|
||||
- l2advertisement.yaml
|
||||
8
clusters/homelab/metallb/l2advertisement.yaml
Normal file
8
clusters/homelab/metallb/l2advertisement.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: metallb.io/v1beta1
|
||||
kind: L2Advertisement
|
||||
metadata:
|
||||
name: default
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
ipAddressPools:
|
||||
- default
|
||||
Loading…
Add table
Reference in a new issue