Add component label to controller service

This commit is contained in:
Mehran Kholdi 2020-05-03 19:28:55 +04:30
parent 87dd918a74
commit b49f8304f5
2 changed files with 3 additions and 1 deletions

View File

@ -2,5 +2,5 @@ apiVersion: v2
name: rawfile-csi name: rawfile-csi
description: RawFile Driver Container Storage Interface description: RawFile Driver Container Storage Interface
type: application type: application
version: 0.1.0 version: 0.1.1
appVersion: 0.0.1 appVersion: 0.0.1

View File

@ -4,10 +4,12 @@ metadata:
name: {{ include "rawfile-csi.fullname" . }}-controller name: {{ include "rawfile-csi.fullname" . }}-controller
labels: labels:
{{- include "rawfile-csi.labels" . | nindent 4 }} {{- include "rawfile-csi.labels" . | nindent 4 }}
component: controller
spec: spec:
type: ClusterIP type: ClusterIP
selector: selector:
{{- include "rawfile-csi.selectorLabels" . | nindent 4 }} {{- include "rawfile-csi.selectorLabels" . | nindent 4 }}
component: controller
clusterIP: None clusterIP: None
--- ---
apiVersion: apps/v1 apiVersion: apps/v1