aboutsummaryrefslogtreecommitdiffstats
path: root/deployments/helm/onap4k8s/charts/etcd/templates/statefulset.yaml
diff options
context:
space:
mode:
authorYao Le <le.yao@intel.com>2020-04-30 22:40:20 +0800
committerYao Le <le.yao@intel.com>2020-05-27 22:10:04 +0800
commit662f6d95a1461d05ad6605599f4f895b5a90f7a1 (patch)
tree853317a2116725667b8cd6c8fc4d9cb0841139ca /deployments/helm/onap4k8s/charts/etcd/templates/statefulset.yaml
parent56b6d5b88e4c5c8db7a6fbc8da113a7a205d44ae (diff)
Update the Kubernetes Version to 1.16
Update kubespray to 2.12 to deploy Kubernetes 1.16 Issue-ID: MULTICLOUD-1063 Signed-off-by: Yao Le <le.yao@intel.com> Change-Id: I537f6395e5d05d8b72411dd1e0789e19972f1947
Diffstat (limited to 'deployments/helm/onap4k8s/charts/etcd/templates/statefulset.yaml')
-rw-r--r--deployments/helm/onap4k8s/charts/etcd/templates/statefulset.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/deployments/helm/onap4k8s/charts/etcd/templates/statefulset.yaml b/deployments/helm/onap4k8s/charts/etcd/templates/statefulset.yaml
index 7190c5bc..a32f0485 100644
--- a/deployments/helm/onap4k8s/charts/etcd/templates/statefulset.yaml
+++ b/deployments/helm/onap4k8s/charts/etcd/templates/statefulset.yaml
@@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-apiVersion: apps/v1beta1
+apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ include "common.fullname" . }}
@@ -23,6 +23,12 @@ metadata:
spec:
serviceName: {{ include "common.servicename" .}}
replicas: {{ .Values.replicaCount }}
+ selector:
+ matchLabels:
+ heritage: "{{ .Release.Service }}"
+ release: "{{ .Release.Name }}"
+ chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
+ app: {{ include "common.name" . }}
template:
metadata:
labels: