mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
helm: add port sections to helm templates
to show what ports containers are exposing add port sections to nodeplugin and provisioner helm templates Signed-off-by: Deividas Burškaitis <deividas.burskaitis@oxylabs.io>
This commit is contained in:
parent
7064642dee
commit
91c22f521b
@ -146,6 +146,10 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: status.podIP
|
fieldPath: status.podIP
|
||||||
|
ports:
|
||||||
|
- containerPort: {{ .Values.nodeplugin.httpMetrics.containerPort }}
|
||||||
|
name: metrics
|
||||||
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
|
@ -17,6 +17,9 @@ spec:
|
|||||||
rule: RunAsAny
|
rule: RunAsAny
|
||||||
privileged: true
|
privileged: true
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
hostPorts:
|
||||||
|
- min: {{ .Values.nodeplugin.httpMetrics.containerPort }}
|
||||||
|
max: {{ .Values.nodeplugin.httpMetrics.containerPort }}
|
||||||
hostPID: true
|
hostPID: true
|
||||||
runAsUser:
|
runAsUser:
|
||||||
rule: RunAsAny
|
rule: RunAsAny
|
||||||
|
@ -192,6 +192,10 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: status.podIP
|
fieldPath: status.podIP
|
||||||
|
ports:
|
||||||
|
- containerPort: {{ .Values.provisioner.httpMetrics.containerPort }}
|
||||||
|
name: metrics
|
||||||
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
|
@ -153,6 +153,10 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: status.podIP
|
fieldPath: status.podIP
|
||||||
|
ports:
|
||||||
|
- containerPort: {{ .Values.nodeplugin.httpMetrics.containerPort }}
|
||||||
|
name: metrics
|
||||||
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
|
@ -17,6 +17,9 @@ spec:
|
|||||||
rule: RunAsAny
|
rule: RunAsAny
|
||||||
privileged: true
|
privileged: true
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
hostPorts:
|
||||||
|
- min: {{ .Values.nodeplugin.httpMetrics.containerPort }}
|
||||||
|
max: {{ .Values.nodeplugin.httpMetrics.containerPort }}
|
||||||
hostPID: true
|
hostPID: true
|
||||||
runAsUser:
|
runAsUser:
|
||||||
rule: RunAsAny
|
rule: RunAsAny
|
||||||
|
@ -229,6 +229,10 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: status.podIP
|
fieldPath: status.podIP
|
||||||
|
ports:
|
||||||
|
- containerPort: {{ .Values.provisioner.httpMetrics.containerPort }}
|
||||||
|
name: metrics
|
||||||
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
|
Loading…
Reference in New Issue
Block a user