aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-07-08 06:18:06 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-08 06:18:06 +0000
commit70960464b7c11352f258e17d981a6f14f19bd07e (patch)
tree7d1d30056cbd6da48b7abf618cdb5a6924cea95f /kubernetes
parentd1635f1e74997d31a40b75106e98f877e5745f2b (diff)
parentc03c318d3848792a313d67ecfec255ad5090073f (diff)
Merge "Make COMMON/ETCD compatible with Kubernetes v1.17"
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/common/etcd/templates/statefulset.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/common/etcd/templates/statefulset.yaml b/kubernetes/common/etcd/templates/statefulset.yaml
index 96cda89c1f..fcab51cb59 100644
--- a/kubernetes/common/etcd/templates/statefulset.yaml
+++ b/kubernetes/common/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,9 @@ metadata:
spec:
serviceName: {{ include "common.servicename" .}}
replicas: {{ .Values.replicaCount }}
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
template:
metadata:
labels: