Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/container-registry-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
username: ${{ github.actor }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ghcr.io/${{ github.repository }}
tags: |
Expand All @@ -45,7 +45,7 @@ jobs:
# https://github.com/docker/metadata-action#typesha
type=sha,format=long
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Build and push Docker image
Expand Down
10 changes: 0 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,3 @@ repos:
entry: sh -c "gmake check || make check"
language: system
pass_filenames: false
- id: helmify
name: helmify
entry: sh -c "gmake helmify || make helmify"
language: system
pass_filenames: false
- id: go-build
name: go build
entry: sh -c "gmake build-all || make build-all"
language: system
pass_filenames: false
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ check: FORCE static-check build/cover.html build-all

generate: install-controller-gen
@printf "\e[1;36m>> controller-gen\e[0m\n"
@controller-gen crd rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
@controller-gen crd rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=charts/kvm-node-agent/crds
@controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
@controller-gen applyconfiguration paths="./..."

Expand Down
8 changes: 2 additions & 6 deletions Makefile.maker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ binaries:

controllerGen:
enabled: true
crdOutputPath: config/crd/bases
crdOutputPath: charts/kvm-node-agent/crds
objectHeaderFile: hack/boilerplate.go.txt
rbacRoleName: manager-role

Expand Down Expand Up @@ -81,8 +81,4 @@ verbatim: |

.PHONY: install-crds
install-crds: generate ## Install CRDs into the K8s cluster specified in ~/.kube/config.
kubectl kustomize config/crd | kubectl apply -f -

.PHONY: helmify
helmify:
kubectl kustomize config/default | helmify -crd-dir charts/kvm-node-agent
kubectl apply -f config/crd/*.yaml
156 changes: 0 additions & 156 deletions charts/kvm-node-agent/crds/migration-crd.yaml

This file was deleted.

1 change: 0 additions & 1 deletion charts/kvm-node-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ controllerManager:
pkiPath: /pki
image:
repository: ghcr.io/cobaltcore-dev/kvm-node-agent
tag: latest
resources:
limits:
cpu: 500m
Expand Down
Loading
Loading