mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Update statefulset api version to apps/v1 (#20895)
Signed-off-by: Ciprian Hacman <ciprian.hacman@sematext.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,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)
|
||||
|
||||
Reference in New Issue
Block a user