diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-07-08 06:18:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-07-08 06:18:06 +0000 |
commit | 70960464b7c11352f258e17d981a6f14f19bd07e (patch) | |
tree | 7d1d30056cbd6da48b7abf618cdb5a6924cea95f | |
parent | d1635f1e74997d31a40b75106e98f877e5745f2b (diff) | |
parent | c03c318d3848792a313d67ecfec255ad5090073f (diff) |
Merge "Make COMMON/ETCD compatible with Kubernetes v1.17"
-rw-r--r-- | kubernetes/common/etcd/templates/statefulset.yaml | 5 |
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: |