longhorn: avoid webhook deadlock and forced image pulls
This commit is contained in:
parent
083999c84c
commit
f04f032721
@ -6,6 +6,39 @@ metadata:
|
||||
namespace: longhorn-system
|
||||
spec:
|
||||
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:
|
||||
spec:
|
||||
chart: longhorn
|
||||
@ -34,7 +67,7 @@ spec:
|
||||
createSecret: false
|
||||
registrySecret: longhorn-registry
|
||||
image:
|
||||
pullPolicy: Always
|
||||
pullPolicy: IfNotPresent
|
||||
longhorn:
|
||||
engine:
|
||||
repository: registry.bstein.dev/infra/longhorn-engine
|
||||
@ -77,4 +110,4 @@ spec:
|
||||
repository: registry.bstein.dev/infra/longhorn-livenessprobe
|
||||
tag: v2.16.0
|
||||
defaultSettings:
|
||||
systemManagedPodsImagePullPolicy: Always
|
||||
systemManagedPodsImagePullPolicy: IfNotPresent
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user