Skip to content

Commit

Permalink
M #-: Refactor Makefile and Kustomize scripts (#19)
Browse files Browse the repository at this point in the history
- Remove 'help' recipe
- Add 'release' and 'clean' recipes
- Aggregate .PHONY
- Upgrade binaries
- Use flannel instead of calico
- Fix general recipe dependency problems
- Rename kubevip to default-vip
- Add and use default-dev cluster template
- Update .gitignore and .dockerignore
- Update .env.sample
  • Loading branch information
sk4zuzu authored Feb 5, 2025
1 parent 014a799 commit e39d2d0
Show file tree
Hide file tree
Showing 15 changed files with 432 additions and 198 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
# Ignore build and test binaries.
_artifacts/
_releases/
bin/
.env
5 changes: 5 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
REGISTRY_DEV_IPV4=10.2.11.1

# IMG=ghcr.io/opennebula/cluster-api-provider-opennebula:latest
# CCM_IMG=ghcr.io/opennebula/cloud-provider-opennebula:latest

IMG=localhost:5005/cluster-api-provider-opennebula:latest
CCM_IMG=registry.dev:5005/cloud-provider-opennebula:latest

CLUSTER_NAME=one
Expand Down
14 changes: 6 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#

_artifacts/
_releases/
bin/
.env

# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
bin/*
Dockerfile.cross

# Test binary, built with `go test -c`
Expand All @@ -20,9 +24,6 @@ Dockerfile.cross
go.work
go.work.sum

# env file
.env

# Kubernetes Generated files - skip generated files, except for vendored files
!vendor/**/zz_generated.*

Expand All @@ -32,6 +33,3 @@ go.work.sum
*.swp
*.swo
*~

# E2E testing
_artifacts
Loading

0 comments on commit e39d2d0

Please sign in to comment.