Fix customize default settings while upgrade/update
Longhorn 2570 Signed-off-by: Derek Su <derek.su@suse.com>
This commit is contained in:
parent
8a84fdbe38
commit
fffe1e01dc
@ -2424,6 +2424,8 @@ spec:
|
||||
apiVersion:
|
||||
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
||||
type: string
|
||||
configMapResourceVersion:
|
||||
type: string
|
||||
kind:
|
||||
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
||||
type: string
|
||||
|
@ -77,6 +77,8 @@ spec:
|
||||
fieldPath: spec.nodeName
|
||||
- name: DEFAULT_SETTING_PATH
|
||||
value: /var/lib/longhorn-setting/default-setting.yaml
|
||||
- name: DEFAULT_SETTING_CONFIGMAP
|
||||
value: longhorn-default-setting
|
||||
volumes:
|
||||
- name: dev
|
||||
hostPath:
|
||||
|
Loading…
Reference in New Issue
Block a user