diff options
author | milaszki <daniel.milaszkiewicz@nokia.com> | 2020-07-07 12:13:44 +0000 |
---|---|---|
committer | milaszki <daniel.milaszkiewicz@nokia.com> | 2020-07-07 12:13:44 +0000 |
commit | c03c318d3848792a313d67ecfec255ad5090073f (patch) | |
tree | c7d600af0b4d3aa0ff5ad2c2d7a0080b9f16daf2 | |
parent | 88c4c3788d35af106d46ace89fabfb1efca1bca8 (diff) |
Make COMMON/ETCD compatible with Kubernetes v1.17
Issue-ID: OOM-2481
Signed-off-by: Daniel Milaszkiewicz <daniel.milaszkiewicz@nokia.com>
Change-Id: I3d2e249bfd158575c67eaf5600cdae1921bd3b2e
-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: |