summaryrefslogtreecommitdiffstats
path: root/kubernetes/multicloud/charts/multicloud-starlingx/templates
diff options
context:
space:
mode:
authorliboNet <libo.zhu@intel.com>2019-04-30 09:26:11 +0800
committerAlexis de Talhouƫt <adetalhouet89@gmail.com>2019-05-10 17:39:06 +0000
commit4b81b5a6a5c420121c27fe5ff3f54cfcc86a6132 (patch)
tree79318669c3b66c00ec9d0e781fe91b9b43cdcc4a /kubernetes/multicloud/charts/multicloud-starlingx/templates
parent6e520f189fbd1cfab2359763e454eff07bbc68a6 (diff)
integrate artifact broker into multicloud plugins
add config.json for each multicloud plugin update deployment to add it as sidecar update the values.yaml of multicloud to store image name remove the hardcode namespace fix typo and use 1.3.1 image tag Change-Id: I6cc9e381ea655b1d75760b013d2be693b0c0575c Issue-ID: MULTICLOUD-597 Signed-off-by: liboNet <libo.zhu@intel.com>
Diffstat (limited to 'kubernetes/multicloud/charts/multicloud-starlingx/templates')
-rw-r--r--kubernetes/multicloud/charts/multicloud-starlingx/templates/deployment.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/kubernetes/multicloud/charts/multicloud-starlingx/templates/deployment.yaml b/kubernetes/multicloud/charts/multicloud-starlingx/templates/deployment.yaml
index 0ccc3f9f95..62bacd7da5 100644
--- a/kubernetes/multicloud/charts/multicloud-starlingx/templates/deployment.yaml
+++ b/kubernetes/multicloud/charts/multicloud-starlingx/templates/deployment.yaml
@@ -61,6 +61,8 @@ spec:
- mountPath: /opt/starlingx/starlingx/pub/config/log.yml
name: starlingx-logconfig
subPath: log.yml
+ - mountPath: /opt/artifacts/
+ name: artifact-data
resources:
{{ include "common.resources" . | indent 12 }}
image: "{{ include "common.repository" . }}/{{ .Values.image }}"
@@ -93,6 +95,19 @@ spec:
name: starlingx-log
- mountPath: /usr/share/filebeat/data
name: starlingx-data-filebeat
+ - image: "{{ include "common.repository" . }}/{{ .Values.global.artifactImage }}"
+ name: framework-artifactbroker
+ command: ["/opt/app/distribution/bin/artifact-dist.sh"]
+ args: ["/opt/app/distribution/etc/mounted/config.json"]
+ ports:
+ - containerPort: 9014
+ protocol: TCP
+ volumeMounts:
+ - mountPath: /opt/app/distribution/etc/mounted/config.json
+ name: starlingx-logconfig
+ subPath: config.json
+ - mountPath: /data
+ name: artifact-data
volumes:
- name: starlingx-log
@@ -105,6 +120,8 @@ spec:
- name: starlingx-logconfig
configMap:
name: {{ include "common.fullname" . }}-log-configmap
+ - name: artifact-data
+ emptyDir: {}
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"
restartPolicy: Always