Skip to content

Commit f6ce07c

Browse files
authored
Merge pull request #19 from mkm29/develop
Develop
2 parents 5ae5ecc + 80fcb49 commit f6ce07c

File tree

6 files changed

+13
-24
lines changed

6 files changed

+13
-24
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,8 @@ wget -qO - 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr/pool/just_1.14.
361361
brew install sops
362362

363363
# Linux
364-
wget https://github.com/mozilla/sops/releases/download/v3.8.1/sops-v3.8.1.linux.amd64
365-
sudo mv sops-v3.8.1.linux.amd64 /usr/local/bin/sops
364+
wget https://github.com/mozilla/sops/releases/download/v3.10.2/sops-v3.10.2.linux.amd64
365+
sudo mv sops-v3.10.2.linux.amd64 /usr/local/bin/sops
366366
sudo chmod +x /usr/local/bin/sops
367367
```
368368

infrastructure/k3d/config/calico.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ ports:
1515
- loadbalancer
1616
options:
1717
k3s:
18+
nodeLabels:
19+
- label: kubernetes.io/role=worker
20+
nodeFilters:
21+
- agent:*
1822
extraArgs:
1923
# Disable default k3s network components to use Calico
2024
- arg: --flannel-backend=none

infrastructure/k3d/config/cilium.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ options:
3333
- arg: --disable=traefik
3434
nodeFilters:
3535
- server:*
36-
- arg: --disable servicelb
36+
- arg: --disable=servicelb
3737
nodeFilters:
3838
- server:*
3939
- arg: --disable-kube-proxy

justfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ default:
2626
decrypt-sops:
2727
@echo "Decrypting SOPS environment file..."
2828
@if [ ! -f .secrets.enc.env ]; then \
29-
echo "Error: .secrets.env file not found"; \
29+
echo "Error: .secrets.enc.env file not found"; \
3030
exit 1; \
3131
fi
3232
@if ! command -v sops > /dev/null 2>&1; then \
@@ -43,13 +43,13 @@ process-registries:
4343
exit 1; \
4444
fi
4545
@export $(cat .secrets.env | xargs) && \
46-
envsubst < infrastructure/k3d/registries.yaml > infrastructure/k3d/registries-processed.yaml
47-
@echo "Processed registries saved to infrastructure/k3d/registries-processed.yaml"
46+
envsubst < infrastructure/k3d/config/registries.yaml > infrastructure/k3d/config/registries-processed.yaml
47+
@echo "Processed registries saved to infrastructure/k3d/config/registries-processed.yaml"
4848

4949
# Clean up temporary files
5050
cleanup-temp:
5151
@echo "Cleaning up temporary files..."
52-
@rm -f .secrets.env infrastructure/k3d/registries-processed.yaml
52+
@rm -f .secrets.env infrastructure/k3d/config/registries-processed.yaml
5353
@echo "Temporary files removed."
5454

5555
# Run preflight checks
@@ -89,7 +89,7 @@ preflight:
8989
# Create a k3d cluster (use K3D_CONFIG env var to specify config file)
9090
create-cluster: preflight decrypt-sops process-registries
9191
@echo "Creating k3d cluster with config: {{k3d_config}}..."
92-
@k3d cluster create {{cluster_name}} --config {{k3d_config}} --registry-config infrastructure/k3d/registries-processed.yaml
92+
@k3d cluster create {{cluster_name}} --config {{k3d_config}} --registry-config infrastructure/k3d/config/registries-processed.yaml
9393
@echo "Cluster {{cluster_name}} created successfully."
9494

9595
# Patch nodes to mount BPF filesystem
@@ -240,7 +240,7 @@ status:
240240

241241
# Test connectivity (works for both Cilium and Calico)
242242
test-connectivity:
243-
@if [[ "{{cni_type}}" = "cilium " ]]; then \
243+
@if [[ "{{cni_type}}" = "cilium" ]]; then \
244244
echo "Running Cilium connectivity test..."; \
245245
cilium connectivity test; \
246246
elif [[ "{{cni_type}}" = "calico" ]]; then \

manifests/curl.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)