Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from kubebuilder v3.10.0 to v3.11.0 #219

Merged
merged 4 commits into from
Dec 29, 2023
Merged

Conversation

int128
Copy link
Owner

@int128 int128 commented Dec 10, 2023

This comment has been minimized.

@int128 int128 closed this Dec 10, 2023
@int128 int128 reopened this Dec 10, 2023
@int128 int128 marked this pull request as ready for review December 10, 2023 11:20

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

Copy link
Contributor

diff

  • config/default/apiextensions.k8s.io_v1_customresourcedefinition_proxies.ktunnels.int128.github.io.yaml
  • config/default/apiextensions.k8s.io_v1_customresourcedefinition_tunnels.ktunnels.int128.github.io.yaml
  • config/default/apps_v1_deployment_ktunnels-controller-manager.yaml
  • config/default/rbac.authorization.k8s.io_v1_clusterrole_ktunnels-manager-role.yaml

config/default/apiextensions.k8s.io_v1_customresourcedefinition_proxies.ktunnels.int128.github.io.yaml

--- a/tmp/kustomize-action-llXuta/config/default/apiextensions.k8s.io_v1_customresourcedefinition_proxies.ktunnels.int128.github.io.yaml
+++ b/tmp/kustomize-action-IpcULu/config/default/apiextensions.k8s.io_v1_customresourcedefinition_proxies.ktunnels.int128.github.io.yaml
@@ -2,8 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.11.3
-  creationTimestamp: null
+    controller-gen.kubebuilder.io/version: v0.12.0
   name: proxies.ktunnels.int128.github.io
 spec:
   group: ktunnels.int128.github.io
@@ -64,7 +63,8 @@ spec:
                                   defined in spec.resourceClaims, that are used by
                                   this container. \n This is an alpha field and requires
                                   enabling the DynamicResourceAllocation feature gate.
-                                  \n This field is immutable."
+                                  \n This field is immutable. It can only be set for
+                                  containers."
                                 items:
                                   description: ResourceClaim references one entry
                                     in PodSpec.ResourceClaims.
@@ -103,7 +103,8 @@ spec:
                                   of compute resources required. If Requests is omitted
                                   for a container, it defaults to Limits if that is
                                   explicitly specified, otherwise to an implementation-defined
-                                  value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
+                                  value. Requests cannot exceed Limits. More info:
+                                  https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
                                 type: object
                             type: object
                         type: object

config/default/apiextensions.k8s.io_v1_customresourcedefinition_tunnels.ktunnels.int128.github.io.yaml

--- a/tmp/kustomize-action-llXuta/config/default/apiextensions.k8s.io_v1_customresourcedefinition_tunnels.ktunnels.int128.github.io.yaml
+++ b/tmp/kustomize-action-IpcULu/config/default/apiextensions.k8s.io_v1_customresourcedefinition_tunnels.ktunnels.int128.github.io.yaml
@@ -2,8 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.11.3
-  creationTimestamp: null
+    controller-gen.kubebuilder.io/version: v0.12.0
   name: tunnels.ktunnels.int128.github.io
 spec:
   group: ktunnels.int128.github.io

config/default/apps_v1_deployment_ktunnels-controller-manager.yaml

--- a/tmp/kustomize-action-llXuta/config/default/apps_v1_deployment_ktunnels-controller-manager.yaml
+++ b/tmp/kustomize-action-IpcULu/config/default/apps_v1_deployment_ktunnels-controller-manager.yaml
@@ -23,29 +23,13 @@ spec:
       labels:
         control-plane: controller-manager
     spec:
-      affinity:
-        nodeAffinity:
-          requiredDuringSchedulingIgnoredDuringExecution:
-            nodeSelectorTerms:
-            - matchExpressions:
-              - key: kubernetes.io/arch
-                operator: In
-                values:
-                - amd64
-                - arm64
-                - ppc64le
-                - s390x
-              - key: kubernetes.io/os
-                operator: In
-                values:
-                - linux
       containers:
       - args:
         - --secure-listen-address=0.0.0.0:8443
         - --upstream=http://127.0.0.1:8080/
         - --logtostderr=true
         - --v=0
-        image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.1
+        image: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.1
         name: kube-rbac-proxy
         ports:
         - containerPort: 8443

config/default/rbac.authorization.k8s.io_v1_clusterrole_ktunnels-manager-role.yaml

--- a/tmp/kustomize-action-llXuta/config/default/rbac.authorization.k8s.io_v1_clusterrole_ktunnels-manager-role.yaml
+++ b/tmp/kustomize-action-IpcULu/config/default/rbac.authorization.k8s.io_v1_clusterrole_ktunnels-manager-role.yaml
@@ -1,7 +1,6 @@
 apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRole
 metadata:
-  creationTimestamp: null
   name: ktunnels-manager-role
 rules:
 - apiGroups:

@@ -233,7 +231,7 @@ func (r *ProxyReconciler) SetupWithManager(mgr ctrl.Manager) error {
Watches(
// watch tunnel(s) of a proxy
// https://book.kubebuilder.io/reference/watching-resources/externally-managed.html
&source.Kind{Type: &ktunnelsv1.Tunnel{}},
&ktunnelsv1.Tunnel{},
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@int128 int128 merged commit 89a0ca1 into main Dec 29, 2023
7 checks passed
@int128 int128 deleted the upgrade-kubebuilder-v3.11.0 branch December 29, 2023 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant