diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-07-24 08:24:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-07-24 08:24:08 +0000 |
commit | 806261be61b881504671d5a260caf194f9e650b8 (patch) | |
tree | 6e7a2da61f29d119e3bbce464e0e6954ab25d352 /kubernetes/sdnc/templates | |
parent | 7da6229b1b685d39ed9687991b9951d9ebc3ff2c (diff) | |
parent | 1318a77bff48373495773d6695af0304acccd86c (diff) |
Merge "[SDNC] Make SDNC compatible with Kubernetes v1.17"
Diffstat (limited to 'kubernetes/sdnc/templates')
-rw-r--r-- | kubernetes/sdnc/templates/statefulset.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/sdnc/templates/statefulset.yaml b/kubernetes/sdnc/templates/statefulset.yaml index a7ca81cd6d..437cb31a8e 100644 --- a/kubernetes/sdnc/templates/statefulset.yaml +++ b/kubernetes/sdnc/templates/statefulset.yaml @@ -15,7 +15,7 @@ # limitations under the License. */}} -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "common.fullname" . }} @@ -26,6 +26,9 @@ metadata: release: {{ include "common.release" . }} heritage: {{ .Release.Service }} spec: + selector: + matchLabels: + app: {{ include "common.name" . }} serviceName: {{ include "common.servicename" . }}-cluster replicas: {{ .Values.replicaCount }} podManagementPolicy: Parallel |