Merge "[COMMON] new logConfiguration chart"
[oom.git] / kubernetes / cds / charts / cds-blueprints-processor / templates / deployment.yaml
index 161cf28..dbf5317 100755 (executable)
@@ -13,7 +13,7 @@
 # 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" . }}
@@ -24,6 +24,9 @@ metadata:
     release: {{ include "common.release" . }}
     heritage: {{ .Release.Service }}
 spec:
+  selector:
+    matchLabels:
+      app: {{ include "common.name" . }}
   replicas: {{ .Values.replicaCount }}
   strategy:
     type: RollingUpdate
@@ -90,7 +93,7 @@ spec:
         command:
         - chown
         - -R
-        - 100:101
+        - 1000:1000
         - /opt/app/onap/blueprints/deploy
         image: busybox:latest
         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}