diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-08-03 15:06:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-08-03 15:06:56 +0000 |
commit | 880f44e60f26c32e4854bd428ac3c09771c37810 (patch) | |
tree | d97e5f9515ab4eb8403151f776fcee3e17b84827 /kubernetes/so/charts/so-openstack-adapter/templates/deployment.yaml | |
parent | 54210648fdc7f627b39c545ee61bb919a52f4e3b (diff) | |
parent | d1c1f6a91328bd46313ff6f50fc631cba73fb078 (diff) |
Merge "[SO] Make SO compatible with Kubernetes v1.17"
Diffstat (limited to 'kubernetes/so/charts/so-openstack-adapter/templates/deployment.yaml')
-rwxr-xr-x | kubernetes/so/charts/so-openstack-adapter/templates/deployment.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/so/charts/so-openstack-adapter/templates/deployment.yaml b/kubernetes/so/charts/so-openstack-adapter/templates/deployment.yaml index e1c2069a44..bac21cf10b 100755 --- a/kubernetes/so/charts/so-openstack-adapter/templates/deployment.yaml +++ b/kubernetes/so/charts/so-openstack-adapter/templates/deployment.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: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "common.fullname" . }} @@ -21,6 +21,9 @@ metadata: chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} release: {{ include "common.release" . }} spec: + selector: + matchLabels: + app: {{ include "common.name" . }} replicas: {{ index .Values.replicaCount }} minReadySeconds: {{ index .Values.minReadySeconds }} strategy: |