From b49f8304f59997acc50da35515430ea8f3eda166 Mon Sep 17 00:00:00 2001 From: Mehran Kholdi Date: Sun, 3 May 2020 19:28:55 +0430 Subject: [PATCH] Add component label to controller service --- deploy/charts/rawfile-csi/Chart.yaml | 2 +- deploy/charts/rawfile-csi/templates/01-controller-plugin.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/charts/rawfile-csi/Chart.yaml b/deploy/charts/rawfile-csi/Chart.yaml index 6ce1b5e..ac7775c 100644 --- a/deploy/charts/rawfile-csi/Chart.yaml +++ b/deploy/charts/rawfile-csi/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: rawfile-csi description: RawFile Driver Container Storage Interface type: application -version: 0.1.0 +version: 0.1.1 appVersion: 0.0.1 diff --git a/deploy/charts/rawfile-csi/templates/01-controller-plugin.yaml b/deploy/charts/rawfile-csi/templates/01-controller-plugin.yaml index eac219d..d3be0c0 100644 --- a/deploy/charts/rawfile-csi/templates/01-controller-plugin.yaml +++ b/deploy/charts/rawfile-csi/templates/01-controller-plugin.yaml @@ -4,10 +4,12 @@ metadata: name: {{ include "rawfile-csi.fullname" . }}-controller labels: {{- include "rawfile-csi.labels" . | nindent 4 }} + component: controller spec: type: ClusterIP selector: {{- include "rawfile-csi.selectorLabels" . | nindent 4 }} + component: controller clusterIP: None --- apiVersion: apps/v1