diff options
author | Yang Xu <yang.xu3@huawei.com> | 2019-05-25 01:58:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-25 01:58:18 +0000 |
commit | 8aad0bbda98e98b5a9688cd0ccba79b62298a817 (patch) | |
tree | cb2bbf8b6335515193096348f5b875a332c2a33e /kubernetes/multicloud/charts/multicloud-k8s/templates | |
parent | 22726b5728a5ce4559e0cdc35830f61f3858e392 (diff) | |
parent | 80f587ac27c3dfc4f4ee4509f140d080b6e65583 (diff) |
Merge "update artifactbroker for multicloud plugins"
Diffstat (limited to 'kubernetes/multicloud/charts/multicloud-k8s/templates')
-rw-r--r-- | kubernetes/multicloud/charts/multicloud-k8s/templates/deployment.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/kubernetes/multicloud/charts/multicloud-k8s/templates/deployment.yaml b/kubernetes/multicloud/charts/multicloud-k8s/templates/deployment.yaml index 846a751336..b8e0e5c3ac 100644 --- a/kubernetes/multicloud/charts/multicloud-k8s/templates/deployment.yaml +++ b/kubernetes/multicloud/charts/multicloud-k8s/templates/deployment.yaml @@ -69,6 +69,20 @@ spec: affinity: {{ toYaml .Values.affinity | indent 10 }} {{- end }} + - 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: {{ .Values.artifactbroker.internalPort }} + protocol: TCP + volumeMounts: + - mountPath: /opt/app/distribution/etc/mounted/config.json + name: {{ include "common.name" .}} + subPath: config.json + - mountPath: /data + name: artifact-data + volumes: - name: localtime hostPath: @@ -76,5 +90,7 @@ spec: - name : {{ include "common.name" . }} configMap: name: {{ include "common.fullname" . }} + - name: artifact-data + emptyDir: {} imagePullSecrets: - name: "{{ include "common.namespace" . }}-docker-registry-key" |