Skip to content

Commit d170a9e

Browse files
committed
Added support to check make has been ran or not and Upgraded the k8s dependencies to support v1.33
1 parent 8fa00e6 commit d170a9e

File tree

10 files changed

+171
-145
lines changed

10 files changed

+171
-145
lines changed

.devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
33
"features": {
44
"ghcr.io/devcontainers/features/go:1": {
5-
"version": "1.23.0"
5+
"version": "1.24.0"
66
},
77
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
88
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {

.github/workflows/build.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: '1.23.x'
22+
go-version: '1.24.x'
2323
cache: true
2424

2525
- name: Setup gotestsum
@@ -32,7 +32,8 @@ jobs:
3232

3333
- name: Verify make has been run
3434
run: |
35-
make
35+
make manifests
36+
make generate
3637
git diff --exit-code || (echo "Generated files are out of date. Please run 'make' and commit the changes." && exit 1)
3738
3839
- name: Build
@@ -79,7 +80,7 @@ jobs:
7980
steps:
8081
- uses: actions/setup-go@v5
8182
with:
82-
go-version: '1.23.x'
83+
go-version: '1.24.x'
8384
- uses: actions/checkout@v4
8485
- name: golangci-lint
8586
uses: golangci/golangci-lint-action@v6
@@ -103,7 +104,7 @@ jobs:
103104
- name: Setup Go
104105
uses: actions/setup-go@v5
105106
with:
106-
go-version: '1.23.x'
107+
go-version: '1.24.x'
107108
cache: true
108109
- name: Install dependencies
109110
run: go mod download

.github/workflows/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Go
1313
uses: actions/setup-go@v5
1414
with:
15-
go-version: "1.23.x"
15+
go-version: "1.24.x"
1616
cache: true
1717
- name: run e2e
1818
run: go test ./e2e -v

.github/workflows/helm-install-smoketest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup Go
1515
uses: actions/setup-go@v5
1616
with:
17-
go-version: "1.23.x"
17+
go-version: "1.24.x"
1818

1919
- name: Install helm
2020
uses: Azure/setup-helm@v4

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
- name: Setup Go
9191
uses: actions/setup-go@v5
9292
with:
93-
go-version: '1.23.x'
93+
go-version: '1.24.x'
9494
cache: true
9595

9696
- name: Install dependencies

.github/workflows/smoketest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup Go
1515
uses: actions/setup-go@v5
1616
with:
17-
go-version: "1.23.x"
17+
go-version: "1.24.x"
1818

1919
- name: setup k3d
2020
uses: engineerd/[email protected]

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile:1
22

33
# Build the manager binary
4-
FROM --platform=${BUILDPLATFORM} golang:1.23 AS builder
4+
FROM --platform=${BUILDPLATFORM} golang:1.24 AS builder
55
ARG TARGETOS
66
ARG TARGETARCH
77

config/crd/bases/core.spinkube.dev_spinapps.yaml

Lines changed: 47 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,8 @@ spec:
728728
description: |-
729729
awsElasticBlockStore represents an AWS Disk resource that is attached to a
730730
kubelet's host machine and then exposed to the pod.
731+
Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree
732+
awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.
731733
More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
732734
properties:
733735
fsType:
@@ -759,8 +761,10 @@ spec:
759761
- volumeID
760762
type: object
761763
azureDisk:
762-
description: azureDisk represents an Azure Data Disk mount on
763-
the host and bind mount to the pod.
764+
description: |-
765+
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
766+
Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type
767+
are redirected to the disk.csi.azure.com CSI driver.
764768
properties:
765769
cachingMode:
766770
description: 'cachingMode is the Host Caching mode: None,
@@ -798,8 +802,10 @@ spec:
798802
- diskURI
799803
type: object
800804
azureFile:
801-
description: azureFile represents an Azure File Service mount
802-
on the host and bind mount to the pod.
805+
description: |-
806+
azureFile represents an Azure File Service mount on the host and bind mount to the pod.
807+
Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type
808+
are redirected to the file.csi.azure.com CSI driver.
803809
properties:
804810
readOnly:
805811
description: |-
@@ -818,8 +824,9 @@ spec:
818824
- shareName
819825
type: object
820826
cephfs:
821-
description: cephFS represents a Ceph FS mount on the host that
822-
shares a pod's lifetime
827+
description: |-
828+
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.
829+
Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.
823830
properties:
824831
monitors:
825832
description: |-
@@ -871,6 +878,8 @@ spec:
871878
cinder:
872879
description: |-
873880
cinder represents a cinder volume attached and mounted on kubelets host machine.
881+
Deprecated: Cinder is deprecated. All operations for the in-tree cinder type
882+
are redirected to the cinder.csi.openstack.org CSI driver.
874883
More info: https://examples.k8s.io/mysql-cinder-pd/README.md
875884
properties:
876885
fsType:
@@ -980,8 +989,7 @@ spec:
980989
x-kubernetes-map-type: atomic
981990
csi:
982991
description: csi (Container Storage Interface) represents ephemeral
983-
storage that is handled by certain external CSI drivers (Beta
984-
feature).
992+
storage that is handled by certain external CSI drivers.
985993
properties:
986994
driver:
987995
description: |-
@@ -1447,6 +1455,7 @@ spec:
14471455
description: |-
14481456
flexVolume represents a generic volume resource that is
14491457
provisioned/attached using an exec based plugin.
1458+
Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.
14501459
properties:
14511460
driver:
14521461
description: driver is the name of the driver to use for
@@ -1492,9 +1501,9 @@ spec:
14921501
- driver
14931502
type: object
14941503
flocker:
1495-
description: flocker represents a Flocker volume attached to
1496-
a kubelet's host machine. This depends on the Flocker control
1497-
service being running
1504+
description: |-
1505+
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running.
1506+
Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.
14981507
properties:
14991508
datasetName:
15001509
description: |-
@@ -1510,6 +1519,8 @@ spec:
15101519
description: |-
15111520
gcePersistentDisk represents a GCE Disk resource that is attached to a
15121521
kubelet's host machine and then exposed to the pod.
1522+
Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree
1523+
gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.
15131524
More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
15141525
properties:
15151526
fsType:
@@ -1545,7 +1556,7 @@ spec:
15451556
gitRepo:
15461557
description: |-
15471558
gitRepo represents a git repository at a particular revision.
1548-
DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an
1559+
Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an
15491560
EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
15501561
into the Pod's container.
15511562
properties:
@@ -1569,6 +1580,7 @@ spec:
15691580
glusterfs:
15701581
description: |-
15711582
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
1583+
Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
15721584
More info: https://examples.k8s.io/volumes/glusterfs/README.md
15731585
properties:
15741586
endpoints:
@@ -1628,7 +1640,7 @@ spec:
16281640
The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
16291641
The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
16301642
The volume will be mounted read-only (ro) and non-executable files (noexec).
1631-
Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath).
1643+
Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.
16321644
The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
16331645
properties:
16341646
pullPolicy:
@@ -1778,8 +1790,9 @@ spec:
17781790
- claimName
17791791
type: object
17801792
photonPersistentDisk:
1781-
description: photonPersistentDisk represents a PhotonController
1782-
persistent disk attached and mounted on kubelets host machine
1793+
description: |-
1794+
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.
1795+
Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
17831796
properties:
17841797
fsType:
17851798
description: |-
@@ -1795,8 +1808,11 @@ spec:
17951808
- pdID
17961809
type: object
17971810
portworxVolume:
1798-
description: portworxVolume represents a portworx volume attached
1799-
and mounted on kubelets host machine
1811+
description: |-
1812+
portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
1813+
Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
1814+
are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
1815+
is on.
18001816
properties:
18011817
fsType:
18021818
description: |-
@@ -2161,8 +2177,9 @@ spec:
21612177
x-kubernetes-list-type: atomic
21622178
type: object
21632179
quobyte:
2164-
description: quobyte represents a Quobyte mount on the host
2165-
that shares a pod's lifetime
2180+
description: |-
2181+
quobyte represents a Quobyte mount on the host that shares a pod's lifetime.
2182+
Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.
21662183
properties:
21672184
group:
21682185
description: |-
@@ -2201,6 +2218,7 @@ spec:
22012218
rbd:
22022219
description: |-
22032220
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
2221+
Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported.
22042222
More info: https://examples.k8s.io/volumes/rbd/README.md
22052223
properties:
22062224
fsType:
@@ -2273,8 +2291,9 @@ spec:
22732291
- monitors
22742292
type: object
22752293
scaleIO:
2276-
description: scaleIO represents a ScaleIO persistent volume
2277-
attached and mounted on Kubernetes nodes.
2294+
description: |-
2295+
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
2296+
Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.
22782297
properties:
22792298
fsType:
22802299
default: xfs
@@ -2406,8 +2425,9 @@ spec:
24062425
type: string
24072426
type: object
24082427
storageos:
2409-
description: storageOS represents a StorageOS volume attached
2410-
and mounted on Kubernetes nodes.
2428+
description: |-
2429+
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
2430+
Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
24112431
properties:
24122432
fsType:
24132433
description: |-
@@ -2452,8 +2472,10 @@ spec:
24522472
type: string
24532473
type: object
24542474
vsphereVolume:
2455-
description: vsphereVolume represents a vSphere volume attached
2456-
and mounted on kubelets host machine
2475+
description: |-
2476+
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.
2477+
Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type
2478+
are redirected to the csi.vsphere.vmware.com CSI driver.
24572479
properties:
24582480
fsType:
24592481
description: |-

0 commit comments

Comments
 (0)