Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:
name: Build
runs-on: ubuntu-24.04
steps:
- name: Set up Go 1.25
- name: Set up Go 1.27
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
with:
go-version: '1.25'
go-version: '1.27'
id: go

- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

- name: Prepare Host
run: |
curl -LO https://dl.k8s.io/release/v1.32.1/bin/linux/amd64/kubectl
curl -LO https://dl.k8s.io/release/v1.37.0/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl

Expand All @@ -42,15 +42,15 @@ jobs:
needs: build
strategy:
matrix:
k8s: [v1.29.14, v1.31.14, v1.33.7, v1.35.0]
k8s: [v1.31.14, v1.33.12, v1.35.8, v1.37.0]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

- name: Create Kubernetes ${{ matrix.k8s }} cluster
id: kind
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
with:
version: v0.31.0
version: v0.33.0
node_image: kindest/node:${{ matrix.k8s }}

- name: Test crds
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-crds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
name: Build
runs-on: ubuntu-24.04
steps:
- name: Set up Go 1.25
- name: Set up Go 1.27
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
with:
go-version: '1.25'
go-version: '1.27'
id: go

- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ BIN_PLATFORMS := $(DOCKER_PLATFORMS)
OS := $(if $(GOOS),$(GOOS),$(shell go env GOOS))
ARCH := $(if $(GOARCH),$(GOARCH),$(shell go env GOARCH))

BASEIMAGE_PROD ?= gcr.io/distroless/static-debian12
BASEIMAGE_DBG ?= debian:12
BASEIMAGE_PROD ?= gcr.io/distroless/static-debian13
BASEIMAGE_DBG ?= debian:13

GO_VERSION ?= 1.25
GO_VERSION ?= 1.27
BUILD_IMAGE ?= ghcr.io/appscode/golang-dev:$(GO_VERSION)

OUTBIN = bin/$(OS)_$(ARCH)/$(BIN)
Expand Down
6 changes: 4 additions & 2 deletions apis/appcatalog/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,15 @@ func Resource(resource string) schema.GroupResource {

// Adds the list of known types to api.Scheme.
func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion,
scheme.AddKnownTypes(
SchemeGroupVersion,
&AppBinding{},
&AppBindingList{},
&StashAddon{},
)

scheme.AddKnownTypes(SchemeGroupVersion,
scheme.AddKnownTypes(
SchemeGroupVersion,
&metav1.Status{},
)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
Expand Down
6 changes: 4 additions & 2 deletions apis/metrics/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@ func Resource(resource string) schema.GroupResource {

// Adds the list of known types to api.Scheme.
func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion,
scheme.AddKnownTypes(
SchemeGroupVersion,
&MetricsConfiguration{},
&MetricsConfigurationList{},
)

scheme.AddKnownTypes(SchemeGroupVersion,
scheme.AddKnownTypes(
SchemeGroupVersion,
&metav1.Status{},
)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
Expand Down
Loading