Update install.yaml

Longhorn 3772

Signed-off-by: Derek Su <derek.su@suse.com>
This commit is contained in:
Derek Su 2022-03-23 07:19:22 +00:00 committed by David Ko
parent 931a692eb9
commit dba0d38ff1

View File

@ -1291,7 +1291,10 @@ spec:
description: EngineImageSpec defines the desired state of the Longhorn engine image
properties:
image:
minLength: 1
type: string
required:
- image
type: object
status:
description: EngineImageStatus defines the observed state of the Longhorn engine image
@ -3466,6 +3469,8 @@ spec:
- name: longhorn-conversion-webhook
image: longhornio/longhorn-manager:master-head
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 2000
command:
- longhorn-manager
- conversion-webhook
@ -3524,10 +3529,15 @@ spec:
- name: wait-longhorn-conversion-webhook
image: longhornio/longhorn-manager:master-head
command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" -k https://longhorn-conversion-webhook:9443/v1/healthz) != "200" ]; do echo waiting; sleep 2; done']
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 2000
containers:
- name: longhorn-admission-webhook
image: longhornio/longhorn-manager:master-head
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 2000
command:
- longhorn-manager
- admission-webhook
@ -3544,4 +3554,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
serviceAccountName: longhorn-service-account