feat(helm): update longhorn ( 1.8.2 → 1.11.1 )#111
Merged
Conversation
--- kubernetes/apps/storage/longhorn/app Kustomization: flux-system/longhorn HelmRelease: storage/longhorn
+++ kubernetes/apps/storage/longhorn/app Kustomization: flux-system/longhorn HelmRelease: storage/longhorn
@@ -12,13 +12,13 @@
spec:
chart: longhorn
sourceRef:
kind: HelmRepository
name: longhorn-charts
namespace: flux-system
- version: 1.8.x
+ version: 1.11.x
install:
crds: CreateReplace
createNamespace: true
remediation:
retries: 3
interval: 5m |
--- HelmRelease: storage/longhorn ConfigMap: storage/longhorn-default-setting
+++ HelmRelease: storage/longhorn ConfigMap: storage/longhorn-default-setting
@@ -8,11 +8,11 @@
app.kubernetes.io/name: longhorn
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: longhorn
data:
default-setting.yaml: |-
create-default-disk-labeled-nodes: true
- default-replica-count: 1
- priority-class: longhorn-critical
- disable-revision-counter: true
+ default-replica-count: "1"
+ priority-class: "longhorn-critical"
+ disable-revision-counter: "{\"v1\":\"true\"}"
auto-cleanup-system-generated-snapshot: true
--- HelmRelease: storage/longhorn ClusterRole: storage/longhorn-role
+++ HelmRelease: storage/longhorn ClusterRole: storage/longhorn-role
@@ -15,24 +15,39 @@
verbs:
- '*'
- apiGroups:
- ''
resources:
- pods
+ verbs:
+ - get
+ - list
+ - watch
+ - delete
+ - deletecollection
+- apiGroups:
+ - ''
+ resources:
+ - secrets
+ - services
+ - endpoints
+ - configmaps
+ - serviceaccounts
+ - pods/log
+ verbs:
+ - get
+ - list
+ - watch
+- apiGroups:
+ - ''
+ resources:
- events
- persistentvolumes
- persistentvolumeclaims
- persistentvolumeclaims/status
- nodes
- - proxy/nodes
- - pods/log
- - secrets
- - services
- - endpoints
- - configmaps
- - serviceaccounts
verbs:
- '*'
- apiGroups:
- ''
resources:
- namespaces
@@ -42,28 +57,34 @@
- apiGroups:
- apps
resources:
- daemonsets
- statefulsets
- deployments
- verbs:
- - '*'
+ - replicasets
+ verbs:
+ - get
+ - list
+ - watch
- apiGroups:
- batch
resources:
- jobs
- cronjobs
verbs:
- - '*'
+ - get
+ - list
+ - watch
- apiGroups:
- policy
resources:
- poddisruptionbudgets
- - podsecuritypolicies
- verbs:
- - '*'
+ verbs:
+ - get
+ - list
+ - watch
- apiGroups:
- scheduling.k8s.io
resources:
- priorityclasses
verbs:
- watch
@@ -71,14 +92,16 @@
- apiGroups:
- storage.k8s.io
resources:
- storageclasses
- volumeattachments
- volumeattachments/status
+ - volumeattributesclasses
- csinodes
- csidrivers
+ - csistoragecapacities
verbs:
- '*'
- apiGroups:
- snapshot.storage.k8s.io
resources:
- volumesnapshotclasses
@@ -138,13 +161,15 @@
- '*'
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- - '*'
+ - get
+ - list
+ - watch
- apiGroups:
- metrics.k8s.io
resources:
- pods
- nodes
verbs:
@@ -170,11 +195,26 @@
- delete
- apiGroups:
- rbac.authorization.k8s.io
resources:
- roles
- rolebindings
+ verbs:
+ - get
+ - list
+ - watch
+- apiGroups:
+ - discovery.k8s.io
+ resources:
+ - endpointslices
+ verbs:
+ - get
+ - list
+ - watch
+- apiGroups:
+ - rbac.authorization.k8s.io
+ resources:
- clusterrolebindings
- clusterroles
verbs:
- '*'
--- HelmRelease: storage/longhorn Service: storage/longhorn-conversion-webhook
+++ HelmRelease: storage/longhorn Service: storage/longhorn-conversion-webhook
@@ -1,20 +0,0 @@
----
-apiVersion: v1
-kind: Service
-metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/managed-by: Helm
- app.kubernetes.io/instance: longhorn
- app: longhorn-conversion-webhook
- name: longhorn-conversion-webhook
- namespace: storage
-spec:
- type: ClusterIP
- selector:
- longhorn.io/conversion-webhook: longhorn-conversion-webhook
- ports:
- - name: conversion-webhook
- port: 9501
- targetPort: conversion-wh
-
--- HelmRelease: storage/longhorn DaemonSet: storage/longhorn-manager
+++ HelmRelease: storage/longhorn DaemonSet: storage/longhorn-manager
@@ -20,48 +20,46 @@
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: longhorn
app: longhorn-manager
spec:
containers:
- name: longhorn-manager
- image: longhornio/longhorn-manager:v1.8.2
+ image: docker.io/longhornio/longhorn-manager:v1.11.1
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
command:
- longhorn-manager
- -d
- daemon
- --engine-image
- - longhornio/longhorn-engine:v1.8.2
+ - docker.io/longhornio/longhorn-engine:v1.11.1
- --instance-manager-image
- - longhornio/longhorn-instance-manager:v1.8.2
+ - docker.io/longhornio/longhorn-instance-manager:v1.11.1
- --share-manager-image
- - longhornio/longhorn-share-manager:v1.8.2
+ - docker.io/longhornio/longhorn-share-manager:v1.11.1
- --backing-image-manager-image
- - longhornio/backing-image-manager:v1.8.2
+ - docker.io/longhornio/backing-image-manager:v1.11.1
- --support-bundle-manager-image
- - longhornio/support-bundle-kit:v0.0.56
+ - docker.io/longhornio/support-bundle-kit:v0.0.81
- --manager-image
- - longhornio/longhorn-manager:v1.8.2
+ - docker.io/longhornio/longhorn-manager:v1.11.1
- --service-account
- longhorn-service-account
- --upgrade-version-check
ports:
- containerPort: 9500
name: manager
- - containerPort: 9501
- name: conversion-wh
- containerPort: 9502
name: admission-wh
- containerPort: 9503
name: recov-backend
readinessProbe:
httpGet:
path: /v1/healthz
- port: 9501
+ port: 9502
scheme: HTTPS
volumeMounts:
- name: boot
mountPath: /host/boot/
readOnly: true
- name: dev
@@ -93,13 +91,13 @@
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: pre-pull-share-manager-image
imagePullPolicy: IfNotPresent
- image: longhornio/longhorn-share-manager:v1.8.2
+ image: docker.io/longhornio/longhorn-share-manager:v1.11.1
command:
- sh
- -c
- echo share-manager image pulled && sleep infinity
volumes:
- name: boot
--- HelmRelease: storage/longhorn Deployment: storage/longhorn-driver-deployer
+++ HelmRelease: storage/longhorn Deployment: storage/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.8.2
+ image: docker.io/longhornio/longhorn-manager:v1.11.1
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.8.2
+ image: docker.io/longhornio/longhorn-manager:v1.11.1
imagePullPolicy: IfNotPresent
command:
- longhorn-manager
- -d
- deploy-driver
- --manager-image
- - longhornio/longhorn-manager:v1.8.2
+ - docker.io/longhornio/longhorn-manager:v1.11.1
- --manager-url
- http://longhorn-backend:9500/v1
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
@@ -52,22 +52,22 @@
fieldPath: spec.nodeName
- name: SERVICE_ACCOUNT
valueFrom:
fieldRef:
fieldPath: spec.serviceAccountName
- name: CSI_ATTACHER_IMAGE
- value: longhornio/csi-attacher:v4.9.0
+ value: docker.io/longhornio/csi-attacher:v4.11.0
- name: CSI_PROVISIONER_IMAGE
- value: longhornio/csi-provisioner:v5.3.0
+ value: docker.io/longhornio/csi-provisioner:v5.3.0-20260225
- name: CSI_NODE_DRIVER_REGISTRAR_IMAGE
- value: longhornio/csi-node-driver-registrar:v2.14.0
+ value: docker.io/longhornio/csi-node-driver-registrar:v2.16.0
- name: CSI_RESIZER_IMAGE
- value: longhornio/csi-resizer:v1.13.2
+ value: docker.io/longhornio/csi-resizer:v2.1.0
- name: CSI_SNAPSHOTTER_IMAGE
- value: longhornio/csi-snapshotter:v8.2.0
+ value: docker.io/longhornio/csi-snapshotter:v8.5.0
- name: CSI_LIVENESS_PROBE_IMAGE
- value: longhornio/livenessprobe:v2.16.0
+ value: docker.io/longhornio/livenessprobe:v2.18.0
priorityClassName: longhorn-critical
serviceAccountName: longhorn-service-account
securityContext:
runAsUser: 0
--- HelmRelease: storage/longhorn Deployment: storage/longhorn-ui
+++ HelmRelease: storage/longhorn Deployment: storage/longhorn-ui
@@ -23,24 +23,24 @@
app: longhorn-ui
spec:
serviceAccountName: longhorn-ui-service-account
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- - weight: 1
- podAffinityTerm:
+ - podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- longhorn-ui
topologyKey: kubernetes.io/hostname
+ weight: 1
containers:
- name: longhorn-ui
- image: longhornio/longhorn-ui:v1.8.2
+ image: docker.io/longhornio/longhorn-ui:v1.11.1
imagePullPolicy: IfNotPresent
volumeMounts:
- name: nginx-cache
mountPath: /var/cache/nginx/
- name: nginx-config
mountPath: /var/config/nginx/
--- HelmRelease: storage/longhorn Job: storage/longhorn-post-upgrade
+++ HelmRelease: storage/longhorn Job: storage/longhorn-post-upgrade
@@ -21,13 +21,13 @@
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.8.2
+ image: docker.io/longhornio/longhorn-manager:v1.11.1
imagePullPolicy: IfNotPresent
command:
- longhorn-manager
- post-upgrade
env:
- name: POD_NAMESPACE
--- HelmRelease: storage/longhorn Job: storage/longhorn-pre-upgrade
+++ HelmRelease: storage/longhorn Job: storage/longhorn-pre-upgrade
@@ -21,13 +21,13 @@
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.8.2
+ image: docker.io/longhornio/longhorn-manager:v1.11.1
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
command:
- longhorn-manager
- pre-upgrade
--- HelmRelease: storage/longhorn Job: storage/longhorn-uninstall
+++ HelmRelease: storage/longhorn Job: storage/longhorn-uninstall
@@ -21,13 +21,13 @@
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.8.2
+ image: docker.io/longhornio/longhorn-manager:v1.11.1
imagePullPolicy: IfNotPresent
command:
- longhorn-manager
- uninstall
- --force
env:
--- HelmRelease: storage/longhorn Role: storage/longhorn
+++ HelmRelease: storage/longhorn Role: storage/longhorn
@@ -0,0 +1,68 @@
+---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: Role
+metadata:
+ name: longhorn
+ namespace: storage
+ labels:
+ app.kubernetes.io/name: longhorn
+ app.kubernetes.io/managed-by: Helm
+ app.kubernetes.io/instance: longhorn
+rules:
+- apiGroups:
+ - ''
+ resources:
+ - pods
+ - pods/log
+ - events
+ - secrets
+ - services
+ - endpoints
+ - configmaps
+ - serviceaccounts
+ - persistentvolumeclaims
+ - persistentvolumeclaims/status
+ verbs:
+ - '*'
+- apiGroups:
+ - apps
+ resources:
+ - daemonsets
+ - deployments
+ - statefulsets
+ - replicasets
+ verbs:
+ - '*'
+- apiGroups:
+ - batch
+ resources:
+ - jobs
+ - cronjobs
+ verbs:
+ - '*'
+- apiGroups:
+ - policy
+ resources:
+ - poddisruptionbudgets
+ verbs:
+ - '*'
+- apiGroups:
+ - coordination.k8s.io
+ resources:
+ - leases
+ verbs:
+ - '*'
+- apiGroups:
+ - rbac.authorization.k8s.io
+ resources:
+ - roles
+ - rolebindings
+ verbs:
+ - '*'
+- apiGroups:
+ - discovery.k8s.io
+ resources:
+ - endpointslices
+ verbs:
+ - '*'
+
--- HelmRelease: storage/longhorn RoleBinding: storage/longhorn
+++ HelmRelease: storage/longhorn RoleBinding: storage/longhorn
@@ -0,0 +1,15 @@
+---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: RoleBinding
+metadata:
+ name: longhorn
+ namespace: storage
+roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: Role
+ name: longhorn
+subjects:
+- kind: ServiceAccount
+ name: longhorn-service-account
+ namespace: storage
+ |
bacd95d to
2e0786e
Compare
fbb3de1 to
b6526ad
Compare
72fc684 to
859e99d
Compare
da6bd75 to
029cbed
Compare
1c2ce16 to
84614dd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.8.x→1.11.xRelease Notes
longhorn/charts (longhorn)
v1.11.1Compare Source
Longhorn is a distributed block storage system for Kubernetes.
v1.11.0Compare Source
Longhorn is a distributed block storage system for Kubernetes.
v1.10.2Compare Source
Longhorn is a distributed block storage system for Kubernetes.
v1.10.1Compare Source
Longhorn is a distributed block storage system for Kubernetes.
v1.10.0Compare Source
Longhorn is a distributed block storage system for Kubernetes.
v1.9.2Compare Source
Longhorn is a distributed block storage system for Kubernetes.
v1.9.1Compare Source
Longhorn is a distributed block storage system for Kubernetes.
v1.9.0Compare Source
Longhorn is a distributed block storage system for Kubernetes.
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone Europe/Lisbon, 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.
This PR was generated by Mend Renovate. View the repository job log.