Skip to content

Commit 4ae74c4

Browse files
authored
Merge pull request #433 from spinframework/dependabot/go_modules/k8s.io/client-go-0.34.1
build(deps): bump k8s.io/client-go from 0.33.1 to 0.34.1
2 parents 00fe99e + e078ea9 commit 4ae74c4

File tree

5 files changed

+196
-53
lines changed

5 files changed

+196
-53
lines changed

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

Lines changed: 148 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,43 @@ spec:
607607
- fieldPath
608608
type: object
609609
x-kubernetes-map-type: atomic
610+
fileKeyRef:
611+
description: |-
612+
FileKeyRef selects a key of the env file.
613+
Requires the EnvFiles feature gate to be enabled.
614+
properties:
615+
key:
616+
description: |-
617+
The key within the env file. An invalid key will prevent the pod from starting.
618+
The keys defined within a source may consist of any printable ASCII characters except '='.
619+
During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
620+
type: string
621+
optional:
622+
default: false
623+
description: |-
624+
Specify whether the file or its key must be defined. If the file or key
625+
does not exist, then the env var is not published.
626+
If optional is set to true and the specified key does not exist,
627+
the environment variable will not be set in the Pod's containers.
628+
629+
If optional is set to false and the specified key does not exist,
630+
an error will be returned during Pod creation.
631+
type: boolean
632+
path:
633+
description: |-
634+
The path within the volume from which to select the file.
635+
Must be relative and may not contain the '..' path or start with '..'.
636+
type: string
637+
volumeName:
638+
description: The name of the volume mount containing
639+
the env file.
640+
type: string
641+
required:
642+
- key
643+
- path
644+
- volumeName
645+
type: object
646+
x-kubernetes-map-type: atomic
610647
resourceFieldRef:
611648
description: |-
612649
Selects a resource of the container: only resources limits and requests
@@ -1399,15 +1436,13 @@ spec:
13991436
volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
14001437
If specified, the CSI driver will create or update the volume with the attributes defined
14011438
in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,
1402-
it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass
1403-
will be applied to the claim but it's not allowed to reset this field to empty string once it is set.
1404-
If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass
1405-
will be set by the persistentvolume controller if it exists.
1439+
it can be changed after the claim is created. An empty string or nil value indicates that no
1440+
VolumeAttributesClass will be applied to the claim. If the claim enters an Infeasible error state,
1441+
this field can be reset to its previous value (including nil) to cancel the modification.
14061442
If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be
14071443
set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource
14081444
exists.
14091445
More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/
1410-
(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).
14111446
type: string
14121447
volumeMode:
14131448
description: |-
@@ -1589,12 +1624,10 @@ spec:
15891624
description: |-
15901625
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
15911626
Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
1592-
More info: https://examples.k8s.io/volumes/glusterfs/README.md
15931627
properties:
15941628
endpoints:
1595-
description: |-
1596-
endpoints is the endpoint name that details Glusterfs topology.
1597-
More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
1629+
description: endpoints is the endpoint name that details
1630+
Glusterfs topology.
15981631
type: string
15991632
path:
16001633
description: |-
@@ -1673,7 +1706,7 @@ spec:
16731706
description: |-
16741707
iscsi represents an ISCSI Disk resource that is attached to a
16751708
kubelet's host machine and then exposed to the pod.
1676-
More info: https://examples.k8s.io/volumes/iscsi/README.md
1709+
More info: https://kubernetes.io/docs/concepts/storage/volumes/#iscsi
16771710
properties:
16781711
chapAuthDiscovery:
16791712
description: chapAuthDiscovery defines whether support iSCSI
@@ -2093,6 +2126,111 @@ spec:
20932126
type: array
20942127
x-kubernetes-list-type: atomic
20952128
type: object
2129+
podCertificate:
2130+
description: |-
2131+
Projects an auto-rotating credential bundle (private key and certificate
2132+
chain) that the pod can use either as a TLS client or server.
2133+
2134+
Kubelet generates a private key and uses it to send a
2135+
PodCertificateRequest to the named signer. Once the signer approves the
2136+
request and issues a certificate chain, Kubelet writes the key and
2137+
certificate chain to the pod filesystem. The pod does not start until
2138+
certificates have been issued for each podCertificate projected volume
2139+
source in its spec.
2140+
2141+
Kubelet will begin trying to rotate the certificate at the time indicated
2142+
by the signer using the PodCertificateRequest.Status.BeginRefreshAt
2143+
timestamp.
2144+
2145+
Kubelet can write a single file, indicated by the credentialBundlePath
2146+
field, or separate files, indicated by the keyPath and
2147+
certificateChainPath fields.
2148+
2149+
The credential bundle is a single file in PEM format. The first PEM
2150+
entry is the private key (in PKCS#8 format), and the remaining PEM
2151+
entries are the certificate chain issued by the signer (typically,
2152+
signers will return their certificate chain in leaf-to-root order).
2153+
2154+
Prefer using the credential bundle format, since your application code
2155+
can read it atomically. If you use keyPath and certificateChainPath,
2156+
your application must make two separate file reads. If these coincide
2157+
with a certificate rotation, it is possible that the private key and leaf
2158+
certificate you read may not correspond to each other. Your application
2159+
will need to check for this condition, and re-read until they are
2160+
consistent.
2161+
2162+
The named signer controls chooses the format of the certificate it
2163+
issues; consult the signer implementation's documentation to learn how to
2164+
use the certificates it issues.
2165+
properties:
2166+
certificateChainPath:
2167+
description: |-
2168+
Write the certificate chain at this path in the projected volume.
2169+
2170+
Most applications should use credentialBundlePath. When using keyPath
2171+
and certificateChainPath, your application needs to check that the key
2172+
and leaf certificate are consistent, because it is possible to read the
2173+
files mid-rotation.
2174+
type: string
2175+
credentialBundlePath:
2176+
description: |-
2177+
Write the credential bundle at this path in the projected volume.
2178+
2179+
The credential bundle is a single file that contains multiple PEM blocks.
2180+
The first PEM block is a PRIVATE KEY block, containing a PKCS#8 private
2181+
key.
2182+
2183+
The remaining blocks are CERTIFICATE blocks, containing the issued
2184+
certificate chain from the signer (leaf and any intermediates).
2185+
2186+
Using credentialBundlePath lets your Pod's application code make a single
2187+
atomic read that retrieves a consistent key and certificate chain. If you
2188+
project them to separate files, your application code will need to
2189+
additionally check that the leaf certificate was issued to the key.
2190+
type: string
2191+
keyPath:
2192+
description: |-
2193+
Write the key at this path in the projected volume.
2194+
2195+
Most applications should use credentialBundlePath. When using keyPath
2196+
and certificateChainPath, your application needs to check that the key
2197+
and leaf certificate are consistent, because it is possible to read the
2198+
files mid-rotation.
2199+
type: string
2200+
keyType:
2201+
description: |-
2202+
The type of keypair Kubelet will generate for the pod.
2203+
2204+
Valid values are "RSA3072", "RSA4096", "ECDSAP256", "ECDSAP384",
2205+
"ECDSAP521", and "ED25519".
2206+
type: string
2207+
maxExpirationSeconds:
2208+
description: |-
2209+
maxExpirationSeconds is the maximum lifetime permitted for the
2210+
certificate.
2211+
2212+
Kubelet copies this value verbatim into the PodCertificateRequests it
2213+
generates for this projection.
2214+
2215+
If omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver
2216+
will reject values shorter than 3600 (1 hour). The maximum allowable
2217+
value is 7862400 (91 days).
2218+
2219+
The signer implementation is then free to issue a certificate with any
2220+
lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600
2221+
seconds (1 hour). This constraint is enforced by kube-apiserver.
2222+
`kubernetes.io` signers will never issue certificates with a lifetime
2223+
longer than 24 hours.
2224+
format: int32
2225+
type: integer
2226+
signerName:
2227+
description: Kubelet's generated CSRs will be
2228+
addressed to this signer.
2229+
type: string
2230+
required:
2231+
- keyType
2232+
- signerName
2233+
type: object
20962234
secret:
20972235
description: secret information about the secret data
20982236
to project
@@ -2227,7 +2365,6 @@ spec:
22272365
description: |-
22282366
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
22292367
Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported.
2230-
More info: https://examples.k8s.io/volumes/rbd/README.md
22312368
properties:
22322369
fsType:
22332370
description: |-

go.mod

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ require (
88
github.com/prometheus/common v0.63.0
99
github.com/stretchr/testify v1.10.0
1010
golang.org/x/sync v0.17.0
11-
k8s.io/api v0.33.1
11+
k8s.io/api v0.34.1
1212
k8s.io/apiextensions-apiserver v0.33.1
13-
k8s.io/apimachinery v0.33.1
14-
k8s.io/client-go v0.33.1
13+
k8s.io/apimachinery v0.34.1
14+
k8s.io/client-go v0.34.1
1515
k8s.io/klog/v2 v2.130.1
1616
sigs.k8s.io/controller-runtime v0.21.0
1717
sigs.k8s.io/e2e-framework v0.6.0
@@ -25,12 +25,12 @@ require (
2525
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
2626
github.com/cespare/xxhash/v2 v2.3.0 // indirect
2727
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
28-
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
28+
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
2929
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
3030
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
3131
github.com/felixge/httpsnoop v1.0.4 // indirect
3232
github.com/fsnotify/fsnotify v1.7.0 // indirect
33-
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
33+
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
3434
github.com/go-logr/stdr v1.2.2 // indirect
3535
github.com/go-logr/zapr v1.3.0 // indirect
3636
github.com/go-openapi/jsonpointer v0.21.0 // indirect
@@ -39,7 +39,7 @@ require (
3939
github.com/gogo/protobuf v1.3.2 // indirect
4040
github.com/google/btree v1.1.3 // indirect
4141
github.com/google/cel-go v0.23.2 // indirect
42-
github.com/google/gnostic-models v0.6.9 // indirect
42+
github.com/google/gnostic-models v0.7.0 // indirect
4343
github.com/google/go-cmp v0.7.0 // indirect
4444
github.com/google/uuid v1.6.0 // indirect
4545
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
@@ -50,7 +50,7 @@ require (
5050
github.com/mailru/easyjson v0.7.7 // indirect
5151
github.com/moby/spdystream v0.5.0 // indirect
5252
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
53-
github.com/modern-go/reflect2 v1.0.2 // indirect
53+
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
5454
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
5555
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
5656
github.com/pkg/errors v0.9.1 // indirect
@@ -59,7 +59,7 @@ require (
5959
github.com/prometheus/client_model v0.6.1 // indirect
6060
github.com/prometheus/procfs v0.15.1 // indirect
6161
github.com/spf13/cobra v1.8.1 // indirect
62-
github.com/spf13/pflag v1.0.5 // indirect
62+
github.com/spf13/pflag v1.0.6 // indirect
6363
github.com/stoewer/go-strcase v1.3.0 // indirect
6464
github.com/vladimirvivien/gexe v0.4.1 // indirect
6565
github.com/x448/float16 v0.8.4 // indirect
@@ -74,6 +74,8 @@ require (
7474
go.opentelemetry.io/proto/otlp v1.4.0 // indirect
7575
go.uber.org/multierr v1.11.0 // indirect
7676
go.uber.org/zap v1.27.0 // indirect
77+
go.yaml.in/yaml/v2 v2.4.2 // indirect
78+
go.yaml.in/yaml/v3 v3.0.4 // indirect
7779
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
7880
golang.org/x/net v0.38.0 // indirect
7981
golang.org/x/oauth2 v0.27.0 // indirect
@@ -91,11 +93,11 @@ require (
9193
gopkg.in/yaml.v3 v3.0.1 // indirect
9294
k8s.io/apiserver v0.33.1 // indirect
9395
k8s.io/component-base v0.33.1 // indirect
94-
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
95-
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 // indirect
96+
k8s.io/kube-openapi v0.0.0-20250710124328-f3f2b991d03b // indirect
97+
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397 // indirect
9698
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 // indirect
97-
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
99+
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
98100
sigs.k8s.io/randfill v1.0.0 // indirect
99-
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
100-
sigs.k8s.io/yaml v1.4.0 // indirect
101+
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
102+
sigs.k8s.io/yaml v1.6.0 // indirect
101103
)

0 commit comments

Comments
 (0)