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/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '>=1.25.0'
go-version: '>=1.26.0'
- name: build
run: make build
testing:
Expand All @@ -49,7 +49,7 @@ jobs:
key: ${{ runner.os }}-binaries-${{ hashFiles('**/go.sum') }}
- uses: actions/setup-go@v4
with:
go-version: '>=1.25.0'
go-version: '>=1.26.0'
- name: run tests
run: make test

2 changes: 1 addition & 1 deletion api/config/v2alpha2/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var (
GroupVersion = schema.GroupVersion{Group: "config.bankdata.dk", Version: "v2alpha2"}

// SchemeBuilder is used to add go types to the GroupVersionKind scheme
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} //nolint:staticcheck // SA1019

// AddToScheme adds the types in this group-version to the given scheme.
AddToScheme = SchemeBuilder.AddToScheme
Expand Down
2 changes: 1 addition & 1 deletion api/styra/v1alpha1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var (
GroupVersion = schema.GroupVersion{Group: "styra.bankdata.dk", Version: "v1alpha1"}

// SchemeBuilder is used to add go types to the GroupVersionKind scheme
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} //nolint:staticcheck // SA1019

// AddToScheme adds the types in this group-version to the given scheme.
AddToScheme = SchemeBuilder.AddToScheme
Expand Down
2 changes: 1 addition & 1 deletion api/styra/v1beta1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var (
GroupVersion = schema.GroupVersion{Group: "styra.bankdata.dk", Version: "v1beta1"}

// SchemeBuilder is used to add go types to the GroupVersionKind scheme
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} //nolint:staticcheck // SA1019

// AddToScheme adds the types in this group-version to the given scheme.
AddToScheme = SchemeBuilder.AddToScheme
Expand Down
2 changes: 1 addition & 1 deletion api/test/v1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var (
GroupVersion = schema.GroupVersion{Group: "test.bankdata.dk", Version: "v1"}

// SchemeBuilder is used to add go types to the GroupVersionKind scheme
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} //nolint:staticcheck // SA1019

// AddToScheme adds the types in this group-version to the given scheme.
AddToScheme = SchemeBuilder.AddToScheme
Expand Down
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func main() {
r1 := &controllers.SystemReconciler{
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
Recorder: mgr.GetEventRecorderFor("system-controller"),
Recorder: mgr.GetEventRecorder("system-controller"),
Metrics: systemMetrics,
Config: ctrlConfig,
APIReader: mgr.GetAPIReader(),
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/styra.bankdata.dk_libraries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.20.1
controller-gen.kubebuilder.io/version: v0.21.0
name: libraries.styra.bankdata.dk
spec:
group: styra.bankdata.dk
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/styra.bankdata.dk_systems.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.20.1
controller-gen.kubebuilder.io/version: v0.21.0
name: systems.styra.bankdata.dk
spec:
group: styra.bankdata.dk
Expand Down
14 changes: 7 additions & 7 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ rules:
- patch
- update
- watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups:
- apps
resources:
Expand All @@ -33,6 +26,13 @@ rules:
- list
- patch
- watch
- apiGroups:
- events.k8s.io
resources:
- events
verbs:
- create
- patch
- apiGroups:
- styra.bankdata.dk
resources:
Expand Down
Loading
Loading