diff --git a/chart/templates/crds.yaml b/chart/templates/crds.yaml index c327dbe..893ed56 100644 --- a/chart/templates/crds.yaml +++ b/chart/templates/crds.yaml @@ -1132,7 +1132,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 diff --git a/chart/templates/deployment-webhook.yaml b/chart/templates/deployment-webhook.yaml index 59ec311..ce61cdc 100644 --- a/chart/templates/deployment-webhook.yaml +++ b/chart/templates/deployment-webhook.yaml @@ -124,6 +124,10 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace + - name: NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName {{- if .Values.privateRegistry.registrySecret }} imagePullSecrets: - name: {{ .Values.privateRegistry.registrySecret }}