Update statefulset api version to apps/v1 (#20895)

Signed-off-by: Ciprian Hacman <ciprian.hacman@sematext.com>
This commit is contained in:
Ciprian Hacman
2020-02-20 03:41:02 -08:00
committed by GitHub
parent 82c0f17c07
commit 75f29fcb76
4 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: mysqlha
version: 1.0.0
version: 1.0.1
appVersion: 5.7.13
description: MySQL cluster with a single master and zero or more slave replicas
keywords:
+1 -1
View File
@@ -8,7 +8,7 @@ This chart bootstraps a single master and multiple slave MySQL deployment on a [
## Prerequisites
- Kubernetes 1.6+
- Kubernetes 1.10+ with Beta APIs enabled
- PV provisioner support in the underlying infrastructure
## Installing the Chart
+6 -1
View File
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ template "fullname" . }}
@@ -8,12 +8,17 @@ metadata:
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
selector:
matchLabels:
app: {{ template "fullname" . }}
release: {{ .Release.Name }}
serviceName: {{ template "fullname" . }}
replicas: {{ .Values.mysqlha.replicaCount }}
template:
metadata:
labels:
app: {{ template "fullname" . }}
release: {{ .Release.Name }}
{{- if .Values.mysqlha.podAnnotations }}
annotations:
{{ toYaml .Values.mysqlha.podAnnotations | indent 8 }}
+1 -1
View File
@@ -1,7 +1,7 @@
## mysql image version
## ref: https://hub.docker.com/r/library/mysql/tags/
##
mysqlImage: mysql:5.7.13
mysqlImage: mysql:5.7.29
xtraBackupImage: gcr.io/google-samples/xtrabackup:1.0
## Specify an imagePullPolicy (Required)