diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-07-10 14:40:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-07-10 14:40:51 +0000 |
commit | 85ba9615ed6d06f6cb86dbe5a076a76103e70990 (patch) | |
tree | bf0c3380050a18a766a4c4ae8970a614eb75da0c /kubernetes/contrib/components/awx/charts/awx-postgres/templates/deployment.yaml | |
parent | 825d39a97c337afe93bafd45050bf48ca635efbd (diff) | |
parent | 9fd041e7461c0681a59579323485f669355a68e9 (diff) |
Merge "Make CONTRIB compatible with Kubernetes v1.17"
Diffstat (limited to 'kubernetes/contrib/components/awx/charts/awx-postgres/templates/deployment.yaml')
-rwxr-xr-x | kubernetes/contrib/components/awx/charts/awx-postgres/templates/deployment.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/contrib/components/awx/charts/awx-postgres/templates/deployment.yaml b/kubernetes/contrib/components/awx/charts/awx-postgres/templates/deployment.yaml index 56315285cd..6b3ca1a9d0 100755 --- a/kubernetes/contrib/components/awx/charts/awx-postgres/templates/deployment.yaml +++ b/kubernetes/contrib/components/awx/charts/awx-postgres/templates/deployment.yaml @@ -14,7 +14,7 @@ # limitations under the License. */}} -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "common.fullname" . }} @@ -26,6 +26,9 @@ metadata: heritage: {{ .Release.Service }} spec: replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: {{ include "common.name" . }} template: metadata: labels: |