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

feat(helm): update longhorn ( 1.5.5 → 1.7.2 ) #971

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bot-akira[bot]
Copy link
Contributor

@bot-akira bot-akira bot commented Feb 16, 2024

This PR contains the following updates:

Package Update Change
longhorn (source) minor 1.5.5 -> 1.7.2

Release Notes

longhorn/charts (longhorn)

v1.7.2

Compare Source

Longhorn is a distributed block storage system for Kubernetes.

v1.7.1

Compare Source

Longhorn is a distributed block storage system for Kubernetes.

v1.7.0

Compare Source

Longhorn is a distributed block storage system for Kubernetes.

v1.6.3

Compare Source

Longhorn is a distributed block storage system for Kubernetes.

v1.6.2

Compare Source

Longhorn is a distributed block storage system for Kubernetes.

v1.6.1

Compare Source

Longhorn is a distributed block storage system for Kubernetes.

v1.6.0

Compare Source

Longhorn is a distributed block storage system for Kubernetes.


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 has been generated by Renovate Bot.

@bot-akira
Copy link
Contributor Author

bot-akira bot commented Feb 16, 2024

--- HelmRelease: longhorn-system/longhorn ConfigMap: longhorn-system/longhorn-default-setting

+++ HelmRelease: longhorn-system/longhorn ConfigMap: longhorn-system/longhorn-default-setting

@@ -11,7 +11,9 @@

 data:
   default-setting.yaml: |-
     backup-target: nfs://192.168.69.69:/mnt/ThiccBoi/k3s
     backup-target-credential-secret: longhorn-backup
     default-replica-count: 1
     default-longhorn-static-storage-class: longhorn
+    priority-class: longhorn-critical
+    disable-revision-counter: true
 
--- HelmRelease: longhorn-system/longhorn ConfigMap: longhorn-system/longhorn-storageclass

+++ HelmRelease: longhorn-system/longhorn ConfigMap: longhorn-system/longhorn-storageclass

@@ -24,7 +24,9 @@

       numberOfReplicas: "1"
       staleReplicaTimeout: "30"
       fromBackup: ""
       fsType: "ext4"
       dataLocality: "disabled"
       unmapMarkSnapChainRemoved: "ignored"
+      disableRevisionCounter: "true"
+      dataEngine: "v1"
 
--- HelmRelease: longhorn-system/longhorn ClusterRole: longhorn-system/longhorn-role

+++ HelmRelease: longhorn-system/longhorn ClusterRole: longhorn-system/longhorn-role

@@ -94,12 +94,13 @@

   - volumes/status
   - engines
   - engines/status
   - replicas
   - replicas/status
   - settings
+  - settings/status
   - engineimages
   - engineimages/status
   - nodes
   - nodes/status
   - instancemanagers
   - instancemanagers/status
@@ -128,12 +129,14 @@

   - systembackups
   - systembackups/status
   - systemrestores
   - systemrestores/status
   - volumeattachments
   - volumeattachments/status
+  - backupbackingimages
+  - backupbackingimages/status
   verbs:
   - '*'
 - apiGroups:
   - coordination.k8s.io
   resources:
   - leases
--- HelmRelease: longhorn-system/longhorn Service: longhorn-system/longhorn-conversion-webhook

+++ HelmRelease: longhorn-system/longhorn Service: longhorn-system/longhorn-conversion-webhook

@@ -9,12 +9,12 @@

     app: longhorn-conversion-webhook
   name: longhorn-conversion-webhook
   namespace: longhorn-system
 spec:
   type: ClusterIP
   selector:
-    app: longhorn-manager
+    longhorn.io/conversion-webhook: longhorn-conversion-webhook
   ports:
   - name: conversion-webhook
     port: 9501
     targetPort: conversion-wh
 
--- HelmRelease: longhorn-system/longhorn Service: longhorn-system/longhorn-admission-webhook

+++ HelmRelease: longhorn-system/longhorn Service: longhorn-system/longhorn-admission-webhook

@@ -9,12 +9,12 @@

     app: longhorn-admission-webhook
   name: longhorn-admission-webhook
   namespace: longhorn-system
 spec:
   type: ClusterIP
   selector:
-    app: longhorn-manager
+    longhorn.io/admission-webhook: longhorn-admission-webhook
   ports:
   - name: admission-webhook
     port: 9502
     targetPort: admission-wh
 
--- HelmRelease: longhorn-system/longhorn Service: longhorn-system/longhorn-recovery-backend

+++ HelmRelease: longhorn-system/longhorn Service: longhorn-system/longhorn-recovery-backend

@@ -9,12 +9,12 @@

     app: longhorn-recovery-backend
   name: longhorn-recovery-backend
   namespace: longhorn-system
 spec:
   type: ClusterIP
   selector:
-    app: longhorn-manager
+    longhorn.io/recovery-backend: longhorn-recovery-backend
   ports:
   - name: recovery-backend
     port: 9503
     targetPort: recov-backend
 
--- HelmRelease: longhorn-system/longhorn Service: longhorn-system/longhorn-engine-manager

+++ HelmRelease: longhorn-system/longhorn Service: longhorn-system/longhorn-engine-manager

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

----
-apiVersion: v1
-kind: Service
-metadata:
-  labels:
-    app.kubernetes.io/name: longhorn
-    app.kubernetes.io/managed-by: Helm
-    app.kubernetes.io/instance: longhorn
-  name: longhorn-engine-manager
-  namespace: longhorn-system
-spec:
-  clusterIP: None
-  selector:
-    longhorn.io/component: instance-manager
-    longhorn.io/instance-manager-type: engine
-
--- HelmRelease: longhorn-system/longhorn Service: longhorn-system/longhorn-replica-manager

+++ HelmRelease: longhorn-system/longhorn Service: longhorn-system/longhorn-replica-manager

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

----
-apiVersion: v1
-kind: Service
-metadata:
-  labels:
-    app.kubernetes.io/name: longhorn
-    app.kubernetes.io/managed-by: Helm
-    app.kubernetes.io/instance: longhorn
-  name: longhorn-replica-manager
-  namespace: longhorn-system
-spec:
-  clusterIP: None
-  selector:
-    longhorn.io/component: instance-manager
-    longhorn.io/instance-manager-type: replica
-
--- HelmRelease: longhorn-system/longhorn DaemonSet: longhorn-system/longhorn-manager

+++ HelmRelease: longhorn-system/longhorn DaemonSet: longhorn-system/longhorn-manager

@@ -20,34 +20,35 @@

         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/instance: longhorn
         app: longhorn-manager
     spec:
       containers:
       - name: longhorn-manager
-        image: longhornio/longhorn-manager:v1.5.5
+        image: longhornio/longhorn-manager:v1.7.2
         imagePullPolicy: IfNotPresent
         securityContext:
           privileged: true
         command:
         - longhorn-manager
         - -d
         - daemon
         - --engine-image
-        - longhornio/longhorn-engine:v1.5.5
+        - longhornio/longhorn-engine:v1.7.2
         - --instance-manager-image
-        - longhornio/longhorn-instance-manager:v1.5.5
+        - longhornio/longhorn-instance-manager:v1.7.2
         - --share-manager-image
-        - longhornio/longhorn-share-manager:v1.5.5
+        - longhornio/longhorn-share-manager:v1.7.2
         - --backing-image-manager-image
-        - longhornio/backing-image-manager:v1.5.5
+        - longhornio/backing-image-manager:v1.7.2
         - --support-bundle-manager-image
-        - longhornio/support-bundle-kit:v0.0.37
+        - longhornio/support-bundle-kit:v0.0.45
         - --manager-image
-        - longhornio/longhorn-manager:v1.5.5
+        - longhornio/longhorn-manager:v1.7.2
         - --service-account
         - longhorn-service-account
+        - --upgrade-version-check
         ports:
         - containerPort: 9500
           name: manager
         - containerPort: 9501
           name: conversion-wh
         - containerPort: 9502
@@ -57,35 +58,51 @@

         readinessProbe:
           httpGet:
             path: /v1/healthz
             port: 9501
             scheme: HTTPS
         volumeMounts:
+        - name: boot
+          mountPath: /host/boot/
         - name: dev
           mountPath: /host/dev/
         - name: proc
           mountPath: /host/proc/
         - name: longhorn
           mountPath: /var/lib/longhorn/
           mountPropagation: Bidirectional
         - name: longhorn-grpc-tls
           mountPath: /tls-files/
         env:
+        - name: POD_NAME
+          valueFrom:
+            fieldRef:
+              fieldPath: metadata.name
         - name: POD_NAMESPACE
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
         - name: POD_IP
           valueFrom:
             fieldRef:
               fieldPath: status.podIP
         - name: NODE_NAME
           valueFrom:
             fieldRef:
               fieldPath: spec.nodeName
+      - name: pre-pull-share-manager-image
+        imagePullPolicy: IfNotPresent
+        image: longhornio/longhorn-share-manager:v1.7.2
+        command:
+        - sh
+        - -c
+        - echo share-manager image pulled && sleep infinity
       volumes:
+      - name: boot
+        hostPath:
+          path: /boot/
       - name: dev
         hostPath:
           path: /dev/
       - name: proc
         hostPath:
           path: /proc/
@@ -93,11 +110,12 @@

         hostPath:
           path: /var/lib/longhorn/
       - name: longhorn-grpc-tls
         secret:
           secretName: longhorn-grpc-tls
           optional: true
+      priorityClassName: longhorn-critical
       serviceAccountName: longhorn-service-account
   updateStrategy:
     rollingUpdate:
       maxUnavailable: 100%
 
--- HelmRelease: longhorn-system/longhorn Deployment: longhorn-system/longhorn-driver-deployer

+++ HelmRelease: longhorn-system/longhorn Deployment: longhorn-system/longhorn-driver-deployer

@@ -20,28 +20,28 @@

         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/instance: longhorn
         app: longhorn-driver-deployer
     spec:
       initContainers:
       - name: wait-longhorn-manager
-        image: longhornio/longhorn-manager:v1.5.5
+        image: longhornio/longhorn-manager:v1.7.2
         command:
         - sh
         - -c
         - while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1)
           != "200" ]; do echo waiting; sleep 2; done
       containers:
       - name: longhorn-driver-deployer
-        image: longhornio/longhorn-manager:v1.5.5
+        image: longhornio/longhorn-manager:v1.7.2
         imagePullPolicy: IfNotPresent
         command:
         - longhorn-manager
         - -d
         - deploy-driver
         - --manager-image
-        - longhornio/longhorn-manager:v1.5.5
+        - longhornio/longhorn-manager:v1.7.2
         - --manager-url
         - http://longhorn-backend:9500/v1
         env:
         - name: POD_NAMESPACE
           valueFrom:
             fieldRef:
@@ -52,21 +52,22 @@

               fieldPath: spec.nodeName
         - name: SERVICE_ACCOUNT
           valueFrom:
             fieldRef:
               fieldPath: spec.serviceAccountName
         - name: CSI_ATTACHER_IMAGE
-          value: longhornio/csi-attacher:v4.4.2
+          value: longhornio/csi-attacher:v4.7.0
         - name: CSI_PROVISIONER_IMAGE
-          value: longhornio/csi-provisioner:v3.6.2
+          value: longhornio/csi-provisioner:v4.0.1-20241007
         - name: CSI_NODE_DRIVER_REGISTRAR_IMAGE
-          value: longhornio/csi-node-driver-registrar:v2.9.2
+          value: longhornio/csi-node-driver-registrar:v2.12.0
         - name: CSI_RESIZER_IMAGE
-          value: longhornio/csi-resizer:v1.9.2
+          value: longhornio/csi-resizer:v1.12.0
         - name: CSI_SNAPSHOTTER_IMAGE
-          value: longhornio/csi-snapshotter:v6.3.2
+          value: longhornio/csi-snapshotter:v7.0.2-20241007
         - name: CSI_LIVENESS_PROBE_IMAGE
-          value: longhornio/livenessprobe:v2.12.0
+          value: longhornio/livenessprobe:v2.14.0
+      priorityClassName: longhorn-critical
       serviceAccountName: longhorn-service-account
       securityContext:
         runAsUser: 0
 
--- HelmRelease: longhorn-system/longhorn Deployment: longhorn-system/longhorn-ui

+++ HelmRelease: longhorn-system/longhorn Deployment: longhorn-system/longhorn-ui

@@ -19,12 +19,13 @@

       labels:
         app.kubernetes.io/name: longhorn
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/instance: longhorn
         app: longhorn-ui
     spec:
+      serviceAccountName: longhorn-ui-service-account
       affinity:
         podAntiAffinity:
           preferredDuringSchedulingIgnoredDuringExecution:
           - weight: 1
             podAffinityTerm:
               labelSelector:
@@ -33,13 +34,13 @@

                   operator: In
                   values:
                   - longhorn-ui
               topologyKey: kubernetes.io/hostname
       containers:
       - name: longhorn-ui
-        image: longhornio/longhorn-ui:v1.5.5
+        image: longhornio/longhorn-ui:v1.7.2
         imagePullPolicy: IfNotPresent
         volumeMounts:
         - name: nginx-cache
           mountPath: /var/cache/nginx/
         - name: nginx-config
           mountPath: /var/config/nginx/
@@ -57,7 +58,8 @@

       - emptyDir: {}
         name: nginx-cache
       - emptyDir: {}
         name: nginx-config
       - emptyDir: {}
         name: var-run
+      priorityClassName: longhorn-critical
 
--- HelmRelease: longhorn-system/longhorn Job: longhorn-system/longhorn-post-upgrade

+++ HelmRelease: longhorn-system/longhorn Job: longhorn-system/longhorn-post-upgrade

@@ -21,19 +21,20 @@

         app.kubernetes.io/name: longhorn
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/instance: longhorn
     spec:
       containers:
       - name: longhorn-post-upgrade
-        image: longhornio/longhorn-manager:v1.5.5
+        image: longhornio/longhorn-manager:v1.7.2
         imagePullPolicy: IfNotPresent
         command:
         - longhorn-manager
         - post-upgrade
         env:
         - name: POD_NAMESPACE
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
       restartPolicy: OnFailure
+      priorityClassName: longhorn-critical
       serviceAccountName: longhorn-service-account
 
--- HelmRelease: longhorn-system/longhorn Job: longhorn-system/longhorn-pre-upgrade

+++ HelmRelease: longhorn-system/longhorn Job: longhorn-system/longhorn-pre-upgrade

@@ -21,19 +21,28 @@

         app.kubernetes.io/name: longhorn
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/instance: longhorn
     spec:
       containers:
       - name: longhorn-pre-upgrade
-        image: longhornio/longhorn-manager:v1.5.5
+        image: longhornio/longhorn-manager:v1.7.2
         imagePullPolicy: IfNotPresent
+        securityContext:
+          privileged: true
         command:
         - longhorn-manager
         - pre-upgrade
+        volumeMounts:
+        - name: proc
+          mountPath: /host/proc/
         env:
         - name: POD_NAMESPACE
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
+      volumes:
+      - name: proc
+        hostPath:
+          path: /proc/
       restartPolicy: OnFailure
       serviceAccountName: longhorn-service-account
 
--- HelmRelease: longhorn-system/longhorn Job: longhorn-system/longhorn-uninstall

+++ HelmRelease: longhorn-system/longhorn Job: longhorn-system/longhorn-uninstall

@@ -21,20 +21,21 @@

         app.kubernetes.io/name: longhorn
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/instance: longhorn
     spec:
       containers:
       - name: longhorn-uninstall
-        image: longhornio/longhorn-manager:v1.5.5
+        image: longhornio/longhorn-manager:v1.7.2
         imagePullPolicy: IfNotPresent
         command:
         - longhorn-manager
         - uninstall
         - --force
         env:
         - name: LONGHORN_NAMESPACE
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
       restartPolicy: Never
+      priorityClassName: longhorn-critical
       serviceAccountName: longhorn-service-account
 
--- HelmRelease: longhorn-system/longhorn PriorityClass: longhorn-system/longhorn-critical

+++ HelmRelease: longhorn-system/longhorn PriorityClass: longhorn-system/longhorn-critical

@@ -0,0 +1,15 @@

+---
+apiVersion: scheduling.k8s.io/v1
+kind: PriorityClass
+metadata:
+  name: longhorn-critical
+  labels:
+    app.kubernetes.io/name: longhorn
+    app.kubernetes.io/managed-by: Helm
+    app.kubernetes.io/instance: longhorn
+description: Ensure Longhorn pods have the highest priority to prevent any unexpected
+  eviction by the Kubernetes scheduler under node pressure
+globalDefault: false
+preemptionPolicy: PreemptLowerPriority
+value: 1000000000
+
--- HelmRelease: longhorn-system/longhorn ServiceAccount: longhorn-system/longhorn-ui-service-account

+++ HelmRelease: longhorn-system/longhorn ServiceAccount: longhorn-system/longhorn-ui-service-account

@@ -0,0 +1,11 @@

+---
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+  name: longhorn-ui-service-account
+  namespace: longhorn-system
+  labels:
+    app.kubernetes.io/name: longhorn
+    app.kubernetes.io/managed-by: Helm
+    app.kubernetes.io/instance: longhorn
+

@bot-akira
Copy link
Contributor Author

bot-akira bot commented Feb 16, 2024

--- kubernetes/apps/longhorn/longhorn-system/app Kustomization: flux-system/longhorn HelmRelease: longhorn-system/longhorn

+++ kubernetes/apps/longhorn/longhorn-system/app Kustomization: flux-system/longhorn HelmRelease: longhorn-system/longhorn

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

       chart: longhorn
       interval: 5m
       sourceRef:
         kind: HelmRepository
         name: longhorn
         namespace: flux-system
-      version: 1.5.5
+      version: 1.7.2
   interval: 5m
   releaseName: longhorn
   values:
     defaultSettings:
       backupTarget: nfs://192.168.69.69:/mnt/ThiccBoi/k3s
       backupTargetCredentialSecret: longhorn-backup

@axeII
Copy link
Owner

axeII commented Feb 16, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@bot-akira bot-akira bot changed the title feat(helm): update longhorn ( 1.5.3 → 1.6.0 ) feat(helm): update longhorn ( 1.5.4 → 1.6.0 ) Mar 10, 2024
@bot-akira bot-akira bot changed the title feat(helm): update longhorn ( 1.5.4 → 1.6.0 ) feat(helm): update longhorn ( 1.5.4 → 1.6.1 ) Mar 29, 2024
@bot-akira bot-akira bot changed the title feat(helm): update longhorn ( 1.5.4 → 1.6.1 ) feat(helm): update longhorn ( 1.5.5 → 1.6.1 ) Apr 23, 2024
@bot-akira bot-akira bot changed the title feat(helm): update longhorn ( 1.5.5 → 1.6.1 ) feat(helm): update longhorn ( 1.5.5 → 1.6.2 ) May 23, 2024
@bot-akira bot-akira bot changed the title feat(helm): update longhorn ( 1.5.5 → 1.6.2 ) feat(helm): update longhorn ( 1.5.5 → 1.7.0 ) Aug 20, 2024
@axeII axeII added the hold label Aug 26, 2024
@bot-akira bot-akira bot changed the title feat(helm): update longhorn ( 1.5.5 → 1.7.0 ) feat(helm): update longhorn ( 1.5.5 → 1.7.1 ) Sep 4, 2024
@bot-akira bot-akira bot changed the title feat(helm): update longhorn ( 1.5.5 → 1.7.1 ) feat(helm): update longhorn ( 1.5.5 → 1.7.2 ) Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant