Update longhorn.yaml

This commit is contained in:
tehNooB 2023-10-18 14:14:47 +01:00 committed by GitHub
parent 6e0fbc25be
commit fa20baf4cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -4147,6 +4147,8 @@ spec:
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: spec.nodeName fieldPath: spec.nodeName
nodeSelector:
longhorn: "true"
volumes: volumes:
- name: dev - name: dev
hostPath: hostPath:
@ -4230,6 +4232,8 @@ spec:
value: "longhornio/csi-snapshotter:v6.2.1" value: "longhornio/csi-snapshotter:v6.2.1"
- name: CSI_LIVENESS_PROBE_IMAGE - name: CSI_LIVENESS_PROBE_IMAGE
value: "longhornio/livenessprobe:v2.9.0" value: "longhornio/livenessprobe:v2.9.0"
nodeSelector:
longhorn: "true"
serviceAccountName: longhorn-service-account serviceAccountName: longhorn-service-account
securityContext: securityContext:
runAsUser: 0 runAsUser: 0
@ -4289,6 +4293,8 @@ spec:
value: "http://longhorn-backend:9500" value: "http://longhorn-backend:9500"
- name: LONGHORN_UI_PORT - name: LONGHORN_UI_PORT
value: "8000" value: "8000"
nodeSelector:
longhorn: "true"
volumes: volumes:
- emptyDir: {} - emptyDir: {}
name: nginx-cache name: nginx-cache