mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-06 23:23:23 +09:00
feat(cluster-api): update capmox to v0.9.2 and in-cluster IPAM to v1.1.1
capmox v0.9.1/v0.9.2 are security roll-ups with provisioning fixes, and v0.8 moved the provider to the v1alpha2 API and the Cluster API v1beta2 contract. capmox v0.9 is built against Cluster API v1.12 and needs the in-cluster IPAM provider v1.1, so both packages move together, and both need capi-providers-core >= v1.12 (cozystack/cozystack#4902). The vendored manifests are refreshed with make components against the pinned release sums; the ConfigMap names and spec.version follow the Makefile. The charts keep writing v1alpha1, which capmox still serves. Assisted-by: LLM Signed-off-by: Marian Koreniuk <moriarti@cp.if.ua>
This commit is contained in:
12 files changed
+3065
-77
No files matched your search
@@ -1,12 +1,12 @@
|
||||
export NAME=capi-providers-infraprovider-proxmox
|
||||
export NAMESPACE=cozy-cluster-api
|
||||
|
||||
CAPMOX_VERSION=v0.7.7
|
||||
CAPMOX_VERSION=v0.9.2
|
||||
CAPMOX_URL=https://github.com/ionos-cloud/cluster-api-provider-proxmox/releases/download/$(CAPMOX_VERSION)
|
||||
# SHA-256 of the two release assets at CAPMOX_VERSION. A release tag can be moved;
|
||||
# these cannot. Bumping the version means recording the new sums here.
|
||||
CAPMOX_SHA256_COMPONENTS=831e3debeb677e9a73183dc858e9fd673f4346c18dafeb4cddee62823c059589
|
||||
CAPMOX_SHA256_METADATA=66a57b6865ed68cf4edf460dfa4c75fa7ff80f27e519a9a062cafceeabb88500
|
||||
CAPMOX_SHA256_COMPONENTS=6817322435b42cfda07a8f94006bacb709afb83445ce24545af253c7904755d8
|
||||
CAPMOX_SHA256_METADATA=df2916a79503ac053f6a9866a8de025e780e24d6d472f00f59f84898b5a1c572
|
||||
|
||||
include ../../../hack/package.mk
|
||||
|
||||
|
||||
Binary file not shown.
+2598
-36
File diff suppressed because it is too large.
Load diff
@@ -2,24 +2,30 @@
|
||||
apiVersion: clusterctl.cluster.x-k8s.io/v1alpha3
|
||||
kind: Metadata
|
||||
releaseSeries:
|
||||
- major: 0
|
||||
minor: 1
|
||||
contract: v1beta1
|
||||
- major: 0
|
||||
minor: 2
|
||||
contract: v1beta1
|
||||
- major: 0
|
||||
minor: 3
|
||||
contract: v1beta1
|
||||
- major: 0
|
||||
minor: 4
|
||||
contract: v1beta1
|
||||
- major: 0
|
||||
minor: 5
|
||||
contract: v1beta1
|
||||
- major: 0
|
||||
minor: 6
|
||||
contract: v1beta1
|
||||
- major: 0
|
||||
minor: 7
|
||||
contract: v1beta1
|
||||
- major: 0
|
||||
minor: 1
|
||||
contract: v1beta1
|
||||
- major: 0
|
||||
minor: 2
|
||||
contract: v1beta1
|
||||
- major: 0
|
||||
minor: 3
|
||||
contract: v1beta1
|
||||
- major: 0
|
||||
minor: 4
|
||||
contract: v1beta1
|
||||
- major: 0
|
||||
minor: 5
|
||||
contract: v1beta1
|
||||
- major: 0
|
||||
minor: 6
|
||||
contract: v1beta1
|
||||
- major: 0
|
||||
minor: 7
|
||||
contract: v1beta1
|
||||
- major: 0
|
||||
minor: 8
|
||||
contract: v1beta2
|
||||
- major: 0
|
||||
minor: 9
|
||||
contract: v1beta2
|
||||
@@ -11,5 +11,5 @@ cannot drift apart. `make components` in this package rewrites the vendored
|
||||
files, not this value.
|
||||
*/}}
|
||||
{{- define "capi-providers-infraprovider-proxmox.version" -}}
|
||||
v0.7.7-infraprovider-proxmox
|
||||
v0.9.2-infraprovider-proxmox
|
||||
{{- end -}}
|
||||
@@ -5,10 +5,9 @@ metadata:
|
||||
spec:
|
||||
# https://github.com/ionos-cloud/cluster-api-provider-proxmox
|
||||
#
|
||||
# Pinned to the v0.7 series. v0.8 moves capmox to the v1beta2 contract and
|
||||
# stores v1alpha2. v1alpha1 is still served through conversion, but that has
|
||||
# not been tested with the kubernetes-nodes templates, and in-cluster IPAM
|
||||
# should move to v1.1 at the same time. Bump the two together.
|
||||
# v0.9 declares the v1beta2 Cluster API contract and is built against Cluster
|
||||
# API v1.12, so it needs capi-providers-core >= v1.12 and the in-cluster IPAM
|
||||
# provider >= v1.1.0. Bump this together with those, not on its own.
|
||||
version: {{ include "capi-providers-infraprovider-proxmox.version" . }}
|
||||
configSecret:
|
||||
name: {{ .Values.credentialsSecretName | quote }}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
export NAME=capi-providers-ipam-in-cluster
|
||||
export NAMESPACE=cozy-cluster-api
|
||||
|
||||
CAIP_VERSION=v1.0.3
|
||||
CAIP_VERSION=v1.1.1
|
||||
CAIP_URL=https://github.com/kubernetes-sigs/cluster-api-ipam-provider-in-cluster/releases/download/$(CAIP_VERSION)
|
||||
# SHA-256 of the two release assets at CAIP_VERSION. A release tag can be moved;
|
||||
# these cannot. Bumping the version means recording the new sums here.
|
||||
CAIP_SHA256_COMPONENTS=e3247a458e66e1eeca8bda05a6dfaa882dae29785072f41e7cf071ff8c70f695
|
||||
CAIP_SHA256_METADATA=dc1ebd036645e0e87e99dab275c312cf8f8f38aa68a12bc01ad2b1dd1d6bf20e
|
||||
CAIP_SHA256_COMPONENTS=8a0656a39d9e85ee07219702254669b7e543d09957e86315f3d20b4bf6aebfa5
|
||||
CAIP_SHA256_METADATA=eb280ab315f478324973a7b65739a655d57e3c22a1356efd9f5127534d3502b7
|
||||
|
||||
include ../../../hack/package.mk
|
||||
|
||||
|
||||
Binary file not shown.
@@ -210,6 +210,19 @@ spec:
|
||||
spec:
|
||||
description: InClusterIPPoolSpec defines the desired state of InClusterIPPool.
|
||||
properties:
|
||||
addressReuseGracePeriodSeconds:
|
||||
description: |-
|
||||
AddressReuseGracePeriodSeconds is the duration in seconds for which an
|
||||
IP address should be kept reserved after being released, preventing
|
||||
immediate reuse. This helps avoid IP conflicts during rolling upgrades
|
||||
where old and new nodes may briefly coexist, and prevents ARP cache
|
||||
issues on network switches.
|
||||
If not set or set to 0, addresses are available for reuse immediately.
|
||||
During the grace period the IPAddress and claim deletions are held, the downstream consumers using foreground cascading
|
||||
deletion through the claim will see deletion of upstream resources delayed by up to AddressReuseGracePeriodSeconds.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
addresses:
|
||||
description: |-
|
||||
Addresses is a list of IP addresses that can be assigned. This set of
|
||||
@@ -287,6 +300,157 @@ spec:
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
controller-gen.kubebuilder.io/version: v0.17.2
|
||||
labels:
|
||||
cluster.x-k8s.io/provider: ipam-in-cluster
|
||||
clusterctl.cluster.x-k8s.io/move-hierarchy: ""
|
||||
name: globalinclusterprefixpools.ipam.cluster.x-k8s.io
|
||||
spec:
|
||||
conversion:
|
||||
strategy: Webhook
|
||||
webhook:
|
||||
clientConfig:
|
||||
service:
|
||||
name: capi-ipam-in-cluster-webhook-service
|
||||
namespace: capi-ipam-in-cluster-system
|
||||
path: /convert
|
||||
conversionReviewVersions:
|
||||
- v1
|
||||
group: ipam.cluster.x-k8s.io
|
||||
names:
|
||||
categories:
|
||||
- cluster-api
|
||||
kind: GlobalInClusterPrefixPool
|
||||
listKind: GlobalInClusterPrefixPoolList
|
||||
plural: globalinclusterprefixpools
|
||||
singular: globalinclusterprefixpool
|
||||
scope: Cluster
|
||||
versions:
|
||||
- additionalPrinterColumns:
|
||||
- description: List of prefixes to allocate sub-prefixes from
|
||||
jsonPath: .spec.prefixes
|
||||
name: Prefixes
|
||||
type: string
|
||||
- description: Count of allocatable sub-prefixes in the pool
|
||||
jsonPath: .status.ipAddresses.total
|
||||
name: Total
|
||||
type: integer
|
||||
- description: Count of unallocated sub-prefixes in the pool
|
||||
jsonPath: .status.ipAddresses.free
|
||||
name: Free
|
||||
type: integer
|
||||
- description: Count of allocated sub-prefixes in the pool
|
||||
jsonPath: .status.ipAddresses.used
|
||||
name: Used
|
||||
type: integer
|
||||
name: v1alpha2
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
description: |-
|
||||
GlobalInClusterPrefixPool is the Schema for the global inclusterprefixpools API.
|
||||
This pool type is cluster scoped. IPAddressClaims can reference
|
||||
pools of this type from any namespace.
|
||||
properties:
|
||||
apiVersion:
|
||||
description: |-
|
||||
APIVersion defines the versioned schema of this representation of an object.
|
||||
Servers should convert recognized schemas to the latest internal value, and
|
||||
may reject unrecognized values.
|
||||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||
type: string
|
||||
kind:
|
||||
description: |-
|
||||
Kind is a string value representing the REST resource this object represents.
|
||||
Servers may infer this from the endpoint the client submits requests to.
|
||||
Cannot be updated.
|
||||
In CamelCase.
|
||||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
type: string
|
||||
metadata:
|
||||
type: object
|
||||
spec:
|
||||
description: InClusterPrefixPoolSpec defines the desired state of InClusterPrefixPool.
|
||||
properties:
|
||||
allocationPrefixLength:
|
||||
default: 64
|
||||
description: |-
|
||||
AllocationPrefixLength is the prefix length of each allocated
|
||||
sub-prefix (e.g. 64 means /64 allocations). Defaults to 64.
|
||||
Must be >= the prefix length of each entry in Prefixes and <= 128.
|
||||
maximum: 128
|
||||
minimum: 1
|
||||
type: integer
|
||||
excludedPrefixes:
|
||||
description: |-
|
||||
ExcludedPrefixes lists IPs/CIDRs/ranges to exclude from allocation.
|
||||
Any candidate sub-prefix overlapping an excluded entry is skipped.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
gateway:
|
||||
description: |-
|
||||
Gateway is the next-hop IPv6 address carried unchanged to every
|
||||
allocated IPAddress.Spec.Gateway. Unlike IP pools, the gateway does
|
||||
NOT block any prefix from being allocated — it is informational only.
|
||||
type: string
|
||||
prefixes:
|
||||
description: |-
|
||||
Prefixes is a list of IPv6 CIDRs from which sub-prefixes are allocated.
|
||||
Each entry must be a network-aligned CIDR (e.g. "fd00::/48").
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
required:
|
||||
- prefixes
|
||||
type: object
|
||||
status:
|
||||
description: InClusterPrefixPoolStatus defines the observed state of InClusterPrefixPool.
|
||||
properties:
|
||||
ipAddresses:
|
||||
description: |-
|
||||
Addresses reports the count of total, free, and used prefixes in the pool.
|
||||
The JSON tag is "ipAddresses" to match the InClusterIPPool status shape,
|
||||
keeping a consistent status contract across pool types.
|
||||
properties:
|
||||
free:
|
||||
description: |-
|
||||
Free is the count of unallocated sub-prefixes.
|
||||
Counts greater than int can contain will report as math.MaxInt.
|
||||
type: integer
|
||||
outOfRange:
|
||||
description: |-
|
||||
OutOfRange is the count of allocated prefixes currently non-allocatable
|
||||
under spec (outside spec.Prefixes, overlapped by spec.ExcludedPrefixes,
|
||||
or with the wrong prefix length).
|
||||
Counts greater than int can contain will report as math.MaxInt.
|
||||
type: integer
|
||||
total:
|
||||
description: |-
|
||||
Total is the total number of allocatable sub-prefixes in the pool.
|
||||
Counts greater than int can contain will report as math.MaxInt.
|
||||
type: integer
|
||||
used:
|
||||
description: |-
|
||||
Used is the count of allocated sub-prefixes.
|
||||
Counts greater than int can contain will report as math.MaxInt.
|
||||
type: integer
|
||||
required:
|
||||
- free
|
||||
- outOfRange
|
||||
- total
|
||||
- used
|
||||
type: object
|
||||
type: object
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
cert-manager.io/inject-ca-from: capi-ipam-in-cluster-system/capi-ipam-in-cluster-serving-cert
|
||||
@@ -487,6 +651,19 @@ spec:
|
||||
spec:
|
||||
description: InClusterIPPoolSpec defines the desired state of InClusterIPPool.
|
||||
properties:
|
||||
addressReuseGracePeriodSeconds:
|
||||
description: |-
|
||||
AddressReuseGracePeriodSeconds is the duration in seconds for which an
|
||||
IP address should be kept reserved after being released, preventing
|
||||
immediate reuse. This helps avoid IP conflicts during rolling upgrades
|
||||
where old and new nodes may briefly coexist, and prevents ARP cache
|
||||
issues on network switches.
|
||||
If not set or set to 0, addresses are available for reuse immediately.
|
||||
During the grace period the IPAddress and claim deletions are held, the downstream consumers using foreground cascading
|
||||
deletion through the claim will see deletion of upstream resources delayed by up to AddressReuseGracePeriodSeconds.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
addresses:
|
||||
description: |-
|
||||
Addresses is a list of IP addresses that can be assigned. This set of
|
||||
@@ -562,6 +739,155 @@ spec:
|
||||
subresources:
|
||||
status: {}
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
controller-gen.kubebuilder.io/version: v0.17.2
|
||||
labels:
|
||||
cluster.x-k8s.io/provider: ipam-in-cluster
|
||||
clusterctl.cluster.x-k8s.io/move-hierarchy: ""
|
||||
name: inclusterprefixpools.ipam.cluster.x-k8s.io
|
||||
spec:
|
||||
conversion:
|
||||
strategy: Webhook
|
||||
webhook:
|
||||
clientConfig:
|
||||
service:
|
||||
name: capi-ipam-in-cluster-webhook-service
|
||||
namespace: capi-ipam-in-cluster-system
|
||||
path: /convert
|
||||
conversionReviewVersions:
|
||||
- v1
|
||||
group: ipam.cluster.x-k8s.io
|
||||
names:
|
||||
categories:
|
||||
- cluster-api
|
||||
kind: InClusterPrefixPool
|
||||
listKind: InClusterPrefixPoolList
|
||||
plural: inclusterprefixpools
|
||||
singular: inclusterprefixpool
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- additionalPrinterColumns:
|
||||
- description: List of prefixes to allocate sub-prefixes from
|
||||
jsonPath: .spec.prefixes
|
||||
name: Prefixes
|
||||
type: string
|
||||
- description: Count of allocatable sub-prefixes in the pool
|
||||
jsonPath: .status.ipAddresses.total
|
||||
name: Total
|
||||
type: integer
|
||||
- description: Count of unallocated sub-prefixes in the pool
|
||||
jsonPath: .status.ipAddresses.free
|
||||
name: Free
|
||||
type: integer
|
||||
- description: Count of allocated sub-prefixes in the pool
|
||||
jsonPath: .status.ipAddresses.used
|
||||
name: Used
|
||||
type: integer
|
||||
name: v1alpha2
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
description: InClusterPrefixPool is the Schema for the inclusterprefixpools
|
||||
API.
|
||||
properties:
|
||||
apiVersion:
|
||||
description: |-
|
||||
APIVersion defines the versioned schema of this representation of an object.
|
||||
Servers should convert recognized schemas to the latest internal value, and
|
||||
may reject unrecognized values.
|
||||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||
type: string
|
||||
kind:
|
||||
description: |-
|
||||
Kind is a string value representing the REST resource this object represents.
|
||||
Servers may infer this from the endpoint the client submits requests to.
|
||||
Cannot be updated.
|
||||
In CamelCase.
|
||||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
type: string
|
||||
metadata:
|
||||
type: object
|
||||
spec:
|
||||
description: InClusterPrefixPoolSpec defines the desired state of InClusterPrefixPool.
|
||||
properties:
|
||||
allocationPrefixLength:
|
||||
default: 64
|
||||
description: |-
|
||||
AllocationPrefixLength is the prefix length of each allocated
|
||||
sub-prefix (e.g. 64 means /64 allocations). Defaults to 64.
|
||||
Must be >= the prefix length of each entry in Prefixes and <= 128.
|
||||
maximum: 128
|
||||
minimum: 1
|
||||
type: integer
|
||||
excludedPrefixes:
|
||||
description: |-
|
||||
ExcludedPrefixes lists IPs/CIDRs/ranges to exclude from allocation.
|
||||
Any candidate sub-prefix overlapping an excluded entry is skipped.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
gateway:
|
||||
description: |-
|
||||
Gateway is the next-hop IPv6 address carried unchanged to every
|
||||
allocated IPAddress.Spec.Gateway. Unlike IP pools, the gateway does
|
||||
NOT block any prefix from being allocated — it is informational only.
|
||||
type: string
|
||||
prefixes:
|
||||
description: |-
|
||||
Prefixes is a list of IPv6 CIDRs from which sub-prefixes are allocated.
|
||||
Each entry must be a network-aligned CIDR (e.g. "fd00::/48").
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
required:
|
||||
- prefixes
|
||||
type: object
|
||||
status:
|
||||
description: InClusterPrefixPoolStatus defines the observed state of InClusterPrefixPool.
|
||||
properties:
|
||||
ipAddresses:
|
||||
description: |-
|
||||
Addresses reports the count of total, free, and used prefixes in the pool.
|
||||
The JSON tag is "ipAddresses" to match the InClusterIPPool status shape,
|
||||
keeping a consistent status contract across pool types.
|
||||
properties:
|
||||
free:
|
||||
description: |-
|
||||
Free is the count of unallocated sub-prefixes.
|
||||
Counts greater than int can contain will report as math.MaxInt.
|
||||
type: integer
|
||||
outOfRange:
|
||||
description: |-
|
||||
OutOfRange is the count of allocated prefixes currently non-allocatable
|
||||
under spec (outside spec.Prefixes, overlapped by spec.ExcludedPrefixes,
|
||||
or with the wrong prefix length).
|
||||
Counts greater than int can contain will report as math.MaxInt.
|
||||
type: integer
|
||||
total:
|
||||
description: |-
|
||||
Total is the total number of allocatable sub-prefixes in the pool.
|
||||
Counts greater than int can contain will report as math.MaxInt.
|
||||
type: integer
|
||||
used:
|
||||
description: |-
|
||||
Used is the count of allocated sub-prefixes.
|
||||
Counts greater than int can contain will report as math.MaxInt.
|
||||
type: integer
|
||||
required:
|
||||
- free
|
||||
- outOfRange
|
||||
- total
|
||||
- used
|
||||
type: object
|
||||
type: object
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
@@ -629,7 +955,9 @@ rules:
|
||||
- ipam.cluster.x-k8s.io
|
||||
resources:
|
||||
- globalinclusterippools
|
||||
- globalinclusterprefixpools
|
||||
- inclusterippools
|
||||
- inclusterprefixpools
|
||||
- ipaddresses
|
||||
verbs:
|
||||
- create
|
||||
@@ -643,7 +971,9 @@ rules:
|
||||
- ipam.cluster.x-k8s.io
|
||||
resources:
|
||||
- globalinclusterippools/finalizers
|
||||
- globalinclusterprefixpools/finalizers
|
||||
- inclusterippools/finalizers
|
||||
- inclusterprefixpools/finalizers
|
||||
- ipaddressclaims/finalizers
|
||||
- ipaddresses/finalizers
|
||||
verbs:
|
||||
@@ -652,7 +982,9 @@ rules:
|
||||
- ipam.cluster.x-k8s.io
|
||||
resources:
|
||||
- globalinclusterippools/status
|
||||
- globalinclusterprefixpools/status
|
||||
- inclusterippools/status
|
||||
- inclusterprefixpools/status
|
||||
- ipaddressclaims/status
|
||||
- ipaddresses/status
|
||||
verbs:
|
||||
@@ -828,7 +1160,7 @@ spec:
|
||||
- --leader-elect
|
||||
command:
|
||||
- /manager
|
||||
image: registry.k8s.io/capi-ipam-ic/cluster-api-ipam-in-cluster-controller:v1.0.3
|
||||
image: registry.k8s.io/capi-ipam-ic/cluster-api-ipam-in-cluster-controller:v1.1.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
@@ -871,6 +1203,11 @@ spec:
|
||||
type: RuntimeDefault
|
||||
serviceAccountName: capi-ipam-in-cluster-controller-manager
|
||||
terminationGracePeriodSeconds: 10
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
key: node-role.kubernetes.io/master
|
||||
- effect: NoSchedule
|
||||
key: node-role.kubernetes.io/control-plane
|
||||
volumes:
|
||||
- name: cert
|
||||
secret:
|
||||
@@ -916,7 +1253,6 @@ metadata:
|
||||
webhooks:
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
service:
|
||||
name: capi-ipam-in-cluster-webhook-service
|
||||
@@ -938,7 +1274,27 @@ webhooks:
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
service:
|
||||
name: capi-ipam-in-cluster-webhook-service
|
||||
namespace: capi-ipam-in-cluster-system
|
||||
path: /mutate-ipam-cluster-x-k8s-io-v1alpha2-globalinclusterprefixpool
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: default.globalinclusterprefixpool.ipam.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ipam.cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha2
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- globalinclusterprefixpools
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: capi-ipam-in-cluster-webhook-service
|
||||
@@ -958,6 +1314,27 @@ webhooks:
|
||||
resources:
|
||||
- inclusterippools
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: capi-ipam-in-cluster-webhook-service
|
||||
namespace: capi-ipam-in-cluster-system
|
||||
path: /mutate-ipam-cluster-x-k8s-io-v1alpha2-inclusterprefixpool
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: default.inclusterprefixpool.ipam.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ipam.cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha2
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- inclusterprefixpools
|
||||
sideEffects: None
|
||||
---
|
||||
apiVersion: admissionregistration.k8s.io/v1
|
||||
kind: ValidatingWebhookConfiguration
|
||||
@@ -970,7 +1347,6 @@ metadata:
|
||||
webhooks:
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
service:
|
||||
name: capi-ipam-in-cluster-webhook-service
|
||||
@@ -993,7 +1369,28 @@ webhooks:
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
service:
|
||||
name: capi-ipam-in-cluster-webhook-service
|
||||
namespace: capi-ipam-in-cluster-system
|
||||
path: /validate-ipam-cluster-x-k8s-io-v1alpha2-globalinclusterprefixpool
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: validation.globalinclusterprefixpool.ipam.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ipam.cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha2
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
- DELETE
|
||||
resources:
|
||||
- globalinclusterprefixpools
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: capi-ipam-in-cluster-webhook-service
|
||||
@@ -1014,3 +1411,25 @@ webhooks:
|
||||
resources:
|
||||
- inclusterippools
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: capi-ipam-in-cluster-webhook-service
|
||||
namespace: capi-ipam-in-cluster-system
|
||||
path: /validate-ipam-cluster-x-k8s-io-v1alpha2-inclusterprefixpool
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: validation.inclusterprefixpool.ipam.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ipam.cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha2
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
- DELETE
|
||||
resources:
|
||||
- inclusterprefixpools
|
||||
sideEffects: None
|
||||
@@ -7,3 +7,6 @@ releaseSeries:
|
||||
- major: 1
|
||||
minor: 0
|
||||
contract: v1beta1
|
||||
- major: 1
|
||||
minor: 1
|
||||
contract: v1beta2
|
||||
@@ -8,5 +8,5 @@ renames the ConfigMap the old and the new one coexist for the length of the
|
||||
release, so a selector without this label matches both and the reconcile fails.
|
||||
*/}}
|
||||
{{- define "capi-providers-ipam-in-cluster.version" -}}
|
||||
v1.0.3-ipam-in-cluster
|
||||
v1.1.1-ipam-in-cluster
|
||||
{{- end -}}
|
||||
@@ -8,9 +8,8 @@ spec:
|
||||
# Who needs this, and why it is not in a KubeVirt install: see the dependsOn
|
||||
# edge in packages/core/platform/sources/capi-provider-infra-proxmox.yaml.
|
||||
#
|
||||
# v1.0.x, not v1.1: both serve InClusterIPPool v1alpha2, but v1.1 moves to the
|
||||
# v1beta2 contract and its IPAddressClaim API, while capmox v0.7, the only
|
||||
# consumer here, is a v1beta1-contract provider. Move the two together.
|
||||
# v1.1.x declares the v1beta2 contract, which capmox v0.9 needs (it is built
|
||||
# against v1.1.0). It needs capi-providers-core >= v1.11.
|
||||
version: {{ include "capi-providers-ipam-in-cluster.version" . }}
|
||||
fetchConfig:
|
||||
selector:
|
||||
|
||||
Reference in new issue
Block a user