chart: update webhook and crd manifests

longhorn 3562

Signed-off-by: Derek Su <derek.su@suse.com>
This commit is contained in:
Derek Su 2022-03-15 14:09:38 +08:00 committed by David Ko
parent 86688525a1
commit 37dc053972
2 changed files with 7 additions and 0 deletions

View File

@ -1132,7 +1132,10 @@ spec:
description: EngineImageSpec defines the desired state of the Longhorn engine image description: EngineImageSpec defines the desired state of the Longhorn engine image
properties: properties:
image: image:
minLength: 1
type: string type: string
required:
- image
type: object type: object
status: status:
description: EngineImageStatus defines the observed state of the Longhorn engine image description: EngineImageStatus defines the observed state of the Longhorn engine image

View File

@ -124,6 +124,10 @@ spec:
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: metadata.namespace fieldPath: metadata.namespace
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
{{- if .Values.privateRegistry.registrySecret }} {{- if .Values.privateRegistry.registrySecret }}
imagePullSecrets: imagePullSecrets:
- name: {{ .Values.privateRegistry.registrySecret }} - name: {{ .Values.privateRegistry.registrySecret }}