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

chore(deps): update helm release snapshot-controller to v4 #1412

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 11, 2024

This PR contains the following updates:

Package Update Change
snapshot-controller major 2.2.2 -> 4.0.1

Release Notes

piraeusdatastore/helm-charts (snapshot-controller)

v4.0.1

Compare Source

Deploys a Snapshot Controller in a cluster. Snapshot Controllers are often bundled with the Kubernetes distribution, this chart is meant for cases where it is not.

v4.0.0

Compare Source

Deploys a Snapshot Controller in a cluster. Snapshot Controllers are often bundled with the Kubernetes distribution, this chart is meant for cases where it is not.

v3.0.6

Compare Source

Deploys a Snapshot Controller in a cluster. Snapshot Controllers are often bundled with the Kubernetes distribution, this chart is meant for cases where it is not. Also deploys the Snapshot Validation Webhook and configures your cluster to validate every VolumeSnapshot and VolumeSnapshotContent resource by sending it to the webhook.

v3.0.5

Compare Source

Deploys a Snapshot Controller in a cluster. Snapshot Controllers are often bundled with the Kubernetes distribution, this chart is meant for cases where it is not. Also deploys the Snapshot Validation Webhook and configures your cluster to validate every VolumeSnapshot and VolumeSnapshotContent resource by sending it to the webhook.

v3.0.4

Compare Source

Deploys a Snapshot Controller in a cluster. Snapshot Controllers are often bundled with the Kubernetes distribution, this chart is meant for cases where it is not. Also deploys the Snapshot Validation Webhook and configures your cluster to validate every VolumeSnapshot and VolumeSnapshotContent resource by sending it to the webhook.

v3.0.3

Compare Source

Deploys a Snapshot Controller in a cluster. Snapshot Controllers are often bundled with the Kubernetes distribution, this chart is meant for cases where it is not. Also deploys the Snapshot Validation Webhook and configures your cluster to validate every VolumeSnapshot and VolumeSnapshotContent resource by sending it to the webhook.

v3.0.2

Compare Source

Deploys a Snapshot Controller in a cluster. Snapshot Controllers are often bundled with the Kubernetes distribution, this chart is meant for cases where it is not. Also deploys the Snapshot Validation Webhook and configures your cluster to validate every VolumeSnapshot and VolumeSnapshotContent resource by sending it to the webhook.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) December 11, 2024 16:38
Copy link

github-actions bot commented Dec 11, 2024

--- . Kustomization: flux-system/flux-system HelmRelease: storage/snapshot-controller

+++ . Kustomization: flux-system/flux-system HelmRelease: storage/snapshot-controller

@@ -6,13 +6,13 @@

   namespace: storage
 spec:
   interval: 1h
   chart:
     spec:
       chart: snapshot-controller
-      version: 2.2.2
+      version: 4.0.1
       sourceRef:
         kind: HelmRepository
         name: piraeus-charts
         namespace: storage
   upgrade:
     crds: CreateReplace

Copy link

github-actions bot commented Dec 11, 2024

--- . HelmRelease: storage/snapshot-controller ValidatingWebhookConfiguration: storage/snapshot-validation-webhook

+++ . HelmRelease: storage/snapshot-controller ValidatingWebhookConfiguration: storage/snapshot-validation-webhook

@@ -1,64 +0,0 @@

----
-apiVersion: admissionregistration.k8s.io/v1
-kind: ValidatingWebhookConfiguration
-metadata:
-  name: snapshot-validation-webhook
-  labels:
-    app.kubernetes.io/name: snapshot-validation-webhook
-    app.kubernetes.io/instance: snapshot-controller
-    app.kubernetes.io/managed-by: Helm
-webhooks:
-- name: snapshot-validation-webhook.snapshot.storage.k8s.io
-  rules:
-  - apiGroups:
-    - snapshot.storage.k8s.io
-    apiVersions:
-    - v1
-    - v1beta1
-    operations:
-    - CREATE
-    - UPDATE
-    resources:
-    - volumesnapshots
-    - volumesnapshotclasses
-    - volumesnapshotcontents
-    scope: '*'
-  clientConfig:
-    service:
-      namespace: storage
-      name: snapshot-validation-webhook
-      path: /volumesnapshot
-    caBundle: LS0tLS1CR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XOXVMWGRsClltaHZiMnN1YzNSdmNtRm5aUzV6ZG1Nd0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFFUGMxNDF5Sm1mZmNacHYKa3dBU0Rlc3d4bU9LZ3lVdnovTE1BTWVPdWxHYk5WMmEwVHBaS0VUUENHSjI4ZU1Xdm81S0JnMlVyaEZTN1NGZApVRXNTRm5XT1ZuQjhFYUxKL1FRL0pMRVl3R0dzUS9wdFU5OUI0OTRsQThkTDY0YkdsQ1JaR2FWQjFvMWlQcDhYClEzNDkreFh5ZjVOODFEcndlRE5GWkdIYXpPNnBWYS83bzdjRXJtR0RYZitlV1NtdU5SLytaRzV0czcwaGh4Y0QKSUlMWGlBV25tUFBvZ1ArRjJTQ0wwOHIyNGgxS2VySE8xUzFSa3d6eVkzeUxjK3Z3SFpQRXlOTXRVVTlOdWRCOApEbEJNenkxbFFzUUhIbFlzM0Ntc1kzTmNNSkh0L3lMTXAwclJYeEN6MlhEZW9JQ2NtMFpsWjFNU1g2bllTWWd3CkZIa3pnTHM9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
-  admissionReviewVersions:
-  - v1
-  - v1beta1
-  sideEffects: None
-  failurePolicy: Fail
-  timeoutSeconds: 2
-- name: snapshot-validation-webhook.groupsnapshot.storage.k8s.io
-  rules:
-  - apiGroups:
-    - groupsnapshot.storage.k8s.io
-    apiVersions:
-    - v1alpha1
-    operations:
-    - CREATE
-    - UPDATE
-    resources:
-    - volumegroupsnapshots
-    - volumegroupsnapshotcontents
-    - volumegroupsnapshotclasses
-    scope: '*'
-  clientConfig:
-    service:
-      namespace: storage
-      name: snapshot-validation-webhook
-      path: /volumegroupsnapshot
-    caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURZVENDQWttZ0F3SUJBZ0lRZXRQd2RUTElTaVlqbWo5enc1S3dmREFOQmdrcWhraUc5dzBCQVFzRkFEQXkKTVRBd0xnWURWUVFERXlkemJtRndjMmh2ZEM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wVHBaS0VUUENHSjI4ZU1Xdm81S0JnMlVyaEZTN1NGZApVRXNTRm5XT1ZuQjhFYUxKL1FRL0pMRVl3R0dzUS9wdFU5OUI0OTRsQThkTDY0YkdsQ1JaR2FWQjFvMWlQcDhYClEzNDkreFh5ZjVOODFEcndlRE5GWkdIYXpPNnBWYS83bzdjRXJtR0RYZitlV1NtdU5SLytaRzV0czcwaGh4Y0QKSUlMWGlBV25tUFBvZ1ArRjJTQ0wwOHIyNGgxS2VySE8xUzFSa3d6eVkzeUxjK3Z3SFpQRXlOTXRVVTlOdWRCOApEbEJNenkxbFFzUUhIbFlzM0Ntc1kzTmNNSkh0L3lMTXAwclJYeEN6MlhEZW9JQ2NtMFpsWjFNU1g2bllTWWd3CkZIa3pnTHM9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
-  admissionReviewVersions:
-  - v1
-  - v1beta1
-  sideEffects: None
-  failurePolicy: Fail
-  timeoutSeconds: 2
-
--- . HelmRelease: storage/snapshot-controller ServiceAccount: storage/snapshot-validation-webhook

+++ . HelmRelease: storage/snapshot-controller ServiceAccount: storage/snapshot-validation-webhook

@@ -1,10 +0,0 @@

----
-apiVersion: v1
-kind: ServiceAccount
-metadata:
-  name: snapshot-validation-webhook
-  labels:
-    app.kubernetes.io/name: snapshot-validation-webhook
-    app.kubernetes.io/instance: snapshot-controller
-    app.kubernetes.io/managed-by: Helm
-
--- . HelmRelease: storage/snapshot-controller Service: storage/snapshot-validation-webhook

+++ . HelmRelease: storage/snapshot-controller Service: storage/snapshot-validation-webhook

@@ -1,20 +0,0 @@

----
-apiVersion: v1
-kind: Service
-metadata:
-  name: snapshot-validation-webhook
-  labels:
-    app.kubernetes.io/name: snapshot-validation-webhook
-    app.kubernetes.io/instance: snapshot-controller
-    app.kubernetes.io/managed-by: Helm
-spec:
-  type: ClusterIP
-  ports:
-  - port: 443
-    targetPort: https
-    protocol: TCP
-    name: https
-  selector:
-    app.kubernetes.io/name: snapshot-validation-webhook
-    app.kubernetes.io/instance: snapshot-controller
-
--- . HelmRelease: storage/snapshot-controller Role: storage/snapshot-controller

+++ . HelmRelease: storage/snapshot-controller Role: storage/snapshot-controller

@@ -1,11 +1,12 @@

 ---
 kind: Role
 apiVersion: rbac.authorization.k8s.io/v1
 metadata:
   name: snapshot-controller
+  namespace: storage
 rules:
 - apiGroups:
   - coordination.k8s.io
   resources:
   - leases
   verbs:
--- . HelmRelease: storage/snapshot-controller RoleBinding: storage/snapshot-controller

+++ . HelmRelease: storage/snapshot-controller RoleBinding: storage/snapshot-controller

@@ -1,11 +1,12 @@

 ---
 kind: RoleBinding
 apiVersion: rbac.authorization.k8s.io/v1
 metadata:
   name: snapshot-controller
+  namespace: storage
 subjects:
 - kind: ServiceAccount
   name: snapshot-controller
 roleRef:
   kind: Role
   name: snapshot-controller
--- . HelmRelease: storage/snapshot-controller ClusterRoleBinding: storage/snapshot-validation-webhook

+++ . HelmRelease: storage/snapshot-controller ClusterRoleBinding: storage/snapshot-validation-webhook

@@ -1,14 +0,0 @@

----
-kind: ClusterRoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
-  name: snapshot-validation-webhook
-subjects:
-- kind: ServiceAccount
-  name: snapshot-validation-webhook
-  namespace: storage
-roleRef:
-  kind: ClusterRole
-  name: snapshot-validation-webhook
-  apiGroup: rbac.authorization.k8s.io
-
--- . HelmRelease: storage/snapshot-controller Deployment: storage/snapshot-controller

+++ . HelmRelease: storage/snapshot-controller Deployment: storage/snapshot-controller

@@ -1,11 +1,12 @@

 ---
 apiVersion: apps/v1
 kind: Deployment
 metadata:
   name: snapshot-controller
+  namespace: storage
   labels:
     app.kubernetes.io/name: snapshot-controller
     app.kubernetes.io/instance: snapshot-controller
     app.kubernetes.io/managed-by: Helm
 spec:
   replicas: 1
@@ -28,22 +29,32 @@

           capabilities:
             drop:
             - ALL
           readOnlyRootFilesystem: true
           runAsNonRoot: true
           runAsUser: 1000
-        image: registry.k8s.io/sig-storage/snapshot-controller:v7.0.2
+        image: registry.k8s.io/sig-storage/snapshot-controller:v8.2.0
         imagePullPolicy: IfNotPresent
         args:
         - --http-endpoint=:8080
         - --leader-election=true
         - --leader-election-namespace=$(NAMESPACE)
         ports:
         - name: http
           containerPort: 8080
           protocol: TCP
+        readinessProbe:
+          httpGet:
+            port: http
+            path: /healthz/leader-election
+            scheme: HTTP
+        livenessProbe:
+          httpGet:
+            port: http
+            path: /healthz/leader-election
+            scheme: HTTP
         env:
         - name: NAMESPACE
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
         resources: {}
--- . HelmRelease: storage/snapshot-controller Deployment: storage/snapshot-validation-webhook

+++ . HelmRelease: storage/snapshot-controller Deployment: storage/snapshot-validation-webhook

@@ -1,64 +0,0 @@

----
-apiVersion: apps/v1
-kind: Deployment
-metadata:
-  name: snapshot-validation-webhook
-  labels:
-    app.kubernetes.io/name: snapshot-validation-webhook
-    app.kubernetes.io/instance: snapshot-controller
-    app.kubernetes.io/managed-by: Helm
-spec:
-  replicas: 1
-  revisionHistoryLimit: 10
-  selector:
-    matchLabels:
-      app.kubernetes.io/name: snapshot-validation-webhook
-      app.kubernetes.io/instance: snapshot-controller
-  template:
-    metadata:
-      labels:
-        app.kubernetes.io/name: snapshot-validation-webhook
-        app.kubernetes.io/instance: snapshot-controller
-    spec:
-      serviceAccountName: snapshot-validation-webhook
-      securityContext: {}
-      containers:
-      - name: snapshot-validation-webhook
-        securityContext:
-          capabilities:
-            drop:
-            - ALL
-          readOnlyRootFilesystem: true
-          runAsNonRoot: true
-          runAsUser: 1000
-        image: registry.k8s.io/sig-storage/snapshot-validation-webhook:v7.0.2
-        imagePullPolicy: IfNotPresent
-        args:
-        - --port=8443
-        - --tls-cert-file=/etc/snapshot-validation/tls.crt
-        - --tls-private-key-file=/etc/snapshot-validation/tls.key
-        ports:
-        - name: https
-          containerPort: 8443
-          protocol: TCP
-        volumeMounts:
-        - mountPath: /etc/snapshot-validation
-          name: tls-config
-        livenessProbe:
-          httpGet:
-            path: /readyz
-            port: https
-            scheme: HTTPS
-        readinessProbe:
-          httpGet:
-            path: /readyz
-            port: https
-            scheme: HTTPS
-        resources: {}
-      volumes:
-      - name: tls-config
-        secret:
-          secretName: snapshot-validation-webhook-tls
-      hostNetwork: false
-      dnsPolicy: ClusterFirst
-
--- . HelmRelease: storage/snapshot-controller ClusterRole: storage/snapshot-controller

+++ . HelmRelease: storage/snapshot-controller ClusterRole: storage/snapshot-controller

@@ -18,20 +18,12 @@

   - persistentvolumeclaims
   verbs:
   - get
   - list
   - watch
   - update
-- apiGroups:
-  - storage.k8s.io
-  resources:
-  - storageclasses
-  verbs:
-  - get
-  - list
-  - watch
 - apiGroups:
   - ''
   resources:
   - events
   verbs:
   - list
@@ -54,32 +46,77 @@

   verbs:
   - create
   - get
   - list
   - watch
   - update
+  - delete
   - patch
-  - delete
 - apiGroups:
   - snapshot.storage.k8s.io
   resources:
   - volumesnapshotcontents/status
   verbs:
   - patch
 - apiGroups:
   - snapshot.storage.k8s.io
   resources:
   - volumesnapshots
   verbs:
+  - create
   - get
   - list
   - watch
   - update
   - patch
+  - delete
 - apiGroups:
   - snapshot.storage.k8s.io
   resources:
   - volumesnapshots/status
   verbs:
   - update
   - patch
+- apiGroups:
+  - groupsnapshot.storage.k8s.io
+  resources:
+  - volumegroupsnapshotclasses
+  verbs:
+  - get
+  - list
+  - watch
+- apiGroups:
+  - groupsnapshot.storage.k8s.io
+  resources:
+  - volumegroupsnapshotcontents
+  verbs:
+  - create
+  - get
+  - list
+  - watch
+  - update
+  - delete
+  - patch
+- apiGroups:
+  - groupsnapshot.storage.k8s.io
+  resources:
+  - volumegroupsnapshotcontents/status
+  verbs:
+  - patch
+- apiGroups:
+  - groupsnapshot.storage.k8s.io
+  resources:
+  - volumegroupsnapshots
+  verbs:
+  - get
+  - list
+  - watch
+  - update
+  - patch
+- apiGroups:
+  - groupsnapshot.storage.k8s.io
+  resources:
+  - volumegroupsnapshots/status
+  verbs:
+  - update
+  - patch
 
--- . HelmRelease: storage/snapshot-controller ServiceAccount: storage/snapshot-controller

+++ . HelmRelease: storage/snapshot-controller ServiceAccount: storage/snapshot-controller

@@ -1,10 +1,11 @@

 ---
 apiVersion: v1
 kind: ServiceAccount
 metadata:
   name: snapshot-controller
+  namespace: storage
   labels:
     app.kubernetes.io/name: snapshot-controller
     app.kubernetes.io/instance: snapshot-controller
     app.kubernetes.io/managed-by: Helm
 
--- . HelmRelease: storage/snapshot-controller ClusterRole: storage/snapshot-validation-webhook

+++ . HelmRelease: storage/snapshot-controller ClusterRole: storage/snapshot-validation-webhook

@@ -1,16 +0,0 @@

----
-kind: ClusterRole
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
-  name: snapshot-validation-webhook
-rules:
-- apiGroups:
-  - snapshot.storage.k8s.io
-  - groupsnapshot.storage.k8s.io
-  resources:
-  - volumesnapshotclasses
-  - volumegroupsnapshotclasses
-  verbs:
-  - list
-  - watch
-

@renovate renovate bot force-pushed the renovate/snapshot-controller-4.x branch from 605fc91 to 2259035 Compare January 16, 2025 18:08
@bo0tzz bo0tzz closed this Jan 16, 2025
auto-merge was automatically disabled January 16, 2025 19:40

Pull request was closed

@renovate renovate bot deleted the renovate/snapshot-controller-4.x branch January 16, 2025 19:40
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