longhorn: avoid webhook deadlock and forced image pulls
This commit is contained in:
parent
661deffe03
commit
c8694ad81d
@ -6,6 +6,39 @@ metadata:
|
|||||||
namespace: longhorn-system
|
namespace: longhorn-system
|
||||||
spec:
|
spec:
|
||||||
interval: 30m
|
interval: 30m
|
||||||
|
postRenderers:
|
||||||
|
- kustomize:
|
||||||
|
patches:
|
||||||
|
- target:
|
||||||
|
kind: Service
|
||||||
|
name: longhorn-conversion-webhook
|
||||||
|
namespace: longhorn-system
|
||||||
|
patch: |
|
||||||
|
- op: add
|
||||||
|
path: /spec/publishNotReadyAddresses
|
||||||
|
value: true
|
||||||
|
- target:
|
||||||
|
kind: Service
|
||||||
|
name: longhorn-admission-webhook
|
||||||
|
namespace: longhorn-system
|
||||||
|
patch: |
|
||||||
|
- op: add
|
||||||
|
path: /spec/publishNotReadyAddresses
|
||||||
|
value: true
|
||||||
|
- target:
|
||||||
|
kind: DaemonSet
|
||||||
|
name: longhorn-manager
|
||||||
|
namespace: longhorn-system
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/template/spec/containers/0/readinessProbe/httpGet/path
|
||||||
|
value: /v1/healthz
|
||||||
|
- op: replace
|
||||||
|
path: /spec/template/spec/containers/0/readinessProbe/httpGet/port
|
||||||
|
value: 9500
|
||||||
|
- op: replace
|
||||||
|
path: /spec/template/spec/containers/0/readinessProbe/httpGet/scheme
|
||||||
|
value: HTTP
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: longhorn
|
chart: longhorn
|
||||||
@ -34,7 +67,7 @@ spec:
|
|||||||
createSecret: false
|
createSecret: false
|
||||||
registrySecret: longhorn-registry
|
registrySecret: longhorn-registry
|
||||||
image:
|
image:
|
||||||
pullPolicy: Always
|
pullPolicy: IfNotPresent
|
||||||
longhorn:
|
longhorn:
|
||||||
engine:
|
engine:
|
||||||
repository: registry.bstein.dev/infra/longhorn-engine
|
repository: registry.bstein.dev/infra/longhorn-engine
|
||||||
@ -77,4 +110,4 @@ spec:
|
|||||||
repository: registry.bstein.dev/infra/longhorn-livenessprobe
|
repository: registry.bstein.dev/infra/longhorn-livenessprobe
|
||||||
tag: v2.16.0
|
tag: v2.16.0
|
||||||
defaultSettings:
|
defaultSettings:
|
||||||
systemManagedPodsImagePullPolicy: Always
|
systemManagedPodsImagePullPolicy: IfNotPresent
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user