DMAAP MR changes 69/85369/3
authorsunil.unnava <sunil.unnava@att.com>
Mon, 15 Apr 2019 20:01:38 +0000 (16:01 -0400)
committerDominic Lunanuova <dgl@research.att.com>
Tue, 30 Apr 2019 16:57:00 +0000 (16:57 +0000)
Mandatory authz check for MR topic subscribe call
move ZooKeeper APIKey data directory creation to docker image
set mmagent home for logs in mirrormaker agent

Issue-ID: DMAAP-1160
Change-Id: I04cebaf8009bd1bc5e4271a3b0286d4e9aaa3eaa
Signed-off-by: sunil.unnava <sunil.unnava@att.com>
kubernetes/dmaap/components/dmaap-bc/values.yaml
kubernetes/dmaap/components/message-router/charts/message-router-kafka/values.yaml
kubernetes/dmaap/components/message-router/charts/message-router-mirrormaker/values.yaml
kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/statefulset.yaml
kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/values.yaml
kubernetes/dmaap/components/message-router/values.yaml
kubernetes/dmaap/values.yaml

index e59c4d6..5406ade 100644 (file)
@@ -30,7 +30,7 @@ pullPolicy: Always
 
 # application images
 repository: nexus3.onap.org:10001
-image: onap/dmaap/dmaap-bc:1.1.2
+image: onap/dmaap/dmaap-bc:1.1.4-STAGING-latest
 
 
 # application configuration
index 9f92610..6d78950 100644 (file)
@@ -30,7 +30,7 @@ global:
 #################################################################
 # application image
 repository: nexus3.onap.org:10001
-image: onap/dmaap/kafka111:0.0.6
+image: onap/dmaap/kafka111:1.0.0
 pullPolicy: Always
 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
 busyBoxImage: busybox:1.30
index f630e94..6d62edd 100644 (file)
@@ -30,7 +30,7 @@ global:
 #################################################################
 # application image
 repository: nexus3.onap.org:10001
-image: onap/dmaap/kafka111:0.0.6
+image: onap/dmaap/kafka111:1.0.0
 pullPolicy: Always
 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
 
index 6c15783..50b047a 100644 (file)
@@ -53,24 +53,16 @@ spec:
         {{ toYaml .Values.nodeAffinity | indent 10 }}
       {{- end }}
       initContainers:
-      - name: {{ include "common.name" . }}-seed-topics-apikeys
+      - name: {{ include "common.name" . }}-permission-fixer
         command:
-        - /bin/bash
-        - -c
+        - sh
+        - -exec
         - >
-          if [ -d /tmp/zookeeper/topics/version-2 ]; then
-          echo "nothing to do";
-          else
-          git clone -b {{ .Values.config.gerritBranch }} --single-branch {{ .Values.config.gerritProject }} /tmp/zookeeper/gerrit;
-          echo "Clone complete. Copying from /tmp/zookeeper/gerrit/oom-projects/data-zookeeper/* to /tmp/zookeeper/topics";
-          cp -var /tmp/zookeeper/gerrit/oom-topics/data-zookeeper/* /tmp/zookeeper/topics;
-          chown -R 1000:1000 /tmp/zookeeper/topics;
-          echo "Done.";
-          fi
-        image: "{{ .Values.global.ubuntuInitRepository }}/{{ .Values.ubuntuInitImage }}"
+          chown -R 1000:1000 /tmp/zookeeper/apikeys;
+        image: "{{ .Values.busyBoxRepository }}/{{ .Values.busyBoxImage }}"
         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         volumeMounts:
-        - mountPath: /tmp/zookeeper/topics
+        - mountPath: /tmp/zookeeper/apikeys
           name: zookeeper-data
       containers:
       - name: {{ include "common.name" . }}
index 22daf94..9c737e5 100644 (file)
@@ -30,9 +30,11 @@ global:
 #################################################################
 # application image
 repository: nexus3.onap.org:10001
-image: onap/dmaap/zookeeper:4.0.0
+image: onap/dmaap/zookeeper:5.0.0
 pullPolicy: Always
 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
+busyBoxImage: busybox:1.30
+busyBoxRepository: docker.io
 
 # flag to enable debugging - application support required
 debugEnabled: false
index b141207..cfd7127 100644 (file)
@@ -28,7 +28,7 @@ global:
 #################################################################
 # application image
 repository: nexus3.onap.org:10001
-image: onap/dmaap/dmaap-mr:1.1.12
+image: onap/dmaap/dmaap-mr:1.1.13
 pullPolicy: Always
 
 kafka:
index e7b39af..1c18bb2 100644 (file)
@@ -22,7 +22,7 @@ global:
   readinessImage: readiness-check:2.0.0
   loggingRepository: docker.elastic.co
   loggingImage: beats/filebeat:5.5.0
-  clientImage: onap/dmaap/dbc-client:1.0.5
+  clientImage: onap/dmaap/dbc-client:1.0.8-STAGING-latest
 # application configuration
 config:
   logstashServiceName: log-ls